internal static async Task RefreshAsync(this VideoInfo video) { var ffmpeg = new FFMpeg(Core.Logger); await ffmpeg.RefreshAsync(video); var a = 1; }
public static async Task <VideoInfo> ConvertToAsync(this VideoInfo video, VideoConvertInfo newfile) { var ffmpeg = new FFMpeg(Logger); return(await ffmpeg.ConvertToAsync(video, newfile)); }
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); }
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); }