Debanding / Dithering

Watch as an animation →

In plain words

Prevents soft gradients, like sky, walls, or glowing light, from breaking into steps.

When to use it

Sunsets, night skies, dark interiors, scenes with a vignette or light leaks, and after heavy compression.

Example videos

Why dark video is a terrible mess — Explainer: Shows with diagrams why dark gradients get crushed into steps.
Beat the Compression! How to Get Better YouTube Uploads — Explainer: See the problem of gradients splitting into bands after upload, and tips to reduce it.
8-bit vs. 10-bit Video | What's the Difference? — Explainer: Explains how different the gradient bands are in 8-bit and 10-bit.

In AI video, like this

The Seedance 1080p original is 10-bit (yuv420p10le), so its gradients are smooth, but bands can appear when you drop it to 8-bit (yuv420p). Do color grading and brightness ramps before dropping to 8-bit, and if you see bands, apply deband and then dither with a very light grain (noise=alls=2:allf=t). If you raise crf to save file size, the bands come back. gradfun is a playback filter, so if you apply it before encoding, compression erases the dither and the bands return.

One-click prompt

Remove banding stripes from skies and walls, then dither with very light noise before the 8-bit export: ffmpeg -i in.mp4 -vf "deband,noise=alls=2:allf=t" -c:v libx264 -crf 17 -pix_fmt yuv420p -c:a copy out.mp4. Do color changes before this step, since raising crf makes banding return.

See it in real films and ads

Wikipedia — Colour banding

AI-made examples

Not verified

Recommended for scenes like these

Techniques that pair well

← DenoiseColor Space / BT.709 →