horvath.agoston <[email protected]> added the comment:

> MPlayer does not display JPEG files correctlyi (uses too high contrast),
> whereas FFmpeg probably does handle them right.
> -vo gl:yuv=2:levelconv=2
> should display the JPEGs correctly.

But if this was true, how come there is a huge gamma difference between ffmpeg's
h264 and canon's mjpeg when played back with mplayer? The incorrect gamma
setting should be applied to both then, but only ffmpeg's come out looking
washed out.

Besides, the -vo gl affects the output only. As said before, the exact same
problem is present when playing back with VLC.

So yes, there seems to be a problem with ffmpeg. I think the problem is that
canon's MJPEG uses YUV 4:2:2, and that is converted to YUV 4:2:0 before x264's
encoding. I think this is the buggy part where the bug gamma comes from.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2049>
________________________________________________

Reply via email to