HDR -> SDR conversion

These CUDA filters are packaged into DGDecodeNV, which is part of DGDecNV.
User avatar
zys4416
Posts: 9
Joined: Fri Jul 29, 2011 9:04 pm

Re: HDR -> SDR conversion

Post by zys4416 » Tue Sep 10, 2019 8:07 am

Rocky wrote:
Mon Sep 09, 2019 8:21 pm
I tried both of these. Each simply brought up a player and played the stream. I could not see how to download the stream.
Just one step, right-click on the player and select "Save video as..." :D

User avatar
Rocky
Posts: 302
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Tue Sep 10, 2019 8:30 am

Great, thank you. You are so kind.

User avatar
Rocky
Posts: 302
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Tue Sep 10, 2019 4:24 pm

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!

User avatar
hydra3333
Posts: 169
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: HDR -> SDR conversion

Post by hydra3333 » Wed Sep 11, 2019 4:06 am

Whoopee :)

User avatar
Rocky
Posts: 302
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Wed Sep 11, 2019 11:13 am

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.

User avatar
hydra3333
Posts: 169
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: HDR -> SDR conversion

Post by hydra3333 » Fri Sep 13, 2019 11:35 pm

Nice work. Looking forward to seeing demos :salute:

User avatar
Rocky
Posts: 302
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Sat Sep 14, 2019 5:50 am

Thanks. Gonna be a few days as I have to complete some coaching certification renewal training first.

User avatar
Rocky
Posts: 302
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Mon Sep 16, 2019 8:02 pm

Finished all my certs, concussion protocol and doping stuff was new this year. Good to go until end of 2020. :)

Back to work...

User avatar
Rocky
Posts: 302
Joined: Fri Sep 06, 2019 12:57 pm

Re: HDR -> SDR conversion

Post by Rocky » Wed Sep 18, 2019 8:36 am

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. :P

Delete your INI file first and then open and close DGIndexNV! Then begin testing.

User avatar
Bullwinkle
Posts: 64
Joined: Thu Sep 05, 2019 6:37 pm

Re: HDR -> SDR conversion

Post by Bullwinkle » Wed Sep 18, 2019 8:58 am

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

Post Reply