Vapoursynth ReduceFlicker: Difference between revisions
New filter page (via create-page on MediaWiki MCP Server) |
Update to current Hybrid behaviour; code as <pre> (via update-page on MediaWiki MCP Server) |
||
| Line 16: | Line 16: | ||
|- | |- | ||
| aggressive || aggressive || on/off || off || Use a much more aggressive variant of the algorithm. | | aggressive || aggressive || on/off || off || Use a much more aggressive variant of the algorithm. | ||
|- | |||
| Planes || planes || all, chroma only, luma only || all || Planes that are filtered; the others are copied. | |||
|} | |} | ||
== Example == | == Example == | ||
Default settings on a 10-bit YUV 4:2:0 source (640x356): | Default settings on a 10-bit YUV 4:2:0 source (640x356): | ||
< | <pre> | ||
# removing flickering using ReduceFlicker | # removing flickering using ReduceFlicker | ||
clip = core.rdfl.ReduceFlicker(clip, aggressive=0) | clip = core.rdfl.ReduceFlicker(clip, aggressive=0) | ||
</ | </pre> | ||
== How Hybrid calls it == | == How Hybrid calls it == | ||
* ReduceFlicker works on gray, YUV and RGB clips, 8–16-bit integer and 32-bit float; no value depends on the bit depth. | * ReduceFlicker works on gray, YUV and RGB clips, 8–16-bit integer and 32-bit float; no value depends on the bit depth. | ||
* | * ReduceFlicker is not interlace-capable: it compares pixels over time, so on interlaced material Hybrid's general interlace handling runs before it. | ||
* Strength is only written when it differs from the default; aggressive is always written. | * Strength is only written when it differs from the default; aggressive is always written; planes only when not all planes are selected. | ||
* Frame count and frame rate do not change. | * Frame count and frame rate do not change. | ||
* ReduceFlicker also offers the [[Vapoursynth common filter options|common options]] (Masked, ApplyOnlyTo, Merge, OnRegion, Gimmick). | * ReduceFlicker also offers the [[Vapoursynth common filter options|common options]] (Masked, ApplyOnlyTo, Merge, OnRegion, Gimmick). | ||
Latest revision as of 09:51, 16 November 2026
ReduceFlicker reduces temporal flicker – small frame-to-frame fluctuations of single pixels, such as shimmer in static areas – by limiting each pixel against the values of the neighboring frames.
Filtering → Vapoursynth → Frame → Stabilize

What it does
Each pixel is compared with the same pixel in a few previous and following frames and limited so it can not jump beyond what its neighbors allow. Unlike Vapoursynth Deflicker it works per pixel, not on the global brightness, and it filters all planes (luma and chroma).
Settings
| Control | Parameter | Range / values | Hybrid default | Meaning |
|---|---|---|---|---|
| Strength | strength | 1 – 3 | 2 | Frame window: 1 = current, 2 previous and 1 next frame; 2 = current, 2 previous and 2 next; 3 = current, 3 previous and 3 next. Higher is stronger. |
| aggressive | aggressive | on/off | off | Use a much more aggressive variant of the algorithm. |
| Planes | planes | all, chroma only, luma only | all | Planes that are filtered; the others are copied. |
Example
Default settings on a 10-bit YUV 4:2:0 source (640x356):
# removing flickering using ReduceFlicker clip = core.rdfl.ReduceFlicker(clip, aggressive=0)
How Hybrid calls it
- ReduceFlicker works on gray, YUV and RGB clips, 8–16-bit integer and 32-bit float; no value depends on the bit depth.
- ReduceFlicker is not interlace-capable: it compares pixels over time, so on interlaced material Hybrid's general interlace handling runs before it.
- Strength is only written when it differs from the default; aggressive is always written; planes only when not all planes are selected.
- Frame count and frame rate do not change.
- ReduceFlicker also offers the common options (Masked, ApplyOnlyTo, Merge, OnRegion, Gimmick).
Background
Origin
ReduceFlicker is chikuzen's VapourSynth port of Rainer Wittmann's AviSynth filter of the same name. Only ReduceFlicker itself was ported; ReduceFluctuation and LockClense from the original package were not. The plugin has SSE2, SSE4.1 and AVX2 code paths and runs on the CPU.
Sources
- ReduceFlicker README (vapoursynth/readme.md)
- Hybrid's tooltips