Example #1
0
        public Thumbnailer(MediaFile mf, string ssDir, ProfileOptions options)
        {
            MediaFile = mf;

            ScreenshotDir = ssDir;
            Options       = options;

            TimeSlice = GetTimeSlice(Options.ScreenshotCount);
            for (int i = 1; i < Options.ScreenshotCount + 2; i++)
            {
                MediaSeekTimes.Add(GetTimeSlice(Options.ScreenshotCount, 2) * i);
            }
        }
Example #2
0
 public FFmpegThumbnailer(MediaFile mf, string ssDir, ProfileOptions options)
     : base(mf, ssDir, options)
 {
     ThumbnailerPath = App.Settings.FFmpegPath;
 }