[FFmpeg-devel] MJPG decoder picture quality
Pavel Pavlov
pavel
Wed Jun 9 03:10:23 CEST 2010
> -----Original Message-----
> bounces at mplayerhq.hu] On Behalf Of Baptiste Coudurier
> > [Pavel Pavlov]
> > That's it. It seems that all the problems and bad results came from conversion
> from YUVJ444P to anything that can be rendered.
> > Recently, there was a change suggesting that YUVJ444P is deprecated and
> shouldn't be used. What's the right way to do it from now on?
>
> Decoders should set AVCodecContext->color_range and it should be set to
> AVCOL_RANGE_JPEG.
> pixel format would be PIX_FMT_YUV444P.
> I'm not sure the jpeg decoder does that yet, though, it should be changed.
>
I think I saw some changes like that when reviewing updates to libavcodec.
More information about the ffmpeg-devel
mailing list