DGHDRtoSDR 1.15 possible bug

Support forum for DGDecNV
Post Reply
DAE avatar
kramel
Posts: 4
Joined: Sat Nov 20, 2021 2:28 pm

DGHDRtoSDR 1.15 possible bug

Post by kramel »

Hello,
Using DGHDRtoSDR v1.15, I am unable to set the 'white' parameter higher than 2000. Any number greater than 2000 results in error message:

Code: Select all

DGHDRtoSDR: for PQ white must be 1-4000
AviSynth+ v3.7.0 (r3382)
DGDecNV 236
DGHDRtoSDR 1.15

Here's my very simple script:

Code: Select all

LoadPlugin("E:\Mpeg\tools\dgindexnv\x32 Binaries\DGDecodeNV.dll")
LoadPlugin("E:\Mpeg\tools\dghdrtosdr\x32\dghdrtosdr.dll")

DGSource("N:\Any_PQ_HDR_Source.dgi")
DGHDRtoSDR(impl="255",mode="pq",fulldepth=true,white=2100,gamma=0.50,r=1.0,b=1.0,g=1.0,tm=0.9,roll=1.0)
I'm using x32 in the script, but the results were the same using x64. I also tested it with a couple different sources and the results were the same, so I believe the source is irrelevant.

It seems that perhaps DGHDRtoSDR is still internally limiting 'white' to 1-2000 per the old definition of that parameter?
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

DGHDRtoSDR 1.15 possible bug

Post by Rocky »

Please re-download 1.15 and retry. Should be fixed. Thank you for pointing this out and welcome to the forum.
DAE avatar
kramel
Posts: 4
Joined: Sat Nov 20, 2021 2:28 pm

DGHDRtoSDR 1.15 possible bug

Post by kramel »

Tested again with the updated v1.15, and the 'white' parameter is now working as expected, from 1 to 4000.

Thank you for the quick fix, and for the great tools! :bravo:
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

DGHDRtoSDR 1.15 possible bug

Post by Rocky »

Aw, shucks. :oops:
Post Reply