INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
VirtualDub scripting: Unsure what arguments are

Forum Index -> Video -> Programming Printer-friendly version
Reply to topic
Author Message
Capt.Video
Member


Joined: 23 Nov 2005
Location: United States

Post Posted: Mar 20, 2006 18:05 Posts Comp View users profile Send private message Reply with quote

For most of the scripting and .jobs script creation, Im pretty sure I can put 90% of it together from examining it... but there are some commands that I cannot make sense of..

Ill back up a bit... Im writing a program to generate a .jobs script for VirtualDubMod. I simply cannot get AutoGK to do all the things I want to do. Im "kind of" "rewriting" AutoGK, but will expand its abilities quite a bit for being able to SPECIFY the bitrate of the video CODEC, and other settings, in addition set the output's Height and Width, instead of not having full control over it. The program (un-named as of yet) will also have the ability to save and load setting profiles, and of course batch mode. smile.gif Input can be of any DirectShow file (MPEG1, MPEG2, AVI) (no VOBs yet, I gotta figure that stuff out later...), and audio can be MP2, MP3 or AAC, and the resulting AVI will be DivX or XviD, with either MP3 or perserve original filetype. So, you can take an MPEG2 video with AC3 audio, and encode it to DivX AVI with AC3 audio! Ive already tried the individual settings, and I can get this all to work (being developed in VB.NET), but the VDub scripting has me totally confused, even after googling info on it.



The one major thing is this:
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
I dont know how to read how the compression is being set, Im guessing its telling VDub what the codec is (It appears to be hex enumerated), modes and bitrate, but I dont know how to generate one from scratch.


Netx:
VirtualDub.stream[0].SetSource("H:\\ED\\Work\\dgoutput.mp3",0x00000202,0);
I understand this, but whats the numbers for, what do they mean?


Finally:
VirtualDub.video.SetCompData(57,"LWJ2MXEgMyAtdmJ2IDQ4NTQwMDAsMzE0NTcyOCwyMzU5Mjk2IC1iIDEgLW5mIC1wcm9maWxlPTMA");
I have no idea what this is, or how VDub came up with the characters...


If anyone can offer assistance and guidence, it would be a great help!
Thanks,
Andrew
_________________
I have been into computers since 1980. Ive been tinkering with DV in one flavor or another since 1990.


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Programming Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics