Avisynth QTGMC (denoise)
QTGMC (denoise) uses the QTGMC script as a temporal denoiser on material that is already progressive. It does not interpolate fields and keeps the frame rate. For deinterlacing see QTGMC.
Filtering → Avisynth → DeNoise

What it does
QTGMC builds a motion-compensated, temporally smoothed version of the clip and resharpens it. On progressive input (Input type 1) this removes noise and shimmer. Types 2 and 3 are meant for material that is progressive but combed or badly deinterlaced.
Extras:
- EZDenoise and EZKeepGrain set the noise handling automatically: more denoising or more kept grain. Only one of them can be used at a time.
- Source matching brings the result closer to the source (slower, best on clean sources).
- Lossless modes bring back the original fields; they need Input type 2 or 3.
- Sharpness sets the strength of the final sharpening.
The filter is slow, because it searches motion vectors for every frame. Its output is marked progressive, so use it after deinterlacing.
Requirements
- Without OpenCL it runs on the CPU only.
- OpenCL needs an OpenCL-capable GPU.
- The presets Very Slow and Placebo, the denoiser fft3dfilter and the denoiser KNLMeansCL need additional plugins that ship with Hybrid; KNLMeansCL also needs an OpenCL GPU.
Settings
| Control | Parameter | Range / values | Hybrid default | Meaning |
|---|---|---|---|---|
| Preset | Preset | Draft, Ultra Fast, Super Fast, Very Fast, Faster, Fast, Medium, Slow, Slower, Very Slow, Placebo | Fast | Speed/quality preset. Changing it resets Final temporal smoothing, Source matching, Sharpness, Noise preset and Lossless. |
| Input type | InputType | 1–3 | 1 | 1 = progressive material, 2 and 3 = progressive but combed or repaired material. With 1, Lossless is off and locked. |
| Final temporal smoothing | TR2 | 0–6 | 1 | Temporal smoothing of the final result: 0 = off, 1 = clean source, 2 and higher = more denoising. |
| Sharpness | Sharpness | 0–1.9 | off / 1.0 | The value is only used when the check box is ticked. |
| Source matching | SourceMatch | off, basic, refined, 2xrefined | off | Keeps more of the source detail; slower. |
| Match preset | MatchPreset | default and the presets not slower than Preset | default | Preset of the first matching pass. |
| Match preset 2 | MatchPreset2 | same as Match preset | default | Preset of the second matching pass. |
| Match enhance | MatchEnhance | 0–1000 | 0.5 | Sharpening of the source matching. |
| Lossless | Lossless | off, after temporal smooth, before resharpening | off | After temporal smooth returns the exact fields (shimmer or combing possible); before resharpening is more stable but not exact. Locked while Input type is 1. |
| EZKeepGrain | EZKeepGrain | 0–100 | off / 0 | Keeps part of the grain; higher values keep more. Excludes EZDenoise. |
| EZDenoise | EZDenoise | 0–100 | off / 0 | Removes noise; higher values remove more. Excludes EZKeepGrain. |
| Noise preset | NoisePreset | Slower, Slow, Medium, Fast, Faster | Fast | Speed/quality of the noise processing; only used with EZDenoise or EZKeepGrain above 0. |
| Denoiser | Denoiser | auto, fft3dfilter, dfttest, KNLMeansCL | auto | Filter for the noise processing. auto lets QTGMC choose by Noise preset. |
| Edi Threads | ediThreads | -1–16 | 2 | Threads for the interpolation; -1 = half the CPU cores, 0 = not set. |
| OpenCL / device | EdiOpenCL / EdiDevice | on/off, 0–15 | off / 0 | Uses the OpenCL versions of the interpolators on the chosen GPU. The result differs slightly from the CPU version. |
| Pad mod16 | – | on/off | off | Pads the picture to a multiple of 16 for QTGMC and crops it afterwards. |
| Show settings | ShowSettings | on/off | off | Draws all parameters into the picture; for debugging. |
| Show noise | ShowNoise | on/off | off | Shows the extracted noise; for debugging. |
| Addition | – | text | empty | Text appended to the QTGMC call; a separating comma is added if the text does not start with one. |
Example
Default settings on a 10-bit YUV 4:2:0 source (no conversions are needed):
QTGMC(Preset="Fast", InputType=1, TR2=1, SourceMatch=0, Lossless=0, ediThreads=2)
How Hybrid calls it
- Hybrid loads the QTGMC script with MaskTools2, MVTools2 and nnedi3. Further plugins depend on the settings: neo-fft3d, dfttest, KNLMeansCL, AddGrainC, yadifmod2 (Ultra Fast), RgTools and the OpenCL interpolators.
- Accepted formats: gray, YUV 4:2:0, 4:2:2 and 4:4:4 with 8–16 bit integer; other formats are converted first.
- Input type, TR2, Source matching, Lossless and ediThreads are always written. Sharpness is only written when ticked, the match options only when not default, EZDenoise/EZKeepGrain and Noise preset only when an EZ value is above 0, Denoiser only when not auto.
- Show settings, Show noise and OpenCL are only written when switched on.
- The filter marks its result as progressive.
- QTGMC (denoise) also offers the common options and can be added to the filter queue several times.
Background
The QTGMC script was written by Vit (2012) and is based on Didee's TempGaussMC. Hybrid ships a modified version (3.384, based on Dogway's 3.33d). It uses MVTools2, MaskTools2, nnedi3, RgTools and the denoisers fft3dfilter, dfttest or KNLMeansCL.
The script also has many options Hybrid does not offer for this filter, among them the interlaced input mode and the bob modes.
See also: Vapoursynth QTGMC (denoise)
Sources
- Dogway's AviSynth scripts (QTGMC variants)
- Doom9 thread "QTGMC Deinterlacing Script"
- Hybrid's tooltips
- The AviSynth+ documentation does not cover QTGMC.