<?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_ReplaceMultiple</id>
	<title>Vapoursynth ReplaceMultiple - 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_ReplaceMultiple"/>
	<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_ReplaceMultiple&amp;action=history"/>
	<updated>2026-11-20T06:29:28Z</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_ReplaceMultiple&amp;diff=608&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_ReplaceMultiple&amp;diff=608&amp;oldid=prev"/>
		<updated>2026-11-16T08:51:54Z</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;ReplaceMultiple&amp;#039;&amp;#039;&amp;#039; replaces ranges of consecutive frames with frames interpolated between the frame before and the frame after each range.&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_ReplaceMultiple.png|none|ReplaceMultiple controls in Hybrid]]&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
Each range is given as [first, last]. All frames in it are rebuilt from the frame just before and the frame just after the range; for example [5, 6] is rebuilt from frames 4 and 7. A range can be 1 to 10 frames long. The clip keeps its length and frame rate. For single frames, [[Vapoursynth ReplaceSingle|ReplaceSingle]] is simpler.&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;
| Frames || intervals || ranges, e.g. &amp;lt;code&amp;gt;[1, 3], [100, 100]&amp;lt;/code&amp;gt; || empty || Ranges to replace, each 1–10 frames, not touching the first or last frame of the clip. Empty = the filter does nothing.&lt;br /&gt;
|-&lt;br /&gt;
| Method || method || mv, svp, svp_gpu, rife || mv || Interpolator: MVTools, SVP on the CPU, SVP on the GPU, or RIFE.&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 || Writes the method and the range start onto the interpolated frames 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;
Frames &amp;lt;code&amp;gt;[100, 101], [200, 200]&amp;lt;/code&amp;gt; (the field is empty by default, which writes nothing), otherwise default settings, on a 10-bit YUV 4:2:0 source (640x356):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from ReplaceMultipleFrames import ReplaceMultipleFrames&lt;br /&gt;
fmf = ReplaceMultipleFrames(clip=clip, intervals=[[100, 101], [200, 200]], method=&amp;quot;mv&amp;quot;, tools={&amp;#039;mv&amp;#039;: &amp;#039;mvutensils&amp;#039;})&lt;br /&gt;
clip = fmf.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.&lt;br /&gt;
* The ranges are passed as entered. A range longer than 10 frames, or one that touches the first or last frame, stops the script with an error.&lt;br /&gt;
* RIFE options are only written 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;
== 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>