예제 #1
0
        public override IVideoFileWriter GetVideoFileWriter(VideoWriterArgs Args)
        {
            Args.FileName = _linkFunction();

            return(_baseItem.GetVideoFileWriter(Args, "-g 20 -r 10 -f flv"));
        }
예제 #2
0
 public virtual IVideoFileWriter GetVideoFileWriter(VideoWriterArgs Args)
 {
     return(new FFmpegWriter(FFmpegVideoWriterArgs.FromVideoWriterArgs(Args, _videoArgsProvider, _audioArgsProvider)));
 }
예제 #3
0
 public IVideoFileWriter GetVideoFileWriter(VideoWriterArgs Args)
 {
     return(new FFmpegPostProcessingWriter(FFmpegVideoWriterArgs.FromVideoWriterArgs(Args, _videoArgsProvider, _audioArgsProvider)));
 }
예제 #4
0
 public override IVideoFileWriter GetVideoFileWriter(VideoWriterArgs Args)
 {
     return(new FFmpegPostProcessingWriter(FFmpegVideoWriterArgs.FromVideoWriterArgs(Args, this)));
 }
예제 #5
0
 public IVideoFileWriter GetVideoFileWriter(VideoWriterArgs Args)
 {
     return(new DiscardWriter());
 }
예제 #6
0
        public override IVideoFileWriter GetVideoFileWriter(VideoWriterArgs Args)
        {
            Args.FileName = _linkFunction();

            return(_baseItem.GetVideoFileWriter(Args, $"-g {Args.FrameRate * 2} -r {Args.FrameRate} -f flv"));
        }
예제 #7
0
        public IVideoFileWriter GetVideoFileWriter(VideoWriterArgs Args)
        {
            var repeat = _settings.Repeat ? _settings.RepeatCount : -1;

            return(new GifWriter(Args.FileName, Args.FrameRate, repeat));
        }