Added 4x/8x support for RIFE-NCNN, added CFR/VFR option

This commit is contained in:
N00MKRAD
2020-11-26 00:07:45 +01:00
parent fb30d7230d
commit 6b0797f11c
12 changed files with 160 additions and 24 deletions

View File

@@ -133,6 +133,8 @@ namespace Flowframes
if (Config.GetInt("dedupMode") == 1)
await MagickDedupe.Run(framesPath);
if (canceled) return;
if (Config.GetInt("timingMode") == 1 && Config.GetInt("dedupMode") != 0)
await VfrDedupe.CreateTimecodeFile(framesPath, Config.GetBool("enableLoop"), interpFactor, firstFrameFix);
@@ -161,7 +163,7 @@ namespace Flowframes
await AiProcess.RunRifeCuda(framesPath, interpFactor);
if (ai.aiName == Networks.rifeNcnn.aiName)
await AiProcess.RunRifeNcnn(framesPath, outpath, interpFactor, tilesize);
await AiProcess.RunRifeNcnnMulti(framesPath, outpath, tilesize, interpFactor);
}
public static async void GetProgressByFrameAmount(string outdir, int target)