Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,876
|
*SOLVED* DGIndexNV __del__ dont work
*SOLVED* , see post #4.
What am I doing wrong with the __del__ template macro ? I use the __del__ template macro all of the time in DGIndex and works ok, but in DGIndexNV, I have not (I think) had it ever work as desired. Here is a template [or at least the start of it] Code:
VideoFileName ="__vid__" AudioFileName ="__aud__" AudioDelay =Value("__del__") # this works fine in DgIndex # below just testing if works TEST_DEL = "__del__" TEST_CROP = "__crop__" TEST_H2S = """__h2s__""" # EDIT: Fixed, Enclosed in Triple dQuotes, as h2s macro can contain double quotes Code:
VideoFileName ="D:\___BLURAY\T\Inch.dgi" AudioFileName ="D:\___BLURAY\T\Inch_track2_eng_DELAY 3003ms.dts" AudioDelay =Value("__del__") # dont work in DgIndexNV - should be Value("3.003") # below just testing if everything works TEST_DEL = "__del__" TEST_CROP = ",ct=24,cb=24,cl=0,cr=0" TEST_H2S = """mode="pq",white=2000,black=0,gamma=0.42,r=1.00,g=1.00,b=1.00,tm=1.00,roll=0.70""" # EDIT: Fixed, Enclosed in Triple dQuotes, as h2s macro can contain double quotes and also did the "Enable HDR to SDR" thingy. What terrible sin did I commit. EDIT: I can easily extract delay from the audio file name if necessary. EDIT: Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 14th May 2022 at 20:22. |
|
![]() |
![]() |
![]() |
#3 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,876
|
Thank you but, As noted in post #1,
Code:
AudioDelay =Value("__del__") # dont work in DgIndexNV - should be Value("3.003") it is a safety measure against script failure (Not sure why it fails insert, maybe dont insert delay in DGIndex when extracting audio to WAV {where any delay is always auto fixed to 0.0 in the WAV}). DelayAudio(__del__) causes failure as __del__ will not be defined; nor even exist. Preset __del__ = 0.0 beforehand as another failure prevention solution would where macro IS replaced, result in 0.0 = 0.0 and script failure "Script Error: Left operand of '=' must be a variable name" Anyways, Graft PM'ed that is not implemented at present and is in the queue for a coming version of DGIndexNV. Thanks again. ![]() EDIT: I did actually try with DelayAudio(__del__) but no change, resulted in DelayAudio(__del__) and script failure. [tried, just in case Dquotes confused DGIndexNV for some reason]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 12th May 2022 at 12:37. |
![]() |
![]() |
![]() |
#4 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,876
|
Problem solved in DG_IndexNV, v243, see here,
https://forum.doom9.org/showthread.p...64#post1969064 Thanks DG, and kedautinh12 for posting the link [eyes like a hawk that man]. ![]()
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 14th May 2022 at 20:23. |
![]() |
![]() |
![]() |
Tags |
dgindexnv |
Thread Tools | Search this Thread |
Display Modes | |
|
|