[FFmpeg-trac] #9813(undetermined:closed): lutrgb not clipping all pixels

FFmpeg trac at avcodec.org
Wed Jun 15 19:31:30 EEST 2022

#9813: lutrgb not clipping all pixels
             Reporter:  chris319     |                    Owner:  (none)
                 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):

 >"Total video signal range" is given as 1 - 254 in 8-bit video.

 This is only limited range, both RGB and YCbCr, full range YCbCr and full
 range RGB do not have this limitation. They have no reserved values, as
 sync in HDMI for them happens outside the band, not in-band. Moreover EBU
 R 103 allows 1% of pixels to be out-of-gamut, because you are supposed to
 preserve highlights that may be superwhite. Superwhite works on all normal
 flagship TVs.

 > -qp 0 The following code leaves behind pixels outside the 8-bit range of
 16 - 235, including pixels of 0 and 255.

 How can you be sure? Do you use -vf extractplanes=r to check it? What is
 the pattern? As I said we do not support limited range RGB, there is no
 way to get what you want.
Ticket URL: <https://trac.ffmpeg.org/ticket/9813#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list