Avisynth HQDN3D: Difference between revisions
Jump to navigation
Jump to search
Avisynth filter documentation (via create-page on MediaWiki MCP Server) |
Remove required versions (via update-page on MediaWiki MCP Server) |
||
| Line 33: | Line 33: | ||
== Background == | == Background == | ||
* HQDN3D comes from MPlayer (Daniel Moreno, Hideki Yamane). Loren Merritt wrote the first AviSynth port (YV12 only). Hybrid uses the AviSynth+ port by Asd-g, which takes its high bit depth code from ffmpeg | * HQDN3D comes from MPlayer (Daniel Moreno, Hideki Yamane). Loren Merritt wrote the first AviSynth port (YV12 only). Hybrid uses the AviSynth+ port by Asd-g, which takes its high bit depth code from ffmpeg. | ||
* When parameters are left out, the plugin derives them from the given ones: cs = 0.75 × ls, lt = 1.5 × ls, ct = lt × cs / ls, restart = max(2, 1 + max(lt, ct)). The Hybrid defaults 4 / 3 / 6 / 4.5 / 7 are exactly these values for ls = 4. | * When parameters are left out, the plugin derives them from the given ones: cs = 0.75 × ls, lt = 1.5 × ls, ct = lt × cs / ls, restart = max(2, 1 + max(lt, ct)). The Hybrid defaults 4 / 3 / 6 / 4.5 / 7 are exactly these values for ls = 4. | ||
* The plugin also has per-plane modes (y, u, v) and a multithreading switch (mt), which Hybrid does not offer. | * The plugin also has per-plane modes (y, u, v) and a multithreading switch (mt), which Hybrid does not offer. | ||
Latest revision as of 19:55, 21 November 2026
HQDN3D (High Quality DeNoise 3D) is a fast spatio-temporal low-pass denoiser. It is gentle and a good first choice for light noise.
Filtering → Avisynth → DeNoise

What it does
A spatial low-pass works inside each frame and a temporal low-pass follows every pixel over time. Differences between neighbouring values that are small compared to the strength are smoothed, large differences (edges, motion) are kept. Luma and chroma have separate spatial and temporal strengths. High spatial values blur the picture, high temporal values cause ghosting behind moving objects.
Settings
| Control | Parameter | Range | Hybrid default | Meaning |
|---|---|---|---|---|
| Spatial (luma/chroma) | ls / cs | 0–255 | 4 / 3 | Spatial strength for luma and chroma. Values above about 10 are rarely a good idea. |
| Temporal (luma/chroma) | lt / ct | 0–255 | 6 / 4.5 | Temporal strength for luma and chroma. Values above about 13 are rarely a good idea. |
| Reset | restart | 0–1024 | 7 | When frames are requested out of order (seeking, random access), the filter starts this many frames earlier so that the result matches linear playback. |
Example
Default settings on a 10-bit YUV 4:2:0 source (no conversions are added):
hqdn3d(restart=7)
How Hybrid calls it
- Hybrid loads hqdn3d.dll and calls
hqdn3d. - The plugin accepts planar YUV (4:2:0, 4:2:2, 4:4:4) with 8–16 bit integer samples. Gray, 4:1:1, RGB, YUY2 and float clips are converted first. Interlaced sources are processed field by field.
- As long as all four strengths are at their defaults, only
restartis written. If one of them is changed, all four (ls,cs,lt,ct) are written, so the values run exactly as shown, for examplehqdn3d(ls=8,cs=3,lt=6,ct=4.5,restart=7).restartis always written. - HQDN3D also offers the common options and can be added to the filter queue several times.
Background
- HQDN3D comes from MPlayer (Daniel Moreno, Hideki Yamane). Loren Merritt wrote the first AviSynth port (YV12 only). Hybrid uses the AviSynth+ port by Asd-g, which takes its high bit depth code from ffmpeg.
- When parameters are left out, the plugin derives them from the given ones: cs = 0.75 × ls, lt = 1.5 × ls, ct = lt × cs / ls, restart = max(2, 1 + max(lt, ct)). The Hybrid defaults 4 / 3 / 6 / 4.5 / 7 are exactly these values for ls = 4.
- The plugin also has per-plane modes (y, u, v) and a multithreading switch (mt), which Hybrid does not offer.
See also: Vapoursynth HQDN3D
Sources
- AviSynth-hqdn3d on GitHub
- Hybrid's tooltips
- The AviSynth+ documentation does not cover HQDN3D.