mpv
mpv copied to clipboard
d3d11va does not forward HDR metadata to VO
Important Information
With gpu-next and hwdec=d3d11va-copy or dxva2-copy the image is significantly darker on HDR content.
Software decoding:
Hardware decoding:
Expected behavior
Same brightness.
Actual behavior
Image is darker.
Log file
Doesn't seem like there's an obvious issue in the metadata:
[vf] [out] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/display SP=4.926108 CL=uhd
[vf] [out] 3840x2160 p010 bt.2020-ncl/bt.2020/pq/limited/display SP=4.926108 CL=uhd
It could be the mastering colorspace primaries. Just to confirm, does --gamut-mode=clip
make the difference go away?
It could be the mastering colorspace primaries. Just to confirm, does
--gamut-mode=clip
make the difference go away?
Yes, with clip the problem completely goes away.
Old issue, and no longer as pressing since --gamut-mode=clip
is now the default behavior, but the likely culprit here is that d3d11va
hwdec does not forward all HDR mastering metadata, by the sound of it.
@FoLLgoTT Could you test with the latest version? There were fixes recently in this area and to my knowledge all metadata is passed correctly now with -copy
hwdec.
@kasper93 I don't seen any difference anymore. Thank you! :-)
Seems like this was fixed? Closing.