Log in

View Full Version : Virtualdubmod scripting: passing parameters through the command line.


Demogorgo
21st May 2007, 04:00
On Virtualdub, you can pass command line parameters to a sctipt like so:

virtualdub.exe /i:"c:\my.script" param1 param2

But Virtualdubmod doesn't work like that for some reason. It interprets the parameters as input files. Is there something I'm missing? As much as I'd like to just give up and use plain Vdub, Vdubmod is the only one with a real demux function, which is what I really want to use from the commandline.

If there's any more documentation on vdubmod scripting besides the helpfile, please let me know.

edit: By the way, I know that this is possible in AVIdemux, but I find that it has issues with most of my input files.

squid_80
21st May 2007, 04:31
I think the /i parameter was added to virtualdub after virtualdubmod was developed. What exactly do you mean by "real demux" function? If you're talking about audio, virtualdub has "export raw audio", which has the script command SaveRawAudio.

Demogorgo
23rd May 2007, 07:00
I think the /i parameter was added to virtualdub after virtualdubmod was developed. What exactly do you mean by "real demux" function? If you're talking about audio, virtualdub has "export raw audio", which has the script command SaveRawAudio.

Thanks, I didn't know about saverawaudio(). I'll try to experiment with this and see if it works. I really wish this kind of thing was documented, cause I went ofer the help file and script reference dozens of times.

In fact, this thread is the only thing Google finds when you search for that function!

squid_80
23rd May 2007, 09:44
Inside information; I knew about it from reading the source code.