예제 #1
0
 public FFmpegPostProcessingItem(string Name, string extension, FFmpegVideoArgsProvider videoArgsProvider, FFmpegAudioArgsProvider audioArgsProvider)
 {
     _name = Name;
     _videoArgsProvider = videoArgsProvider;
     _audioArgsProvider = audioArgsProvider;
     Extension          = extension;
 }
 public FFmpegPostProcessingItem(string Name, string Extension, FFmpegVideoArgsProvider VideoArgsProvider, FFmpegAudioArgsProvider AudioArgsProvider)
 {
     _name = Name;
     _videoArgsProvider = VideoArgsProvider;
     _audioArgsProvider = AudioArgsProvider;
     this.Extension     = Extension;
 }
예제 #3
0
 private FFmpegItem(string Name, Func <string> Extension, FFmpegVideoArgsProvider VideoArgsProvider, FFmpegAudioArgsProvider AudioArgsProvider, string Description = "")
     : this(Name, Extension, Description)
 {
     _videoArgsProvider = VideoArgsProvider;
     _audioArgsProvider = AudioArgsProvider;
 }
예제 #4
0
 public static FFmpegVideoWriterArgs FromVideoWriterArgs(VideoWriterArgs args, FFmpegVideoArgsProvider videoArgsProvider, FFmpegAudioArgsProvider audioArgsProvider)
 {
     return(new FFmpegVideoWriterArgs
     {
         FileName = args.FileName,
         ImageProvider = args.ImageProvider,
         FrameRate = args.FrameRate,
         VideoQuality = args.VideoQuality,
         VideoArgsProvider = videoArgsProvider,
         AudioQuality = args.AudioQuality,
         AudioArgsProvider = audioArgsProvider,
         AudioProvider = args.AudioProvider
     });
 }
예제 #5
0
 FFmpegItem(string Name, Func <string> Extension, FFmpegVideoArgsProvider VideoArgsProvider, FFmpegAudioArgsProvider AudioArgsProvider)
     : this(Name, Extension)
 {
     _videoArgsProvider = VideoArgsProvider;
     _audioArgsProvider = AudioArgsProvider;
 }
예제 #6
0
 public static FFmpegVideoWriterArgs FromVideoWriterArgs(VideoWriterArgs Args, FFmpegVideoArgsProvider VideoArgsProvider, FFmpegAudioArgsProvider AudioArgsProvider)
 {
     return(new FFmpegVideoWriterArgs
     {
         FileName = Args.FileName,
         ImageProvider = Args.ImageProvider,
         FrameRate = Args.FrameRate,
         VideoQuality = Args.VideoQuality,
         VideoArgsProvider = VideoArgsProvider,
         AudioQuality = Args.AudioQuality,
         AudioArgsProvider = AudioArgsProvider,
         AudioProvider = Args.AudioProvider,
         keyVector = Args.keyVector
     });
 }