Increase Video Brightness with FFmpeg eq Filter
This article provides a quick and direct guide on how to increase the
brightness of a video by exactly 20% using the FFmpeg command-line tool.
You will learn the specific command-line syntax, how the eq
(equalizer) filter handles brightness values, and how to apply this
adjustment to your video files without altering the audio quality.
To increase the brightness of a video by 20%, you need to use
FFmpeg’s eq video filter and set the
brightness parameter to 0.2. In FFmpeg, the
brightness parameter accepts a value from -1.0 to
1.0, where 0.0 is the default (no change) and
1.0 is the maximum brightness. Therefore, an increase of
0.2 represents a 20% upward adjustment.
Here is the basic command to achieve this:
ffmpeg -i input.mp4 -vf "eq=brightness=0.2" -c:a copy output.mp4Command Breakdown
-i input.mp4: Specifies the path to your source video file.-vf "eq=brightness=0.2": Applies the video filter (-vf). Theeqfilter is used, and we explicitly define thebrightnesslevel to0.2(a 20% increase).-c:a copy: Copies the audio stream directly from the input to the output without re-encoding it. This saves processing time and preserves original audio quality.output.mp4: The name of the newly created, brightened video file.
If you also want to adjust the contrast at the same time to ensure
the video does not look too washed out, you can chain parameters within
the eq filter using colons:
ffmpeg -i input.mp4 -vf "eq=brightness=0.2:contrast=1.1" -c:a copy output.mp4This optional variation increases the brightness by 20% while boosting the contrast by 10% (multiplier of 1.1) to maintain visual depth.