Log in

View Full Version : Dumb AVISYNTH question


dbzj14
18th February 2009, 17:45
So I use MeGUI to encode some videos but I have found several .avs scripts that I would like to give a try, problem is is that I dont know really how to use the .avs script. I use the avisynth creator in MeGUI and i see where you can manually edit the script & what you want to do but how do I call the .avs file from that window? Say I want to use AnimeIVTC, how do I call that script in the MeGUI avisynth creator window?

ankurs
18th February 2009, 18:28
Import("C:\Program Files\AviSynth 2.5\plugins\AnimeIVTC.avs")

rkalwaitis
18th February 2009, 22:04
ankurs is right, you must import your script as above. The megui script may look something like this

Import("C:\Program Files\AviSynth 2.5\plugins\AnimeIVTC.avs")

your plugins should be in the same folder as the avs file if not, they will need to be loaded as well.

LoadPlugin("C:\Users\baba\Desktop\SeeSaw\MaskTools.dll")#example of loading a plugin not in Avisynth plugins folder.

DGDecode_mpeg2source("C:\Users\baba\Desktop\anime\VTS_02_1.d2v", cpu=4, info=3)
ColorMatrix(hints=true, threads=0)

##now you can use your avs file animeIVTC##
AnimeIVTC(your specific parameters)

Nightshiver
18th February 2009, 23:18
If you simply make the script .avsi, it will autoload.

steptoe
19th February 2009, 00:45
I have tried the same thing with DVD-RB Pro as that also uses AviSynth, but if you try to use .avsi to autoload functions or scripts and assume it will also autoload filters it fails everytime

So, by manually telling avisynth to load the filters and functions I have zero problems using very simple or very complex functions like TemporalDenoise

Some 3rd party software that uses AviSynth just does not like autoloading anything. By specifying what filters to load you avoid any frustration trying to work out why scripts are failing. The only difference it makes its a longer syntax


The only problem I usually have is tracking down the sheer number of filters and external functions these use, once I have all that its fine

Nightshiver
19th February 2009, 02:40
The original poster was talking about MeGUI, not DVD-RB. With MeGUI, filters will autoload themselves if they are in the avisynth/plugins directory.