Dark-Cracker
3rd August 2003, 19:50
hi,
apparently there is a bug if u use the "import" function twice (2 x) in the avs script.
i try to import 2 .avs script in a another .script
----------- script 1 (basic1.avs) ----------
Source1 = "D:\divx\Cowboy Bebop - Session 09 - fr - Jamming With Edwa.AVI"
clip1 = aviSource(Source1).killaudio().trim(0,600)
return clip1.converttorgb32()
---------------------------------------------
----------- script 2 (basic2.avs) -----------
Source2 = "D:\divx\Cowboy Bebop - Session 09 - fr - Jamming With Edwa.AVI"
clip2 = aviSource(Source2).killaudio().trim(500,800)
return clip2.converttorgb32()
---------------------------------------------
if i launch each of the scipt it work fine in the mediaplayer but if i use :
-------------- final.avs -------------------
aaa = import("basic1.avs")
bbb = import("basic2.avs")
fff=aaa+bbb
return fff
--------------------------------------------
i have the error :
avisynth open failure :
error initializing audio stream decompression:
the requested conversion is no possible.
check to make sure you have the requiered codec.
of course i have this error with or without the .killaudio function.
and if i remove one of my import function it work fine.
i have also use different variable name in the imported script (just in case import function use them as global) but without success.
hope this problem could be fixed.
Bye.
apparently there is a bug if u use the "import" function twice (2 x) in the avs script.
i try to import 2 .avs script in a another .script
----------- script 1 (basic1.avs) ----------
Source1 = "D:\divx\Cowboy Bebop - Session 09 - fr - Jamming With Edwa.AVI"
clip1 = aviSource(Source1).killaudio().trim(0,600)
return clip1.converttorgb32()
---------------------------------------------
----------- script 2 (basic2.avs) -----------
Source2 = "D:\divx\Cowboy Bebop - Session 09 - fr - Jamming With Edwa.AVI"
clip2 = aviSource(Source2).killaudio().trim(500,800)
return clip2.converttorgb32()
---------------------------------------------
if i launch each of the scipt it work fine in the mediaplayer but if i use :
-------------- final.avs -------------------
aaa = import("basic1.avs")
bbb = import("basic2.avs")
fff=aaa+bbb
return fff
--------------------------------------------
i have the error :
avisynth open failure :
error initializing audio stream decompression:
the requested conversion is no possible.
check to make sure you have the requiered codec.
of course i have this error with or without the .killaudio function.
and if i remove one of my import function it work fine.
i have also use different variable name in the imported script (just in case import function use them as global) but without success.
hope this problem could be fixed.
Bye.