[FFmpeg-user] ffmpeg MP4/x264 output colours change when input source is different resolution (bug?)

Dan twinbee42 at skytopia.com
Thu Sep 15 12:53:01 EEST 2022


> This seems to work with VLC player:
>
> ffmpeg -f lavfi -i color=0x19be0f:s=400x576 -colorspace bt709 -crf 0
> -vcodec libx264 -t 5 -y out1.mp4
> ffmpeg -f lavfi -i color=0x19be0f:s=400x578 -colorspace bt709 -crf 0
> -vcodec libx264 -t 5 -y out2.mp4

Unfortunately, doesn't work for me in MPC or Chrome. Can you try a
height of 720 instead of 578 to see if that fails for you?

Dan


More information about the ffmpeg-user mailing list