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

FFmpeg trac at avcodec.org
Sun Dec 28 02:42:21 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 cehoyos):

 Replying to [comment:18 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
 well.
 >
 > Also, ffmpeg version N-51639-g7775992 was correctly decoding the file,
 so clearly something changed, would at least be helpful to know what.

 (7775992 is from April 2013.)

 FFmpeg behaviour wrt to gray was changed in
 1ba01d3d46e8c200a2527ebafc71d5651084586b in July 2013, see ticket #2684.
 To get the old behaviour, either set input color_range or use the
 extractplanes filter. The patch in comment:11 is another option.

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


More information about the FFmpeg-trac mailing list