mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Dedupe: Require at least 240 frames as input to consider disabling it based on percentage
This commit is contained in:
@@ -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);
|
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.");
|
Logger.Log("Deduplication: Less than 15% duplicate frames detected; disabling for this video.");
|
||||||
Interpolate.currentSettings.dedupe = false;
|
Interpolate.currentSettings.dedupe = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user