Batch scripting
From Avisynth
this is currently a stub; it will be extended
Batch scripting AviSynth is a commonly recurring request at the Avisynth Usage forum at doom9. This guide is a compilation of solutions presented at Avisynth Usage threads, together with links to associated utilities, organised by the type of batch activity requested.
Contents |
[edit] Prerequisites: the commandline toolset
[edit] Commands to loop over files
[edit] Commands to output text in a file
[edit] Tools that accept Avisynth scripts as input
vdub Avs2Avi ffmpeg
[edit] Running the same script on multiple files
[edit] Web application, by sh0dan
Related doom9 thread: [1]
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 the 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.
[edit] Avisynth Batch Scripter
Avisynth Batch Scripter is a freeware graphical user interface for creating multiple AviSynth scripts from a template for multiple video sources.

