Best Deinterlacing Filters for AV1 Video Encoding
This article outlines the most effective preprocessing deinterlacing filters to use before compressing video with the AV1 codec. Because AV1 lacks native support for interlaced video, converting fields into progressive frames prior to encoding is mandatory. Below is an overview of the best-performing spatial and temporal filters, software implementations via FFmpeg and VapourSynth, and best practices for preserving motion fluidity and detail.
Why Deinterlacing Is Mandatory for AV1
Unlike legacy standards such as MPEG-2 and H.264, the AV1 specification does not include interlaced coding tools. Supplying interlaced content directly to an AV1 encoder (such as SVT-AV1, libaom-av1, or rav1e) results in severe visual comb artifacts permanently baked into the progressive stream. To achieve high coding efficiency and clean visual quality, interlaced video must undergo deinterlacing or inverse telecine (IVTC) as a preprocessing step.
Top Recommended Deinterlacing Filters
1. QTGMC (VapourSynth / AviSynth)
QTGMC is widely regarded as the gold-standard deinterlacer for archival-quality conversions. It employs sophisticated motion analysis and temporal smoothing to reconstruct progressive frames without the flickering, shimmer, and staircase artifacts common to simpler algorithms.
- Best For: Archival sources, home video (VHS/Hi8/DV), broadcast content, and cases where output quality takes priority over encoding speed.
- Key Strengths: Exceptional edge reconstruction, noise reduction, and temporal consistency.
- Usage Tip: Always output at double frame rate
(e.g., 59.94 fps for NTSC or 50 fps for PAL) using presets such as
SlowerorMediumto retain full temporal resolution.
2. Bwdif (Bob Weaver Deinterlacing Filter)
Bwdif is an advanced motion-adaptive deinterlacer available natively within FFmpeg. It builds upon the algorithms of Yadif and Weston 3-Field Deinterlacer (W3FDIF), evaluating spatial and temporal variations to generate clean progressive frames at very high speeds.
- Best For: Fast, high-volume encoding pipelines, modern digital interlaced video, and users seeking a balance between speed and quality without external scripting environments like VapourSynth.
- Key Strengths: Integrated into FFmpeg
(
-vf bwdif), significantly fewer residual comb artifacts than standard Yadif, and negligible performance overhead. - FFmpeg Example:
-vf bwdif=mode=send_field:parity=auto:deint=all
3. NNEDI3 (Neural Network Edge Directed Interpolation)
NNEDI3 uses a neural network to predict missing lines by examining local neighborhood pixels. It excels at preserving sharp, diagonal lines without stepping artifacts.
- Best For: High-detail static sequences and anime/animation that does not require complex temporal motion tracking.
- Key Strengths: Industry-leading spatial interpolation on edges.
- Usage Tip: NNEDI3 alone is a spatial interpolator;
it is most effective when paired with temporal processing (as
implemented internally by QTGMC) or used via the VapourSynth
znedi3plugin.
4. Yadif (Yet Another Deinterlacing Filter)
Yadif is a check-and-interpolate filter that operates on spatial and temporal differences. While largely superseded in image quality by Bwdif, Yadif remains common due to its legacy support and minimal CPU requirements.
- Best For: Low-power systems or preliminary test renders where encoding speed is critical.
- Drawbacks: Tends to exhibit edge flicker and jagged diagonals compared to Bwdif and QTGMC.
Inverse Telecine vs. Deinterlacing
Before applying a deinterlacer, verify whether the source is truly interlaced (captured at 50/60 fields per second from a video camera) or telecined (24 fps progressive film transferred into a 60i stream using a 3:2 pulldown pattern).
- For Telecined Film Content: Do not use standard
deinterlacers like Bwdif or QTGMC directly, as this causes frame
blending and stutter. Instead, apply an Inverse Telecine (IVTC) filter,
such as FFmpeg's
fieldmatchanddecimatefilters (-vf fieldmatch,decimate), to cleanly restore the original 23.976 fps progressive frames. - For Native Interlaced Video: Apply motion-adaptive deinterlacing outputting double frame rate (e.g., 29.97i to 59.94p).
Encoding Recommendations for AV1
- Always Bob (Double Frame Rate): Interlacing samples motion at twice the apparent frame rate. Converting 29.97i to 29.97p drops half the temporal motion data, making motion look choppy. Deinterlace to 59.94p (or 50p for PAL) prior to AV1 compression.
- Filter Order: Place the deinterlacer at the very beginning of your filtering chain. Scaling, color conversion, or cropping interlaced frames before deinterlacing destroys field parity and makes proper reconstruction impossible.
- Chroma Resampling: Interlaced video often uses specific chroma field locations (such as 4:2:0 top-field-first). Ensure your pipeline explicitly handles interlaced chroma placements during import to prevent color ghosting after deinterlacing.