mpv icon indicating copy to clipboard operation
mpv copied to clipboard

support for rtx video hdr

Open Hugs288 opened this issue 1 year ago • 11 comments
trafficstars

nvidia just released rtx video hdr in their newest drivers

https://www.nvidia.com/download/driverResults.aspx/218113/en-us/

it can convert sdr content into hdr and from my testing its really good, i would appreciate if this could be implemented.

Hugs288 avatar Jan 24 '24 17:01 Hugs288

Have you tried https://mpv.io/manual/master/#options-inverse-tone-mapping ?

kasper93 avatar Jan 24 '24 17:01 kasper93

no, ill try it out and see how it compares and post my findings here.

Hugs288 avatar Jan 24 '24 17:01 Hugs288

Need nvidia CumWorks® AI HDR SuperBlasting 5G Smart Cloud Enhancing (Donut Steel and do not ask for technical details or documentation) on my PenisExploder 4000 via DLL injection into chrome.exe to transform my SDR source into what passes as HDR, so that my 400 nit """HDR""" consoomer monitor/television can then crudely tonemap it down to SDR in its display processor again while cranking the saturation up

CounterPillow avatar Jan 24 '24 18:01 CounterPillow

no, ill try it out and see how it compares and post my findings here.

You might also try with libplacebo-opts=gamut_expansion=yes for completeness.

kasper93 avatar Jan 24 '24 18:01 kasper93

ive tried it on a few videos and inverse tone mapping has made 0 difference, im not sure why, does it not work with yuv420 or something?

Hugs288 avatar Jan 24 '24 18:01 Hugs288

need vo=gpu-next and set target-peak and possibly target-colorspace-hint. In short need to configure correctly to output HDR signal and then you can inverse SDR one.

kasper93 avatar Jan 24 '24 18:01 kasper93

alright, thanks, that info should probably be in the manual tbh

Hugs288 avatar Jan 24 '24 18:01 Hugs288

getting rtx video hdr to work has been such a pain in the ass, its very picky about which videos it chooses to alter and sometimes even when it doesnt it puts a load on the gpu anyway -_-, ill probably try again tomorrow

Hugs288 avatar Jan 24 '24 20:01 Hugs288

Here is chromium code to enable appropriate processor through ID3D11VideoProcessor https://github.com/chromium/chromium/commit/b2fae4c98404bec282f24cd7d8a63aced9070fda

Have fun, all it all it is easy patch to make for someone with hardware.

kasper93 avatar Jan 27 '24 18:01 kasper93

if you are on Windows, you only need to download Nvidia App beta and add mpv.exe, then turn on RTX HDR there. work perfectly for me

image 1

limitation: RTX HDR doesn't work with multi monitors, you need to turn other monitors off to use it

aloola18 avatar Apr 10 '24 07:04 aloola18

if you are on Windows, you only need to download Nvidia App beta and add mpv.exe, then turn on RTX HDR there. work perfectly for me

image 1

limitation: RTX HDR doesn't work with multi monitors, you need to turn other monitors off to use it

This works with Stremio? I tried putting the stremio.exe but it still the same as not set. Stremio uses MPV under the hood according to the devs.

JoaoMXN avatar Apr 13 '24 02:04 JoaoMXN