Increase Video Luma Range with FFmpeg eq Filter

This article explains how to expand and adjust the luma (luminance) range of a video using FFmpeg’s built-in eq (equalizer) filter. You will learn how to use the contrast, brightness, and gamma parameters within the eq filter to stretch your video’s dynamic range, making blacks deeper and highlights brighter for a more vibrant visual output.

To increase the luma range of a video, you must manipulate the contrast and brightness levels. Increasing the contrast stretches the difference between the lightest and darkest parts of the image, effectively expanding the luma range.

The FFmpeg Command Syntax

The basic syntax for using the eq filter to adjust luma is as follows:

ffmpeg -i input.mp4 -vf "eq=contrast=1.2:brightness=-0.02:gamma=1.0" -c:a copy output.mp4

Parameter Breakdown

Practical Examples

Moderate Luma Expansion: To slightly boost the dynamic range of a dull video without losing detail:

ffmpeg -i input.mp4 -vf "eq=contrast=1.15:brightness=-0.01" -c:a copy output.mp4

Aggressive Luma Expansion: For videos that are highly washed out and require a significant stretch of the black and white levels:

ffmpeg -i input.mp4 -vf "eq=contrast=1.4:brightness=-0.05:gamma=0.95" -c:a copy output.mp4