From b782c8334d789587412b0a88f39ef6b14fa6ea84 Mon Sep 17 00:00:00 2001 From: N00MKRAD <61149547+n00mkrad@users.noreply.github.com> Date: Fri, 27 Oct 2023 09:54:34 +0200 Subject: [PATCH] Fix RIFE VS syntax for new version --- Code/Os/VapourSynthUtils.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Os/VapourSynthUtils.cs b/Code/Os/VapourSynthUtils.cs index ccb626e..6998567 100644 --- a/Code/Os/VapourSynthUtils.cs +++ b/Code/Os/VapourSynthUtils.cs @@ -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));