#1073: jpeg yuv444 input to yuv420 output
-------------------------------------+-------------------------------------
Reporter: kaijun61 | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: mjpeg | worksforme
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
The image you provided as an attachment to ticket #1072 (15.jpg) is YUV444
correctly identified by ffmpeg -i 15.jpg pasted by you above. ffplay does
not support displaying YUV444 and therefore has to convert YUV444 to
YUV420 before displaying (this is not a bug in the jpg decoder, but a
limitation of ffplay), mplayer -vo gl for example allows to display YUV444
with libavcodec.
ffmpeg (the trancoding application) does support YUV444, so if you choose
an encoder that accepts YUV444 as input, no such conversion will be
applied, for example:
ffmpeg -i 15.jpg -pix_fmt yuv444p out.tif
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1073#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac