<?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_BWDIF</id>
	<title>Vapoursynth BWDIF - 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_BWDIF"/>
	<link rel="alternate" type="text/html" href="https://wiki.selur.net/index.php?title=Vapoursynth_BWDIF&amp;action=history"/>
	<updated>2026-11-19T08:03:41Z</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_BWDIF&amp;diff=455&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_BWDIF&amp;diff=455&amp;oldid=prev"/>
		<updated>2026-11-16T08:47:26Z</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;Bwdif&amp;#039;&amp;#039;&amp;#039; (&amp;quot;BobWeaver&amp;quot;) is a fast motion-adaptive deinterlacer. It keeps one field of each frame and rebuilds the missing lines from the spatial and temporal neighbors, either at the source frame rate or as a bobber at double rate.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Filtering → (De-)Interlace/Telecine → Deinterlacer&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Vapoursynth_BWDIF.png|none|Bwdif controls in Hybrid]]&lt;br /&gt;
&lt;br /&gt;
== What it does ==&lt;br /&gt;
Where the picture holds still, Bwdif weaves in the lines of the other field; where there is motion it interpolates them. Its own spatial interpolation is a cubic filter; optionally the spatial prediction can come from NNEDI3 or EEDI3 instead (&amp;#039;&amp;#039;edeint&amp;#039;&amp;#039;), which gives cleaner diagonal edges at the cost of speed.&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;
| Field || field || 0 – 3 || 2 || 0/1: same frame rate; 2/3: double frame rate (one frame per field). The parity part (0 = bottom, 1 = top, 2 = start with bottom, 3 = start with top) is overridden by the clip&amp;#039;s field order, so in practice the control only chooses single or double rate.&lt;br /&gt;
|-&lt;br /&gt;
| edeint || edeint || none, NNEDI3, EEDI3 || none || External clip for the spatial prediction; built from the same clip with the same field setting.&lt;br /&gt;
|-&lt;br /&gt;
| NNEDI3: Neighbourhood || nsize || 8x6, 16x6, 32x6, 48x6, 8x4, 16x4, 32x4 || 32x4 || Size of the area NNEDI3 looks at (only with edeint NNEDI3).&lt;br /&gt;
|-&lt;br /&gt;
| NNEDI3: Neurons || nns || 16, 32, 64, 128, 256 || 32 || Size of the neural network; more is slower and slightly better.&lt;br /&gt;
|-&lt;br /&gt;
| NNEDI3: Error || etype || absolute error, square error || absolute error || Which set of trained weights NNEDI3 uses.&lt;br /&gt;
|-&lt;br /&gt;
| Tools: nnedi3 / eedi3 || – || e.g. znedi3, nnedi3cl, eedi3m, vszip || – || Implementation of the edeint helper; GPU implementations also get a device choice.&lt;br /&gt;
|}&lt;br /&gt;
The NNEDI3 values are only written when they differ from the defaults; EEDI3 has no settings of its own on this page.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Default settings on an 8-bit YUV 4:2:0 interlaced source (704x576, 25 fps, top field first):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Deinterlace using Bwdif&lt;br /&gt;
clip = core.bwdif.Bwdif(clip, field=2) # new fps: 50&lt;br /&gt;
# Making sure content is perceived as frame based&lt;br /&gt;
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How Hybrid calls it ==&lt;br /&gt;
* Field order: Hybrid marks the field order on the clip after the source (from the detected scan type or [[Overwrite input scan type]]). Bwdif and the NNEDI3/EEDI3 helpers follow this property, so the field parity chosen under &amp;#039;&amp;#039;Field&amp;#039;&amp;#039; does not matter as long as the order is known.&lt;br /&gt;
* Output frame rate: Field 0/1 keeps the source rate; Field 2/3 doubles frame rate and frame count.&lt;br /&gt;
* Afterwards the clip counts as progressive. No decimation.&lt;br /&gt;
* Works on 8–16-bit integer YUV; no thresholds need bit-depth scaling.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
Bwdif comes from FFmpeg and combines ideas of yadif (motion check) and w3fdif (interpolation filter). The VapourSynth plugin is a port from HomeOfVapourSynthEvolution; besides 8–16-bit integer it also accepts 32-bit float. An external edeint clip must have the same size and format and the same (single rate) or double (double rate) frame count. Bwdif is much faster than [[Vapoursynth QTGMC|QTGMC]] or [[Vapoursynth QTempGaussMC|QTempGaussMC]], but does not remove bob shimmer.&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
* [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Bwdif VapourSynth-Bwdif README]&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>