Dedupe: Require at least 240 frames as input to consider disabling it based on percentage

This commit is contained in:
n00mkrad
2025-06-28 22:38:59 +02:00
parent 2d2a29fb1f
commit 62d6e11506

View File

@@ -309,7 +309,7 @@ namespace Flowframes.Magick
Logger.Log($"Dedupe: Factor is 1, will not redupe; overriding factor to {frameCount}/{inputFrames.Count} = {Interpolate.currentSettings.interpFactor.ToString("0.######")}", true);
}
if (keepPercentage > 85f)
if (inputFrames.Count > 240 && keepPercentage > 85f)
{
Logger.Log("Deduplication: Less than 15% duplicate frames detected; disabling for this video.");
Interpolate.currentSettings.dedupe = false;