Skip to content

Commit

Permalink
changed dedup threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
f0e committed Oct 26, 2021
1 parent 188dd60 commit 7ec51d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blur/script_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void c_script_handler::create(const std::string& temp_path, const std::string& v

// replace duplicate frames with new frames which are interpolated based off of the surrounding frames
if (settings.deduplicate)
video_script << "video = filldrops.FillDrops(video)" << "\n";
video_script << "video = filldrops.FillDrops(video, thresh=0.001)" << "\n";

// input timescale
if (settings.input_timescale != 1.f)
Expand Down
2 changes: 1 addition & 1 deletion plugins/filldrops.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import vapoursynth as vs
from vapoursynth import core

def FillDrops(clip, thresh=0.0001):
def FillDrops(clip, thresh=0.1):
if not isinstance(clip, vs.VideoNode):
raise ValueError('This is not a clip')

Expand Down

0 comments on commit 7ec51d5

Please sign in to comment.