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

FFmpeg trac at avcodec.org
Wed Mar 31 07:34:57 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 pdr0):

 Replying to [comment:23 Balling]:
 > Replying to [comment:22 pdr0]:
 > >You might be able to use VP9 in RGB mode
 > There is no RGB support yet, at least in avc. There is 10 bit pipeline,
 but there may be some bugs in it, like HDR propogation on SDR 10 bit
 video. See

 Nice to see some 10bit progress!

 VP9 RGB doesn't seem to work properly in chrome either (but decodes ok
 with other decoders)

 But interestingly  AV1 works for RGB (gbrp), but chrome is +1 blue channel
 for some reason 238,77,46 . (my chrome is 89 and up to date)

 ffmpeg -t 5 -r 1 -loop 1 -i 1280x720_RGB_238,77,45.png -c:v libaom-av1
 -crf 18 av1_rgb.webm -y

 Color space                              : RGB
 Bit depth                                : 8 bits
 Writing library                          : Lavc58.132.100 libaom-av1
 Default                                  : Yes
 Forced                                   : No
 Color range                              : Full
 Color primaries                          : BT.709
 Transfer characteristics                 : sRGB/sYCC
 Matrix coefficients                      : Identity

   Stream #0:0: Video: av1 (High), gbrp(pc, gbr/bt709/iec61966-2-1,

 Other players display it correctly as 238,77,45, including firefox,
 ffplay,  mpv

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

More information about the FFmpeg-trac mailing list