Avisynth Yadif
Yadif ("Yet Another DeInterlacing Filter") is a fast deinterlacer that uses temporal and spatial interpolation. This entry has no settings; for a choice of rate and field order see Yadif (custom).
Filtering → (De-)Interlace/Telecine → Deinterlacer (entry "Yadif (Avisynth)")
What it does
Yadif keeps one field of each frame and rebuilds the other lines from the lines around them in the same and in the neighbouring frames, with a check that avoids artifacts. The frame rate stays the same (25i becomes 25p). The source must be interlaced and AviSynth must know its field order, which Hybrid sets from the scan type.
Example
On an interlaced PAL 720×576 8-bit source Hybrid writes only the call and converts to 10 bit for the encoder:
# deinterlacing Yadif() AssumeFrameBased() # Converting from 8 to 10bit for encoder ConvertBits(10)
How Hybrid calls it
- Plain
Yadif(), same frame rate; the result is marked progressive. - The plugin yadif.dll is loaded as C plugin. It works on 8-bit YV12 and YUY2 only; other formats are converted first.
Background
The AviSynth plugin is Fizick's port of the Yadif filter from MPlayer, written by Michael Niedermayer. The plugin has the modes temporal+spatial check, bob, temporal only and bob temporal only; Hybrid offers them in Yadif (custom).
See also: Avisynth Yadifmod, Interlace
Sources
- Yadif for AviSynth
- Hybrid's tooltips
- The AviSynth+ documentation does not cover Yadif.