<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.selur.net/index.php?action=history&amp;feed=atom&amp;title=Vapoursynth_FillDrops</id>
	<title>Vapoursynth FillDrops - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.selur.net/index.php?action=history&amp;feed=atom&amp;title=Vapoursynth_FillDrops"/>
	<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_FillDrops&amp;action=history"/>
	<updated>2026-11-19T06:24:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.selur.net/index.php?title=Vapoursynth_FillDrops&amp;diff=524&amp;oldid=prev</id>
		<title>Selur: New filter page (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_FillDrops&amp;diff=524&amp;oldid=prev"/>
		<updated>2026-11-16T08:49:18Z</updated>

		<summary type="html">&lt;p&gt;New filter page (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;float:right; margin:0 0 1em 1em;&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;FillDrops&amp;#039;&amp;#039;&amp;#039; finds single frames that repeat their predecessor because the real frame was lost (a &amp;quot;drop&amp;quot;) and replaces them with a frame interpolated from their two neighbors.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Filtering → Vapoursynth → Frame → Replace&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Vapoursynth_FillDrops.png|none|FillDrops controls in Hybrid]]&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
A frame counts as a duplicate when its luma differs from the previous frame by no more than &amp;#039;&amp;#039;Threshold&amp;#039;&amp;#039;. FillDrops only handles isolated duplicates: the frame before must not be a duplicate itself, and the frames around it must not be a scene change. The duplicate is then rebuilt by interpolating between the frames before and after it. Runs of several repeated frames are left alone – use [[Vapoursynth FillDuplicateFrames|FillDuplicateFrames]] for those.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* svp, svp_gpu: SVP must be installed (only then are they listed).&lt;br /&gt;
* rife: a Vulkan-capable GPU.&lt;br /&gt;
* mv: CPU; the mvgpu implementation needs Vulkan.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Control !! Parameter !! Range / values !! Hybrid default !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| Threshold || thresh || 0.0001 – 1 || 0.001 || Largest normalized luma difference to the previous frame that still counts as a duplicate. Must stay below SCD, otherwise nothing is replaced.&lt;br /&gt;
|-&lt;br /&gt;
| Method || method || mv, svp, svp_gpu, rife || svp (mv without SVP) || Interpolator: MVTools, SVP on the CPU, SVP on the GPU, or RIFE. Without SVP the svp methods are not offered.&lt;br /&gt;
|-&lt;br /&gt;
| SCD || sceneThr || 0 – 1 || 0.15 || Scene change threshold (normalized luma difference) for all methods; nothing is interpolated across a cut. 0 = off.&lt;br /&gt;
|-&lt;br /&gt;
| RIFE: Model || – || RIFE models || rife-v4.5 (ensemble) || RIFE model (method rife).&lt;br /&gt;
|-&lt;br /&gt;
| RIFE: TTA / UHD || – || on/off || off / off || Test-time augmentation (not available for v4 models); UHD mode for large frames (method rife).&lt;br /&gt;
|-&lt;br /&gt;
| Debug || debug || on/off || off || Shows the detection in the preview.&lt;br /&gt;
|-&lt;br /&gt;
| Tools: MV || – || mvgpu, mvutensils, mv || – || MVTools implementation (method mv).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Default settings on a 10-bit YUV 4:2:0 source (640x356):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# adjusting color space from YUV420P10 to YUV420P8 for vsFillDrops&lt;br /&gt;
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, dither_type=&amp;quot;error_diffusion&amp;quot;)&lt;br /&gt;
from FillDuplicateFrames import FillDuplicateFrames&lt;br /&gt;
fdf = FillDuplicateFrames(clip=clip, mode=&amp;quot;FillDrops&amp;quot;, method=&amp;quot;svp&amp;quot;, tools={&amp;#039;mv&amp;#039;: &amp;#039;mvutensils&amp;#039;})&lt;br /&gt;
clip = fdf.out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How Hybrid calls it ==&lt;br /&gt;
* Color formats: svp and svp_gpu work on 8-bit YUV 4:2:0, mv on 8–16-bit YUV, rife on 32-bit float RGB; the clip is converted as needed. FillDrops is not offered for interlaced material.&lt;br /&gt;
* Threshold and SCD are normalized values and do not depend on the bit depth. Options are only written when they differ from the defaults; RIFE options only for method rife.&lt;br /&gt;
* Replaced frames keep the frame properties (such as the frame duration) of the original frame.&lt;br /&gt;
* Frame count and frame rate do not change.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Origin ===&lt;br /&gt;
The name comes from Didée&amp;#039;s AviSynth script FillDrops. Hybrid&amp;#039;s Vapoursynth version shares its detection and interpolation with [[Vapoursynth FillDuplicateFrames|FillDuplicateFrames]] and [[Vapoursynth ReplaceSingle|ReplaceSingle]].&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* [https://github.com/Selur/VapoursynthScriptsInHybrid VapoursynthScriptsInHybrid] (the script collection Hybrid uses)&lt;br /&gt;
* [https://github.com/styler00dollar/VapourSynth-RIFE-ncnn-Vulkan VapourSynth-RIFE-ncnn-Vulkan]&lt;br /&gt;
* [https://github.com/dubhater/vapoursynth-mvtools vapoursynth-mvtools]&lt;br /&gt;
* Hybrid&amp;#039;s tooltips&lt;br /&gt;
&lt;br /&gt;
[[Category:Vapoursynth Filters]]&lt;/div&gt;</summary>
		<author><name>Selur</name></author>
	</entry>
</feed>