[FFmpeg-trac] #9167(undetermined:closed): Color changed when an image converting to video

FFmpeg trac at avcodec.org
Tue Mar 30 21:46:20 EEST 2021

#9167: Color changed when an image converting to video
             Reporter:  kvsico       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by Balling):

 >because the color models do not overlap perfectly

 They do not overlap perfectly. Of course if you are doing limited vs. full
 range it is obvious. But even if you do full vs full, some YCbCr colors
 will be out-of-gamut for RGB. For example, YCbCr BT.709 values 139, 151,
 24 R'G'B' is -21, 182, 181 (which is what is used for xvYCC, but that is
 another topic).

 You can use calculator here: https://res18h39.netlify.app/color It the
 only one I found that is correct including BT.1886/XYZ and other stuff. Of
 course no way to reshape BT.1886 which is not perfect 2.4 gamma.

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

More information about the FFmpeg-trac mailing list