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

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


> The crazy thing is when you vertically stack the two videos together,
> then the colors become again identical in the output:
>
> ffmpeg -i out1.mp4 -i out2.mp4 -lavfi vstack -y out.mp4
>
> Sorry, I have no idea for a solution or workaround.

To make things even more confusing, Media Player Classic breaks the pic using the 578 pixel
height, but Chrome actually works with both the 576 and 578 pixel height. However, as soon as I
change the height to 984, then both Media Player Classic AND Chrome show it broken.

There must be some cut off point off where Chrome gives up, which exceeds Media Player
Classic's cut off point.

What a mess.

Dan


More information about the ffmpeg-user mailing list