[FFmpeg-user] ffmpeg Changing Video Levels

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Jan 2 01:17:30 EET 2020

Am Mi., 1. Jan. 2020 um 23:48 Uhr schrieb Chris via ffmpeg-user
<ffmpeg-user at ffmpeg.org>:

> Is there a way for ffmpeg to encode video without altering the video levels?
> I know about full- (0 - 255) and limited- (16 - 235) range video. I am working
> on a C program to modify video levels, using ffmpeg to read video frames
> into my program and to write them out. No matter what I do, ffmpeg modifies
> the output video levels to either 16 - 235 or 0 - 255 and this defeats what I'm
> trying to do. Is there any way to defeat this behavior in ffmpeg?

If you want to use the libraries, there is another mailing list for
your question:

If you can reproduce your issue with ffmpeg (the command line utility) please
provide the command line together with the complete, uncut console output
so we have a chance to understand your issue.

Carl Eugen

PS: FFmpeg's v210 encoder surprisingly limits the video levels, if you
want to change this, you have to edit the FFmpeg source code.

More information about the ffmpeg-user mailing list