[Libav-user] Bad image quality with sws_scale when going from PIX_FMT_YUVJ420P to PIX_FMT_YUV420P

Kirit Patel kiritus at gmail.com
Fri Jun 3 14:10:18 CEST 2011


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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110603/562e28e8/attachment.html>


More information about the Libav-user mailing list