[FFmpeg-trac] #8941(undetermined:new): Wrong color levels with kmsgrab and vaapi

FFmpeg trac at avcodec.org
Tue Nov 3 19:07:03 EET 2020


#8941: Wrong color levels with kmsgrab and vaapi
-------------------------------------+-------------------------------------
             Reporter:  kokoko3k     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  kmsgrab      |               Blocked By:
  vaapi color levels                 |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by kokoko3k):

 Thanks.

 * My display has full output level (but it sets the wrong one and i've to
 use xrandr to manually switch it to full levels every boot; anyway this
 can't be the source of the issue, since i tried another display which is
 correctly identified as full range and the 'issue' persists there too).

 * "I" in mpv reports "limited" for both the cases in comment 8.

 * if i set --video-output-levels=limited in mpv:

   In The case when i saw a good picture in comment 8, it becomes whashed
 out.
   In The case when i saw a bad picture in comment 8, it becomes ok.
 (THANKS!)

 I also tried to switch between full and limited with:
 vf='scale_vaapi=format=nv12:out_range=limited' and with
 setparams=range=limited but nothing seems to have any effect
 I honestly don't know how to set the metadata in ffmpeg, i saw the docs,
 but it just speaks about the "-metadata" option without goind into what
 tags one can use to set the levels range (nor i know if i'm looking into
 the right place).

 Do you still think the problem is in the player side or there is something
 weird going on the ffmpeg one?

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


More information about the FFmpeg-trac mailing list