Sharpen Luma Without Chroma Noise in FFmpeg

This guide explains how to use the FFmpeg unsharp filter to sharpen only the luma (brightness) channel of a video while leaving the chroma (color) channels untouched. By targeting only the luma channel, you can significantly improve perceived image clarity and sharpness without introducing distracting color noise or rainbow artifacts into your footage.

The FFmpeg Unsharp Filter Syntax

The unsharp filter in FFmpeg uses a set of parameters to control the box size and the amount of sharpening applied to both the luma and chroma channels. The basic syntax is:

unsharp=luma_msize_x:luma_msize_y:luma_amount:chroma_msize_x:chroma_msize_y:chroma_amount

To sharpen only the luma channel and completely avoid chroma noise, you must set the chroma_amount parameter to 0.0.

Use the following command to apply sharpening exclusively to the luma channel:

ffmpeg -i input.mp4 -vf "unsharp=5:5:0.8:5:5:0.0" -c:a copy output.mp4

Using named parameters makes the command even easier to read and modify:

ffmpeg -i input.mp4 -vf "unsharp=lx=5:ly=5:la=0.8:cx=5:cy=5:ca=0.0" -c:a copy output.mp4

Parameter Breakdown

Fine-Tuning Your Settings

If the default setting of 0.8 is too subtle or too harsh, adjust the la parameter to fit your source material: