Baptiste Coudurier <[email protected]> added the comment:
On 7/5/10 1:46 AM, horvath.agoston wrote: > > 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. No, h264 is not using jpeg colorspace in this case, so the incorrect gamma is only appearing with canon's mjpeg and mplayer. > > 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. No, this is not a problem. VLC plays both videos at the same gamma here. ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2049> ________________________________________________
