Log in

View Full Version : Writing a .avi/wmv from avisynth using command line


Starduster
4th October 2007, 12:54
It will soon be obvious that I'm new to avisynth... I'm so confused now, I'm not even sure if this is the proper forum for this question! ;-)

I've written an avisynth script that reads an .avi or .wmv file and overlays a title and date. For simplicity:

directshowsource("go2tape.wmv")
Subtitle("test", text_color=$00FF00)
Subtitle("date", text_color=$FFFF00, x=50, y=50)

I'd "simply" like to create an output file of the results that is identical to what's played in a Media Player... and I'd like to do it at the command line with no user input required. I intend to generate a batch file from a program with the necessary content.

I've seen references to virtualdub, avs2avi, and others but don't really know where to begin.

Any guidance or examples would be greatly appreciated,

Steve

Starduster
4th October 2007, 13:09
My bad... as I went to see if my post had been made, I saw the link to command line and batch utilities... D'oh. So I was able to quickly download avs2avi and run it.

avs2avi scroll.avs scroll -c mp43 -w

Worked beautifully!! These are amazing products!

Steve