WIP: VFR Dedupe - Added code to create timecode file

This commit is contained in:
N00MKRAD
2020-11-24 02:23:19 +01:00
parent c20c8f75ec
commit 4623aa149b
9 changed files with 74 additions and 38 deletions

View File

@@ -30,7 +30,7 @@ namespace Flowframes.Main
}
await Task.Delay(10);
if(Config.GetInt("timingMode") == 1)
await FrameDedup.Reduplicate(path);
await MagickDedupe.Reduplicate(path);
Program.mainForm.SetStatus("Creating output video from frames...");
try
{
@@ -61,7 +61,7 @@ namespace Flowframes.Main
if (new DirectoryInfo(framesPath).GetFiles()[0].Extension != ".png")
{
Logger.Log("Converting output frames to PNG to encode with Gifski...");
await Coverter.Convert(framesPath, ImageMagick.MagickFormat.Png00, 20, "png", false);
await Converter.Convert(framesPath, ImageMagick.MagickFormat.Png00, 20, "png", false);
}
await GifskiCommands.CreateGifFromFrames(i.currentOutFps.RoundToInt(), Config.GetInt("gifskiQ"), framesPath, outPath);
}