public EncoderArgument(Libs.Overwrite _overwrite, FileInfo inputFile, Libs.VCodec vC, Libs.ACodec aC, Libs.Tune _tuner, Libs.Preset _preset, Libs.Frames frames, Libs.Size res, string outputDir, string fileName, Libs.VideoFileExtensions fileExt)
 {
     overwrite       = _overwrite;
     this.inputFile  = inputFile;
     vCodec          = vC;
     aCodec          = aC;
     tuner           = _tuner;
     preset          = _preset;
     fps             = frames;
     this.res        = res;
     outputFolder    = outputDir;
     outputName      = fileName;
     outputExtension = fileExt;
 }
Esempio n. 2
0
 public void Add(Libs.Overwrite overwrite, FileInfo originalFile, Libs.VCodec vCodec, Libs.ACodec aCodec, Libs.Tune tuner, Libs.Preset preset, Libs.Frames fps, Libs.Size res, Libs.VideoFileExtensions ext) =>
 queue.Enqueue(new EncoderArgument(overwrite, originalFile, vCodec, aCodec, tuner, preset, fps, res, outputFolder, Path.GetFileNameWithoutExtension(originalFile.Name), ext));