Fix RIFE VS syntax for new version

This commit is contained in:
N00MKRAD 2023-10-27 09:54:34 +02:00
parent 2886d5ce42
commit b782c8334d
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ namespace Flowframes.Os
if (sc)
l.Add($"clip = core.misc.SCDetect(clip=clip, threshold={s.SceneDetectSensitivity.ToStringDot()})"); // Scene detection
l.Add($"clip = core.rife.RIFE(clip, multiplier={s.Factor.ToStringDot()}, model_path={mdlPath}, gpu_id={s.GpuId}, gpu_thread={s.GpuThreads}, tta={s.Tta}, uhd={s.Uhd}, sc={sc})"); // Interpolate
Fraction outFps = s.InterpSettings.inFps * s.Factor;
l.Add($"clip = core.rife.RIFE(clip, fps_num={outFps.Numerator}, fps_den={outFps.Denominator}, model_path={mdlPath}, gpu_id={s.GpuId}, gpu_thread={s.GpuThreads}, tta={s.Tta}, uhd={s.Uhd}, sc={sc})"); // Interpolate
if (s.Dedupe && !s.Realtime)
l.Add(GetRedupeLines(s));