vaapi: wrong colors on mkv h264 videos
Gstreamer-based media player like totem (gnome videos) and clapper
paint wrong colours in video playback;
I double-checked it with mpv and vlc;
Arch Linux w/ gstreamer 1.22.4-1 on GNOME 44.2 and Wayland
file video properties, from mediainfo
:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 0 min
Bit rate mode : Variable
Bit rate : 7 194 kb/s
Maximum bit rate : 15.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.145
Stream size : 3.02 GiB (90%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Below, screenshots;
PS: I am not an expert but I will stay here to help and dig the issue as I can