[FFmpeg-trac] #4978(swscale:closed): Color range is wrong in media players, correct in PNG output

FFmpeg trac at avcodec.org
Sun Nov 1 17:41:33 CET 2015


#4978: Color range is wrong in media players, correct in PNG output
-------------------------------------+-----------------------------------
             Reporter:  Sesse        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  swscale
              Version:  unspecified  |               Resolution:  wontfix
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by Sesse):

 I added -show_streams and it says:

 color_range=tv
 color_space=bt709
 color_transfer=bt709
 color_primaries=bt709

 Then I copied-and-pasted the code from there to -show_frames and it says:

 color_range=tv
 color_space=bt709
 color_transfer=bt709
 color_primaries=bt709

 Ie., the same. So ffmpeg is indeed pushing this correctly through, the
 players are just not doing it correctly.

 I'll try switching to BT.601 YUV coefficients; with some luck, it will at
 least be better most places, and it will still be correct assuming a
 player that cares.

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


More information about the FFmpeg-trac mailing list