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

Dan twinbee42 at skytopia.com
Thu Sep 15 00:50:31 EEST 2022

>> Unless I'm somehow misusing zscale (which is a possibility), it would seem
>> as if the
>> problem lies elsewhere.
> If you do not use format filter after zscale it will not work correctly.

Do you mean using the "filter" keyword under the zscale property/variable?

I tried this, again no luck (also tried filter=point):

ffmpeg.exe -f lavfi -i color=0x19be0f:s=400x578 -crf 0 -vcodec libx264 -vf zscale=w=-1:h=-1:filter=lanczos -t 5 -y "578.mp4"

If you would kindly give the appropriate command line, or even just the relevant bit of the line
to make zscale work, that might help save me from flailing around as much ;)


More information about the ffmpeg-user mailing list