Log in

View Full Version : AVI2WAV for AviSynth files?


wmansir
15th June 2003, 04:51
I'm looking for a way to automate my SVCD encoding process a bit more. (For more info on my steps look at this (http://forum.doom9.org/showthread.php?s=&threadid=31028) thread, it's changed slightly, but still pretty much the same). Right now the manual part that I think would be easiest to automate would be the extraction of .wav files from .avs files. Currently I use Vdub to "Save Wav...". It would be great if a tool like AVI2WAV would work on .avs files because it has a good cmdline component and works great in batch files, but it doesn't. I was hoping there was a simple tool similar to AVI2WAV which would work.

Does anyone know of a way to extract .wavs from several .avs files in a batchable way? I was looking into scripting vdub a while ago, but didn't make much headway. It really seemed like overkill for such a simple task.

wmansir
27th June 2003, 09:54
I took the silence as a no, so I coded up a little perl script to create a sylia script for Vdub and save a .wav file and then launch vdub. Unfortunately I had a problem getting Vdub to open the generated script (perhaps it's locked until the perl script ends, even though I close it) so I had to generate the vdub .job file and have it run that. It works great but unfortunately it's too convoluted and specific to my system to post here as a general solution.

Dark-Cracker
27th June 2003, 12:19
hum perhaps i am wrong (my english was not very good :) ) u want to extract wav from .avi file (with avi2wav ) why don't u use the "Call" plugin it's a filter to launch .exe file before/after/during a .avs file.

i think somethink like :

loadplugin .... call.dll
source=.....test.avi

call("avs2avi.exe "+ chr(34) + source +,"0")
...
...

i think u can easyly find the correct syntax for call filter (sorry i am not at home and i have no time to find u the correct synthax :) )

i hope this can help u.

PS: avi2wav failed to extract audio file from bivx.

Ps: if i have misunderstand ur problem , sorry :)

++