[FFmpeg-trac] #2452(undetermined:closed): decoding yuv420p to rgb shifts luminance down

FFmpeg trac at avcodec.org
Wed Dec 24 20:13:34 CET 2014

#2452: decoding yuv420p to rgb shifts luminance down
             Reporter:  burek        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |  needs_more_info
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  1

Comment (by glopes):

 Replying to [comment:17 michael]:
 > The input file is correctly decoded, the fault is in what / how created
 the input file. I would guess that the wrong pixel format was used mixing
 jpeg and mpeg luma ranges

 Well, in regards to "what" created the input file, it was FFmpeg itself,
 so if there is anything wrong in the encoder it is a bug in FFmpeg as

 Also, ffmpeg version N-51639-g7775992 was correctly decoding the file, so
 clearly something changed, would at least be helpful to know what.

 Did anyone try the patch in comment:11?

 I'll try encoding/decoding grayscale in the latest ffmpeg and report what
 I find there.

Ticket URL: <https://trac.ffmpeg.org/ticket/2452#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list