[Libav-user] how to encode avframe as jpeg format

qw applemax82 at 163.com
Tue Sep 22 07:51:41 CEST 2015


Hi,


Long time ago, PIX_FMT_YUVJ420P is used as input format to jpeg encoder. Current ffmpeg version suggests 'PIX_FMT_YUVJ420P  planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV420P and setting color_range'.


If PIX_FMT_YUV420P is used as input format, how to set color_range for jpeg encoder? Where can I find jpeg encoding example?


Thanks!


B.R.


Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150922/1847e3fa/attachment.html>


More information about the Libav-user mailing list