[FFmpeg-user] h264 videos are darker
Carl Eugen Hoyos
ceffmpeg at gmail.com
Sat Feb 15 10:24:41 EET 2020
Am Fr., 14. Feb. 2020 um 19:15 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
You can try the following:
$ ffmpeg -f rawvideo -r 23 -s 658x492 -i pipe -vcodec libx264 -pix_fmt
yuv420p -crf 23 output1...
$ ffmpeg -f rawvideo -r 23 -s 658x492 -i pipe -vcodec libx264 -pix_fmt
yuvj420p -crf 23 output2...
Note that avi is generally not considered a good idea to store h264.
Carl Eugen
More information about the ffmpeg-user
mailing list