[FFmpeg-trac] #9573(avcodec:closed): libx264 ignores color range flag for gray10 input

FFmpeg trac at avcodec.org
Fri Dec 31 13:42:49 EET 2021


#9573: libx264 ignores color range flag for gray10 input
-------------------------------------+-------------------------------------
             Reporter:  Diederick    |                    Owner:  (none)
  Niehorster                         |
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:  invalid
             Keywords:  libx264      |               Blocked By:
  gray10                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 >Seems you do not have to set a profile, the right one is automatically
 selected:

 That is what I meant! Profile high444 predictive is only forced by qp 0,
 it cannot be forced by -profile:v high444, also crf 0 does not force
 high444 profile and thus is not lossless. Maybe the cause is deprecation
 of high 444 itself in ITU spec in favour of predictive.

 >Extracting a y plane when there only is a y plane is perhaps a bit non-
 sensical

 Well, actually you're not supposed to get black for white and white for
 black at the very least. That is to you Paul, FFV1 does not work with your
 extractplanes.

 >what it is with scale=in_range=pc

 No, the bug is that SDL2 used in ffplay cannot play YCbCr in 4:4:4 variant
 in full range. It does respect full range and sees it in mkv metadata and
 does correctly convert and set output metadata. Unfortunately for you,
 ffplay does not play the result correctly.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9573#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list