HDR to SDR tonemapping profile/setup (gpu-next) #14757
Replies: 9 comments 25 replies
-
|
Thank you! I am using settings and I am very satisfied. |
Beta Was this translation helpful? Give feedback.
-
|
Nice, looking forward to trying this. Have you given any thought to setting up a repo with releases? Might be a little easier for users to receive updates 🤔 Regardless, thanks for this! |
Beta Was this translation helpful? Give feedback.
-
|
I used your preset and it looks great, but I’m wondering why you set the saturation to -20. Is it just a personal preference? It looks a bit washed out on my monitor. |
Beta Was this translation helpful? Give feedback.
-
|
Btw what would it look like if using |
Beta Was this translation helpful? Give feedback.
-
|
This is really good. Although, it seems like the shaders are being applied to the entire window rather than just the media. I noticed my UI controls and subtitles are greyed out now and are kinda hard to see since they aren't their regular bright white anymore. Is there a way to fix this? |
Beta Was this translation helpful? Give feedback.
-
|
Would this work with mpv-android? Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
im seeing visible brightness fluctuations using your script in bright scenes |
Beta Was this translation helpful? Give feedback.
-
|
I was playing is there no inbuilt solution for this in mpv? is this being worked on? I saw #15340, but i am not sure if this is related. I tried showtime ( gnome video player ) and it looks good there but it using alot of CPU. I tried VLC but it is same here, the situation is little bit improved in vlc-git but not fully. is this problem niche? from now on i will be careful not to get HDR/DV files. Also, the tonemapping is quite good on https://github.com/mpv-android or https://github.com/marlboro-advance/mpvEx, can you take a look. I think its even better than what the current config is doing. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for sharing the profile! I think it looks much better than the default. A quick question, is there a specific reason to use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I worked long on that HDR profile. Actually it was the reason how I got to mpv in the first place (since v.36) and finally I am satisfied. I made many comparisons in dark, bright, midtone scenes. Also over multiple productions, not only one sample. In very saturated once also. I wouldn't call it perfect as there are always compromises with tonemapping, but it is better than the default mpv settings. You can set it up and enjoy your content.
The strong side of this project is the customizability, you can go to every shader and tune it how you want, turn it on or off and see what suits you best. It's not limited like the most build in once, where you have one setting for nits and the other one for gammut-mapping.
It is a combination of mpv, hdr-toys and a few custom-made shaders/script
honorable mentions: @natural-harmonia-gropius from hdr-toys, @butterw from bShaders, folk from discord, reddit and even chatgpt.
Download:
mpv.HDR.build.2026.zip (new latest January 2026)
update (January 2026): improved gamma.lua script
mpv HDR build 2025.zip (old August 2025)
update (August 2025):
af=lavfi=[dynaudnorm=p=0.65:m=2:f=100:g=15:s=30]to normalize audio (control peaks, better dialogue/speech), you can disable it for sound systems etc.m=2(max gain) boosts quiet parts andp=0.65limits max peak to 65%portable_config.zip (old) (2024)
Info:
sub-color='#e3cd00'(yellow)Dolby Vision Build
Dolby Vision.zip
you can also use this profile for Dolby Vision, but you loose the dynamic
hdr-compute-peakability (this is the issue #11338 (comment))To make this work you have to disable
vf=format:dolbyvision=no:hdr10plus=noand delete the lua script from scripts folder.difference between this and default mpv:
default mpv will desaturate dark scenes almost to black and white while my profile keeps the saturation normal
I opened issues for that here haasn/libplacebo#304 and here #15340
this profile:

default mpv:

Beta Was this translation helpful? Give feedback.
All reactions