grannyGeek
2nd July 2007, 09:11
Every time I start to fool myself into believing I'm getting a handle on this stuff, the noob stick flies up and whacks me in the face.
Using VDubMod 1.5.10.2 , VirtualDub 1.6.19, and AviSynth 2.57
When I import an avs script into my main script that has some of the same names used for variables, the main script processes the import before it does the main script.
(confused yet???)
For example
my main script has some named variables for clips
vpath = "C:\Captures\"
a = avisource(vpath +"blahblah.avi").trim(15,1500)
b - avisource(vpath + "blah2.avi").trim(75,9000)
c = import(vpath+"manyTrims.avs")
A+B+C
Now, the "manyTrims" script also has other clips named
a, b, c.
When I load the Main script, the a, b, c clips listed in the imported "ManyTrims" avs appear on the timeline first, then the A and B clips listed in Main script.
I tried this with two separate scripts, it happened both times.
I ended up going into the imported scripts and changing the variable names so there would be no conflict.
I used to do this frequently with AviSynth 2.55, and it never happened then.
So, is this a change in the way the new AviSynth version handles imported scripts, or is it user error?
If it is my error, what am I doing wrong, and how do I fix it?
Thanks in advance for any input ---
Regards -
granny
Using VDubMod 1.5.10.2 , VirtualDub 1.6.19, and AviSynth 2.57
When I import an avs script into my main script that has some of the same names used for variables, the main script processes the import before it does the main script.
(confused yet???)
For example
my main script has some named variables for clips
vpath = "C:\Captures\"
a = avisource(vpath +"blahblah.avi").trim(15,1500)
b - avisource(vpath + "blah2.avi").trim(75,9000)
c = import(vpath+"manyTrims.avs")
A+B+C
Now, the "manyTrims" script also has other clips named
a, b, c.
When I load the Main script, the a, b, c clips listed in the imported "ManyTrims" avs appear on the timeline first, then the A and B clips listed in Main script.
I tried this with two separate scripts, it happened both times.
I ended up going into the imported scripts and changing the variable names so there would be no conflict.
I used to do this frequently with AviSynth 2.55, and it never happened then.
So, is this a change in the way the new AviSynth version handles imported scripts, or is it user error?
If it is my error, what am I doing wrong, and how do I fix it?
Thanks in advance for any input ---
Regards -
granny