Log in

View Full Version : VDubMod : how to script load of AVS file with no preview (scripting)


Dams
6th March 2006, 12:21
Hi all,

I use VDubMod in command line, with loading a vcf file, but I don't want to see the video displayed (equal to "Options-Display Input Video" F9)

Here is the script :
VirtualDub.Open("c:/qualitix_psnr_ba_2.avi.avs",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.filters.Clear();
VirtualDub.Preview();
VirtualDub.subset.Delete();
VirtualDub.Close();


If it has any function or flag to pass to VDubMod to say " hey guy, don' t wanna look at the result, just process !!" , it will be nice ?! ;)

Thanks for all ur responses.

:script:

Fizick
9th March 2006, 18:36
use AVS2AVI command line utility

Dams
11th March 2006, 00:41
use AVS2AVI command line utility

Thanks, I'll give a look.

dr.Prozac
18th March 2006, 17:29
Hi guys !
I was looking for the same solution.
I use VDubMod in one of my applications.
AVS2AVI is not able to perform many various operations that VDub(Mod) offers.
Seems VDub(Mod) dos not have any Sylia script function to disable input and output display.
I posted a similar question at the official VDub forum but didn't get any reply.
As I can see we can disable both "display input video" and "display output video" functions in VDubMod preferences. They are surely saved somewhere to the registry. But for the time being I am not able to find them.
If anyone is familiar with this subject I would be thankful for any hints.
Greets !