Avisynth DeFlicker
DeFlicker evens out brightness flicker, as found in old film transfers, and can correct the "pumping" of camcorder auto gain after flashes.
Filtering → Avisynth → Frame → Stabilize

What it does
The mean luma of every frame is smoothed over time towards the previous frames (or, with a negative Lag, the following frames). Each frame gets one global gain and offset for this; chroma is not touched. Scene changes and nearly flat frames restart the estimation. It needs progressive input.
Requirements
CPU only. Needs Deflicker.dll, which Hybrid ships.
Settings
| Control | Parameter | Range | Hybrid default | Meaning |
|---|---|---|---|---|
| DeFlicker | – | on/off | off | Enables the filter. |
| Percent | percent | 0–100 (step 0.1) | 85 | How strongly the earlier frames' mean luma is followed; 100 = fully, 0 = not at all. |
| Lag | lag | −100–100 | 25 | Largest distance to the base frame. Negative values estimate from following frames (for example −25 for gain pumping after flashes). 0 leaves the clip unchanged. |
| Noise | noise | 0–255 | 10 | Luma noise level. Frames whose standard deviation is not above it count as flat and end the propagation. |
| Scene | scene | 0–255 | 40 | Scene-change threshold; lower detects more cuts. |
| Luma (min/max) | lmin / lmax | 0–255 | 0 / 255 | Limits of the output luma. Hybrid keeps min below or equal to max by moving the other value. |
| Border | border | 0–100 | 0 | Width in pixels of a band at all edges that is ignored when measuring; the whole frame is still corrected. |
| Info | info | on/off | off | Draws the measured values and the measured area into the frame. The overlay is part of the output and is encoded. |
Noise, Scene and Luma use the 8-bit scale for every bit depth.
Example
Default settings on a 10-bit YUV 4:2:0 source; the filter needs no conversion:
# deflickering using DeFlicker DeFlicker()
How Hybrid calls it
- Hybrid loads Deflicker.dll and calls
DeFlicker; only values that differ from the defaults are written. - The filter accepts luma-only and planar YUV from 8 to 16 bit and float, so Hybrid adds no conversion. Interlaced input is not supported.
- DeFlicker also offers the common options and can be added to the filter queue several times.
Background
Deflicker.dll 0.7.0 is Selur's port of Fizick's DeFlicker (0.1–0.4, 2004; pinterf 0.5–0.6, 2019) and adds high bit depth, float, ARM NEON and multithreading. One binary serves AviSynth+ and VapourSynth. The method is a simplified version of AURORA intensity-flicker correction. The plugin's debug and opt parameters are not offered. The README advises placing it after global motion compensation (DePan) and before MVTools-based denoising; for interlaced sources use SeparateFields() and Weave().
See also: Vapoursynth Deflicker
Sources
- Deflicker on GitHub (README)
- Original DeFlicker 0.4 documentation
- Hybrid's tooltips
- The AviSynth+ documentation does not cover DeFlicker.