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

FFmpeg trac at avcodec.org
Wed Mar 31 03:40:51 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:17 Balling]:

 > >No "superblack" by your definition
 >
 > There is no superblack in bmp. It is full range, superblack does not
 exist in full range. But it does exist in avc stream. That is again, if
 there is no another bug in --gamut-warning. See https://github.com/mpv-
 player/mpv/issues/8161

 I never said there was "superblack" in BMP . Your defintion of
 "superblack" was Y<16 . BMP is RGB not Y

 I said: "If you take that bmp , Ymin is 16, Ymax is 235 when you use
 standard range equations to convert RGB to YUV . No "superblack" by your
 definition"




 For 3.mp4, the mpv --gamut-warning is purely from lossy encoding. Try --qp
 0 or --crf 0. "random" values that end up mapping to out of gamut RGB
 values.

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


More information about the FFmpeg-trac mailing list