Avisynth Bwdif: Difference between revisions
Avisynth filter documentation (via create-page on MediaWiki MCP Server) |
Add screenshot (via update-page on MediaWiki MCP Server) |
||
| Line 3: | Line 3: | ||
''Filtering → (De-)Interlace/Telecine → Deinterlacer'' (entry "Bwdif (Avisynth)") | ''Filtering → (De-)Interlace/Telecine → Deinterlacer'' (entry "Bwdif (Avisynth)") | ||
[[File:Avisynth_Bwdif.png|none|Bwdif settings in Hybrid]] | |||
Latest revision as of 23:12, 21 November 2026
Bwdif ("Bob Weaver deinterlacing filter") is a fast motion-adaptive deinterlacer. It is a mix of Yadif and w3fdif with cubic interpolation and comes from FFmpeg.
Filtering → (De-)Interlace/Telecine → Deinterlacer (entry "Bwdif (Avisynth)")

What it does
Bwdif keeps one field of every frame and rebuilds the missing lines from spatial and temporal neighbours. It can work at the source frame rate (25i to 25p) or as a bobber with one frame per field (25i to 50p). The source must be interlaced; the choice of field matters for the result.
Settings
| Control | Parameter | Values | Hybrid default | Meaning |
|---|---|---|---|---|
| Mode | field | see below | Same rate, AviSynth internal order | Rate and field order of the output. |
The Mode list:
- Double rate (alternates each frame), AviSynth internal order: bob, starts with the first field of the clip's field order (−2).
- Same rate, AviSynth internal order: one frame per source frame, field order of the clip (−1).
- Same rate, keep bottom field (0) and Same rate, keep top field (1).
- Double rate, starts with bottom (2) and Double rate, starts with top (3).
Example
Default settings on an interlaced PAL 720×576 8-bit source; no conversion is needed, Hybrid only converts to 10 bit for the encoder:
# deinterlacing BWDIF() AssumeFrameBased() # Converting from 8 to 10bit for encoder ConvertBits(10)
How Hybrid calls it
- field is only written when it is not the default; the default call is plain
BWDIF(). - The double-rate choices double the frame rate and count.
- Bwdif accepts all planar YUV formats; Hybrid adds no conversion. The result is marked progressive.
- The "AviSynth internal order" choices follow the field order that AviSynth knows for the clip, which Hybrid sets from the scan type.
Background
BWDIF.dll is Asd-g's AviSynth port of FFmpeg's bwdif filter. The plugin has more options than Hybrid offers: an external clip for the spatial interpolation (edeint), the SIMD level, a threshold for static pixels and a debug mode.
See also: Vapoursynth BWDIF, Avisynth TDeint (can use Bwdif as edeint helper)
Sources
- AviSynth-BWDIF on GitHub
- Hybrid's tooltips
- The AviSynth+ documentation does not cover Bwdif.