[FFmpeg-trac] #8941(undetermined:closed): Wrong color levels with kmsgrab and vaapi
FFmpeg
trac at avcodec.org
Tue Jun 8 02:00:37 EEST 2021
#8941: Wrong color levels with kmsgrab and vaapi
-------------------------------------+-------------------------------------
Reporter: kokoko3k | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution: invalid
Keywords: kmsgrab | Blocked By:
vaapi color levels |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Balling):
* status: new => closed
* resolution: => invalid
Comment:
Okay, I am closing this. --video-output-levels=limited only affects the
display (i.e. output). That means that otherwise your display is set to
limited but you somehow misconfigured it to full (as you said yourself).
This is also not a duplicate of #8862.
Again, the problem like this cannot be fixed by boot hacks, because all OS
depends on this metadata. As for how to set metadata for file... very
simple.
-vf scale=out_range=pc -color_range pc, since swscale defaults to limited
range bt.601 (zscale default to source range).
>but it sets the wrong one
This is called selectable quantisation and if available on YCbCr can cause
all kind of problems since nothing supports that.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8941#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list