<?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_DuplicateFrames</id>
	<title>Vapoursynth DuplicateFrames - 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_DuplicateFrames"/>
	<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_DuplicateFrames&amp;action=history"/>
	<updated>2026-11-19T08:08:39Z</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_DuplicateFrames&amp;diff=517&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_DuplicateFrames&amp;diff=517&amp;oldid=prev"/>
		<updated>2026-11-16T08:49:12Z</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;DuplicateFrames&amp;#039;&amp;#039;&amp;#039; takes a list of frame numbers and replaces the frame after each listed frame with a copy of the listed frame.&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_DuplicateFrames.png|none|DuplicateFrames controls in Hybrid]]&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
For every listed frame N, frame N+1 is overwritten by a copy of N. Nothing is inserted: the clip keeps its length and frame rate. A typical use is hiding a single broken frame by repeating its predecessor (list the frame before the broken one). To rebuild a broken frame from both neighbors instead, use [[Vapoursynth ReplaceSingle|ReplaceSingle]].&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 || positions || comma-separated frame numbers || empty || Frames whose following frame is replaced by a copy of them. Empty = the filter does nothing.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Frames 100, 200 (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;
clip = AddDuplicates.addingMultipleDups(clip, positions=[100,200])&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How Hybrid calls it ==&lt;br /&gt;
* DuplicateFrames works on any format, also interlaced material; nothing is converted.&lt;br /&gt;
* Duplicate entries are ignored. A negative number or the last frame of the clip (which has no following frame) stops the script with an error.&lt;br /&gt;
* Frame count and frame rate do not change.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
=== Difference to AviSynth&amp;#039;s DuplicateFrame ===&lt;br /&gt;
AviSynth&amp;#039;s core filter DuplicateFrame really inserts copies of the listed frames, so the clip becomes longer and the audio can drift out of sync. Hybrid&amp;#039;s Vapoursynth DuplicateFrames keeps the length and replaces the following frame instead.&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://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/duplicateframe.html AviSynth+ documentation: DuplicateFrame]&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>