mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.85k stars 2.85k forks source link

Using target-colorspace-hint=yes in sdr mode shows wrong colors in fullscreen #11558

Open mnisius opened 1 year ago

mnisius commented 1 year ago

Important Information

Provide following Information:

Reproduction steps

Use this config: target-colorspace-hint=yes

Set Desktop to SDR, start a HDR movie. Toggle fullscreen. My TV then switches to HDR Mode but the colors look wrong. Faces look yellow (the actors look kind of sick). Red colors are toned down by a lot.

I can fix this manually if I force my TV to recognize the signal as BT.2020. Then the colors look correct but in Auto Mode it assumes BT.709 and everything looks wrong.

Expected behavior

TV is switched to HDR Mode with BT.2020 and the colors look right

Actual behavior

TV is switched to HDR Mode but with BT.709 color space, mpv however is using BT.2020 and the colors look wrong.

Log file

mpv.log

Sample files

it works with any hdr movie but you need an hdr screen to test it.

dontpokethebear3893 commented 1 year ago

I'm experiencing something similar with my AW3423DW on Windows 11. When I play SDR content using target-colorspace-hint=yes it all looks very dim and washed out. This is true whether Windows HDR mode is enabled or disabled, and true in both full screen and windowed mode.

I have a fairly simple mpv.conf file so I'll just post the contents here:

vo=gpu-next gpu-api=vulkan hwdec=no target-colorspace-hint=yes target-peak=960 scale=ewa_lanczos dscale=mitchell interpolation=yes tscale=sphinx tscale-radius=0.49 tscale-blur=0.6991556596428412

dontpokethebear3893 commented 1 year ago

Correct in MPC-HC. Incorrect in MPV.

Screenshot 2023-05-11 200734