What would really help would be suggestions for better default parameters. I've pretty much picked them arbitrarily, so any guidance from these real use cases would be valuable for setting them more appropriately. Ideally, each mode would work pretty fine out of the box, although tweaking may be required for some sources.
On another matter, does anyone have any 12-bit HDR sources? I know they are possible in theory but I haven't seen any in practice.
For better default settings would be an easy task, but
I can pick an image and vary one setting at a time but it would require some input from others with suggestions, since this a subjective case
Okay, let's start
All samples resized to 1280 x 720 at 8 bits
SDR
light=40,gamma=0.40
light=40,gamma=0.45
light=45,gamma=0.40
Please feel free to suggest setting tweaks but let us keep it to one change per so we can better see the effects
If a different clip is desired please let me know the criteria, i.e. light colour etc
I think white=2.5 for Hable is a bit overkill as default, a lot of highlights are overblown, it should be at least 5.
The old default of ~11 was too high
"Better default settings"
light=55,gamma=0.42
SDR image is 1920 x 1080 24 bit, so HDRtoSDR was resized to same
Any suggestions/recommendations for adjustments to settings are welcome
Error:
Cannot load file 'C:/Program Files (x86)/AviSynth+/plugins64+/DGHDRtoSDR.dll". Platform returned code 126: The specified module could not be found.
I don't have DGDecodeNV and I don't have an nVidia GPU.
Could you please help to locate where is the problem?
Please re-download and try again, as I have configured nvcuda.dll as delay loading. Of course you need the parameter impl="sw" or you will receive an error. Please advise if it is loading for you.
To those who have posted samples and suggested new default values: Thank you! Before deciding on the final defaults, which of course will use your input, I am adding a graph feature that will allow the tonemapping curve to be visualized. It should help us both to be more scientific in our conclusions and to more easily know the effects of our parameter settings.
To those who have posted samples and suggested new default values: Thank you! Before deciding on the final defaults, which of course will use your input, I am adding a graph feature that will allow the tonemapping curve to be visualized. It should help us both to be more scientific in our conclusions and to more easily know the effects of our parameter settings.
That would be a great help to hopefully point out small effects
For sure. I have it working and I have already discovered that Hable (with the commonly used parameters) is not doing what we think, it looks like a gamma correction; there is no toe, linear section, and shoulder. I have searched for a user-friendly description of the 8 (!) parameters but not found anything useful, and I haven't been able to find parameters that give the filmic curve. I'm planning to write my own filmic operator with intuitive parameters.
I tested on my laptop with no nVidia and the DLL loads and runs fine. Make sure you have Avisynth+ installed with its run-time dependencies. You can use AVSMeter -avsinfo to check the installation.
For sure. I have it working and I have already discovered that Hable (with the commonly used parameters) is not doing what we think, it looks like a gamma correction; there is no toe, linear section, and shoulder. I have searched for a user-friendly description of the 8 (!) parameters but not found anything useful, and I haven't been able to find parameters that give the filmic curve. I'm planning to write my own filmic operator with intuitive parameters.
The problem now is that we are trying to pick settings for what is meant for a video from a handful of frames
It might look good on 5 frames but not so good on the other 99995 frames in the video
The graph will allow a "visualization" of the overall effect
Great idea
I redownloaded the plugin (1.2 version) and tried again, still not loading. As for sw mode it is specified when doing the tonemap not in loading the plugin so I don't think that is the issue.
Cannot load file 'C:/Program Files (x86)/AviSynth+/plugins64+/DGHDRtoSDR.dll'. Platform returned code 126:
The specified module could not be found.
Dependencies that could not be loaded:
nvcuda.dll
______________________________________________________________________________________________________________________
I think light defaults for Gamma should be left like they are now, it all depends on the film tonemapped so it should be adjusted by the user.
Resized to 720p to take less space
I encountered some issue with highlights with DGHDRtoSDR.
Here's three-way comparison between DG(sw mode, hable) vs. MadVR (130nits, dumb mode, late gamut conversion) vs.VS Hable
The third one with Hable in vapoursynth is using the script here: https://forum.doom9.org/showthread.php? ... ost1832071
"I encountered some issue with highlights with DGHDRtoSDR."
Can you please tell me what the issue is specifically? Refer to specific areas of specific frames and say what you think is wrong with them. I'm not good at guessing games.
Sorry, forgot to point out its in the highlights, look at the lighting in the blue light bars, it looks very unnatural in your implementation while it is ok on source, MadVR and VS's hable tonemap.
The screenshots are taken from frame #400 in the sample clip.