View Full Version : How to reference an AVS script from within an AVS script
1loser
29th July 2002, 16:40
How do I reference an AVS script from within an AVS script?
First of all is it a bad idea to load many plugins and only use 1 or 2 of them at one time? If that's okay than can I place all my plugins in one AVS script and reference it from within another AVS script? If yes than are there some good uses for including an AVS script within another AVS script? If you are infact doing this could you please mention how and why you are doing it.
sh0dan
29th July 2002, 19:10
Originally posted by 1loser
How do I reference an AVS script from within an AVS script?
Import("file.avs")
First of all is it a bad idea to load many plugins and only use 1 or 2 of them at one time?
Can't see any problems in importing several filters.
If that's okay than can I place all my plugins in one AVS script and reference it from within another AVS script?
Also no problem here. Why don't you just try it out, and see if there are eny problems? ;)
If yes than are there some good uses for including an AVS script within another AVS script? If you are infact doing this could you please mention how and why you are doing it.
You can make your own functions for trivial tasks, that just requires a clip, and returns the finished. I've seen someone making NTSC2PAL PAL2NTSC, progressive2fields, etc. Look through the forum for more examples.
WarpEnterprises
29th July 2002, 22:04
Another use could be:
define some settings (the path to your videos,...).
Remember that you can use string, float, int, bool variables and all common operators in avisynth.
eg.
a = "hallo"
b = " world"
BlankClip(color = $A00000).subtitle(a+b)
for adding strings,....
1loser
31st July 2002, 03:27
I tried loading a script consisting of a list of plugins and I only needed to use 2 or 3 of them. CCE didn't like that, it would just close. It's possible that the path of one of them was wrong. I spent enough time on it and decided to move on to something else.
Thanks guys for the suggestions.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.