Avisynth DGDecNV Deinterlace
DGDecNV Deinterlace uses the hardware deinterlacer of NVIDIA graphics cards that is built into the DGDecNV source filter: the video is deinterlaced while it is decoded, no separate filter runs afterwards.
Filtering → (De-)Interlace/Telecine → Deinterlacer (entry "DGDecNV (Avisynth)")
What it does
The NVIDIA decoder (NVDec) deinterlaces each decoded frame with its own motion-adaptive method, either to one frame per source frame (single rate) or to one frame per field (double rate). It is very fast because it runs on the graphics card during decoding. The source must be interlaced.
Requirements
- Windows, a licensed DGDecNV and an NVIDIA graphics card with NVDec.
- DGDecNV must be used as AviSynth source filter; otherwise the entry is not offered.
Settings
| Control | Parameter | Range / values | Hybrid default | Meaning |
|---|---|---|---|---|
| Mode | deinterlace | 1, 2 | 1 | 1: single rate; 2: double rate (one frame per field). |
| Use frame indication | use_pf | on/off | off | Only frames that the stream flags as interlaced are deinterlaced; frames flagged progressive pass unchanged. |
How Hybrid calls it
- There is no separate filter line: the options go into the
DGSourcecall of the source itself, asdeinterlace=1ordeinterlace=2(plususe_pf=truewhen Use frame indication is on). A DGIndexNV index (.dgi) is created first. This only happens when the source is interlaced. - Field order: for single rate the decoder keeps the bottom field for bottom-field-first sources (
use_top_field=false) and the top field for top-field-first sources (use_top_field=true). The field order comes from the detected scan type or Overwrite input scan type. - Output frame rate: Mode 1 keeps the source rate; Mode 2 doubles frame rate and frame count.
- Afterwards the clip counts as progressive. Output is 8-bit 4:2:0, or 16-bit for sources with more than 8 bits.
- Soft-telecine handling is a source option, not part of this deinterlacer.
Background
DGDecNV is by Donald Graft. The plugin also knows the value 0 for deinterlace (no deinterlacing); Hybrid offers only the two deinterlacing modes. With double rate the plugin ignores use_top_field.
See also: Vapoursynth DGDecNV Deinterlace, Avisynth DGDecNV Crop/Resize, Interlace
Sources
- The manual shipped with DGDecNV (DGDecodeNVManual)
- Hybrid's tooltips
- The AviSynth+ documentation does not cover DGDecNV.