[FFmpeg-trac] #1073(avcodec:closed): jpeg yuv444 input to yuv420 output

FFmpeg trac at avcodec.org
Thu Mar 15 16:14:06 CET 2012


#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
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => mjpeg
 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Replying to [comment:2 kaijun61]:
 > ffplay ~/Pictures/15.jpg
 > ffplay version 0.8.9, Copyright (c) 2003-2011 the FFmpeg developers

 This is old, please use current git head.

 > Input #0, image2, from '/home/tang/Pictures/15.jpg':
 >   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
 >     Stream #0.0: Video: mjpeg, yuvj444p

 The decoder (correctly) provides yuvj444p.

 > [scale @ 0x7faefc0016e0] w:854 h:480 fmt:yuvj444p -> w:854 h:480
 fmt:yuv420p flags:0x4

 Since ffplay (the application) only supports showing yuv420p, this
 conversion is necessary. If you use an encoder that supports YUV444 (like
 ffv1, tiff or v308), this conversion is not necessary (the colour dynamics
 may be wrong, but this has nothing to do with yuv444 vs yuv420).

 I hope the explanation is sufficient, I am closing this ticket.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1073#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list