public ProcessManagerFactory(IFFmpegConfig config, IFFmpegParser ffmpegParser, IProcessFactory processFactory, IFileSystemService fileSystemService) { this.Config = config ?? new FFmpegConfig(); this.Parser = ffmpegParser ?? new FFmpegParser(); this.ProcessFactory = processFactory ?? new ProcessFactory(); this.FileSystemService = fileSystemService ?? new FileSystemService(); }
public ProcessManager(IFFmpegConfig config, IFFmpegParser ffmpegParser, IProcessFactory processFactory, IFileSystemService fileSystemService, ProcessOptions options = null) { this.Config = config ?? throw new ArgumentNullException(nameof(config)); this.parser = ffmpegParser ?? throw new ArgumentNullException(nameof(ffmpegParser)); this.factory = processFactory ?? throw new ArgumentNullException(nameof(processFactory)); this.fileSystem = fileSystemService ?? throw new ArgumentNullException(nameof(fileSystem)); this.Options = options ?? new ProcessOptions(); }
public FFmpegWrapper(IFFmpegConfig config) { _config = config; }
public ProcessManagerAvs(IFFmpegConfig config, IFFmpegParser ffmpegParser, IProcessFactory processFactory, IFileSystemService fileSystemService, ProcessOptions options = null) : base(config, ffmpegParser, processFactory, fileSystemService, options) { OutputType = ProcessOutput.None; }
public ProcessManagerFFmpeg(IFFmpegConfig config, IFFmpegParser ffmpegParser, IProcessFactory processFactory, IFileSystemService fileSystemService, ProcessOptionsFFmpeg options = null) : base(config, ffmpegParser, processFactory, fileSystemService, options ?? new ProcessOptionsFFmpeg()) { OutputType = ProcessOutput.Error; }