[FFmpeg-user] h264 videos are darker

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Feb 14 00:57:00 EET 2020

Am Do., 13. Feb. 2020 um 23:45 Uhr schrieb Totte Karlsson
<totte.karlsson at alleninstitute.org>:

> ffmpeg.exe -y -vcodec rawvideo -f rawvideo -r 23 -s 658x492 -pix_fmt gray -i \\.\pipe\DEV_000F315BEBB8 -c:v libx264 -crf 23 x:\videos\Box_1_2020T140206.avi

What range does the input level have? mpeg or jpeg?
And which application are you using to test the "darkness" of the output file?

As I tried to explain earlier: gray can be both, it may be better if you choose
yuv420p / yuvj420p for encoding to make sure the right range is selected.

Carl Eugen

More information about the ffmpeg-user mailing list