Batch Scripting

If you want to run the same filters on a bunch of files, you can use a simple web application to do this. Find it at http://beta.zenaria.com/kpo/avs.html

You must give a script, and supply a directory listing. Then you edit the script, and write "%filename" (without quotes), and everywhere you write this, the filename will be inserted.

To make the directory listing, you can use the command dir /b *.avi >files.txt in the directory containing the files. Remember to remove files.txt in your listing.

An example script could look like this:

avisource("%filename")
crop(16,16,-16,-16)
fielddeinterlace(blend=false)
temporalsoften(2,5,5)
Convolution3d (0, 8, 16, 8, 8, 3, 0)
bicubicresize(448,336)
crop(0,0,448,256)

You can download and use the html-file as a standalone application.

Also see this doom9 thread: [generate avs-script for similar sourcefiles in directory]

You can also use [Avisynth Batch Scripter], an easy to use batch program for AviSynth with a graphical userinterface.

(2007.04.02 01:11:11) (history) BatchScripting . . . . 83.82.9.10