IIRC, PIX_FMT_YUVJ420P is depricated. We are expected to use colorrange.

On Friday, June 3, 2011, Kirit Patel <[email protected]> wrote:
> Hi!,
>   I am getting bad image quality when converting from PIX_FMT_YUVJ420P  to 
> PIX_FMT_YUV420P
>
>>>
>                 img_convert_ctx = sws_getContext(720, //SrcWidth
>                                      480, //SrcHight
>                                      PIX_FMT_YUVJ420P //SrcPixelFormat
>                                      720, //DestWidth
>                                      480, //DestHeight
>                                      PIX_FMT_YUV420P  //DestPixelFormat
>                                      SWS_FAST_BILINEAR | SWS_PRINT_INFO, 0, 
> 0, 0);
>
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to