예제 #1
0
        internal static async Task RefreshAsync(this VideoInfo video)
        {
            var ffmpeg = new FFMpeg(Core.Logger);
            await ffmpeg.RefreshAsync(video);

            var a = 1;
        }
예제 #2
0
        public static async Task <VideoInfo> ConvertToAsync(this VideoInfo video, VideoConvertInfo newfile)
        {
            var ffmpeg = new FFMpeg(Logger);

            return(await ffmpeg.ConvertToAsync(video, newfile));
        }
예제 #3
0
 public static async Task GenerateAudioAsync(this VideoInfo video, System.IO.FileInfo audiofile, AudioEncodingEnum audioEncoding = AudioEncodingEnum.mp3, SoundTypeEnum channels = SoundTypeEnum.Stereo, int audioBitRate = 128, int audioFrequency = 44100)
 {
     var ffmpeg = new FFMpeg(Logger);
     await ffmpeg.GenerateAudioAsync(video, audiofile, audioEncoding, channels, audioBitRate, audioFrequency);
 }
예제 #4
0
 public static async Task GenerateImageAsync(this VideoInfo video, System.IO.FileInfo imageFile, int width, int height)
 {
     var ffmpeg = new FFMpeg(Logger);
     await ffmpeg.GenerateImageAsync(video, imageFile, width, height);
 }