Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Cannot Open Script, /s commandline option doesn't work
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Jakobud
Posted: May 28 2004, 01:40 AM


Unregistered









I made a very simple script:

VirtualDub.Open("C:\\tmp\\myfile.avi",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(368,"OAEAAAAAAAAAAAAAgIQeAAAAgEABAAAAAAAAAAAAAAAAAAAAAQAAADIAAAAALTEBAAAwAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/AAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAABkAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAA/////wEAAAABAAAAAAAAAAEAAAADAAAAYzpcXGRpdngubG9nAGM6XFx0ZXN0LmRpdngAYzpcXG12aW5mby5iaW4AYzpcXG5ld3JjLnR4dAA=");
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("brightness/contrast");
VirtualDub.video.filters.instance[0].Config(15,17);


If I goto File > Load Processing Settings and load up this script, it works fine. It loads up the correct "myfile.avi" and sets up my compression and the one brightness filter fine.

But if I try to use the command line options to load up with script like this:

C:\VirtualDubMod\virtualdubmod.exe /s script.vcf

I get the following errors when VirtualDubMod opens:

Can't open script file
Cannot detect file type of "C:\VirtualDubMod\script.vcf"

I don't understand this. It's the exact same script that opens just fine if I do it manually from the file menu...

Anyone get this sort of error? Can anyone help me out? Thanks!

Jake
 
  Top
phaeron
Posted: May 28 2004, 05:11 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



No space between /s and the script filename.
 
    Top
Jakobud
Posted: May 28 2004, 03:59 PM


Unregistered









Ah great thanks!
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
2 replies since May 28 2004, 01:40 AM Track this topic | Email this topic | Print this topic

<< Back to Avisynth Filtering, Processing and Scripts Discussion