Example #1
0
 private void UpdateVideoInfo()
 {
     using (FFmpegCLIManager ffmpeg = new FFmpegCLIManager(FFmpegPath))
     {
         VideoInfo = ffmpeg.GetVideoInfo(MediaPath);
     }
 }
Example #2
0
        public VideoThumbnailer(string mediaPath, string ffmpegPath, VideoThumbnailOptions options)
        {
            MediaPath  = mediaPath;
            FFmpegPath = ffmpegPath;
            Options    = options;

            using (FFmpegCLIManager ffmpegCLI = new FFmpegCLIManager(FFmpegPath))
            {
                VideoInfo = ffmpegCLI.GetVideoInfo(MediaPath);
            }
        }
Example #3
0
        public VideoThumbnailer(string mediaPath, string ffmpegPath, VideoThumbnailOptions options)
        {
            MediaPath = mediaPath;
            FFmpegPath = ffmpegPath;
            Options = options;

            using (FFmpegCLIManager ffmpegCLI = new FFmpegCLIManager(FFmpegPath))
            {
                VideoInfo = ffmpegCLI.GetVideoInfo(MediaPath);
            }
        }