Just one step, right-click on the player and select "Save video as..."
HDR -> SDR conversion
Re: HDR -> SDR conversion
Great, thank you. You are so kind.
Re: HDR -> SDR conversion
I've got the HLG EOTF re-coded and working. And I have DGHDRtoSDR() modified to support both PQ and HLG via a mode parameter. I'll add the HLG support to DGIndexNV and then give y'all both of them. Whee!
Re: HDR -> SDR conversion
I've got HLG to SDR working in DGIndexNV. It's kinda nice. You can set up the HLG conversion and then just click and unclick 'Enable HDR to SDR' to see the difference between real HLG conversion and backwards compatible display. The color shifts from backwards compatible handling become very obvious.
Now I have to do code reviews, regression testing, and documentation.
Now I have to do code reviews, regression testing, and documentation.
Re: HDR -> SDR conversion
Thanks. Gonna be a few days as I have to complete some coaching certification renewal training first.
Re: HDR -> SDR conversion
Finished all my certs, concussion protocol and doping stuff was new this year. Good to go until end of 2020.
Back to work...
Back to work...
Re: HDR -> SDR conversion
OK, girls and boys, I have stuff ready for your testing. I want to wait for your feedback before releasing formally. The package is here:
http://rationalqm.us/misc/hlg_test.rar
Please read the docs carefully as the parameters have changed. This was quite a non-trivial revision so your careful testing under Avisynth+ and Vapoursynth (native), as well as checking the docs, would be very helpful. Thank you and have fun.
Delete your INI file first and then open and close DGIndexNV! Then begin testing.
http://rationalqm.us/misc/hlg_test.rar
Please read the docs carefully as the parameters have changed. This was quite a non-trivial revision so your careful testing under Avisynth+ and Vapoursynth (native), as well as checking the docs, would be very helpful. Thank you and have fun.
Delete your INI file first and then open and close DGIndexNV! Then begin testing.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: HDR -> SDR conversion
Sure, sure, thanks Rocky, but why bother when UHD is useless? People call me useful. Whoo. Look at the last figure on this page and tell me I am a foolish Moose.
https://www.lightillusion.com/uhdtv.html
Also, while we're pointing out the insanity remember that HDR10 PQ (absolute brightness) requires a very controlled viewing environment, and horrors metadata. But HLG is relative and a simple control can scale things very well for different environmental brightness. Just google up some PQ versus HLG action. PQ should be sent to Siberia!
https://www.smpte.org/sites/default/fil ... andout.pdf
Finally, this may enlighten you:
https://www.youtube.com/watch?v=--PyKhohVcY
https://www.lightillusion.com/uhdtv.html
Also, while we're pointing out the insanity remember that HDR10 PQ (absolute brightness) requires a very controlled viewing environment, and horrors metadata. But HLG is relative and a simple control can scale things very well for different environmental brightness. Just google up some PQ versus HLG action. PQ should be sent to Siberia!
https://www.smpte.org/sites/default/fil ... andout.pdf
Finally, this may enlighten you:
https://www.youtube.com/watch?v=--PyKhohVcY
Re: HDR -> SDR conversion
Umm, OK.
I fixed a small bug in DGIndexNV in the test package, so please re-download and update for testing.
I fixed a small bug in DGIndexNV in the test package, so please re-download and update for testing.
Re: HDR -> SDR conversion
Found some more bugs. Temporarily withdrawing. Standby...
Re: HDR -> SDR conversion
OK, hlg_test.rar is back online so re-download and update DGIndexNV. Have at it!
Re: HDR -> SDR conversion
I've tuned Meari sample to match mpv's output (slightly brighter, but looks better for me)
PC: RTX 2070 | Ryzen R9 5950X (no OC) | 64 GB RAM
Notebook: RTX 4060 | Ryzen R9 7945HX | 32 GB RAM
Notebook: RTX 4060 | Ryzen R9 7945HX | 32 GB RAM
Re: HDR -> SDR conversion
Ah, good to hear. Thank you.
You probably noticed most of the goodness for PQ is at the top end of the range for white and it is nonlinear. HLG in contrast works much better and feels linear. I'm going to try linearizing the PQ parameter range, it's a GUI issue and a functional one, because we are lacking granularity at the top end.
You probably noticed most of the goodness for PQ is at the top end of the range for white and it is nonlinear. HLG in contrast works much better and feels linear. I'm going to try linearizing the PQ parameter range, it's a GUI issue and a functional one, because we are lacking granularity at the top end.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: HDR -> SDR conversion
Gonna tonemap the white parameter space, eh, Rock? Whoop.
Re: HDR -> SDR conversion
Everything released in slipstream 188. Note that the PQ white range is now 1-3000 to give some more granularity at the top end (PQ white range not yet linearized).
Re: HDR -> SDR conversion
Cool!!!!
I have tested my HLG sources, the result is pretty perfect by now.
I will try more samples, this is very exciting!
btw, new 'Enable HDR to SDR' GUI is easy to use
I have tested my HLG sources, the result is pretty perfect by now.
I will try more samples, this is very exciting!
btw, new 'Enable HDR to SDR' GUI is easy to use
Re: HDR -> SDR conversion
Thrilled that you like it! Thank you for the feedback.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: HDR -> SDR conversion
Hey Rocky, are you sure you are implementing the BT.2390 EETF correctly (see Figure 20)? That's how we should scale for target brightness in PQ, not just change the multiplier for the EOTF. Perhaps that would give a more linear feel. People say I have that linear feel. Meese rule, and, you know, hoomans drool! You know it's true.
Re: HDR -> SDR conversion
Wow Bullwinkle. What would we do without you!? Here we go. Whee!
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: HDR -> SDR conversion
That's nothing Rocky watch me pull a rabbit out of my hat...
Re: HDR -> SDR conversion
Out of curiosity, DGHDRtoSDR uses Reinhard, right?
Re: HDR -> SDR conversion
Yes, it does.
HDR -> SDR conversion
Where can I find DGHDRtoSDR latest release?
On main site I can download 1.13 only.
Do you plan to integrate the plugin into DGDecodeNV dll?
On main site I can download 1.13 only.
Do you plan to integrate the plugin into DGDecodeNV dll?