Scripting with VirtualDubMod


Like VirtualDub, VirtualDubMod uses Sylia (developped by Avery Lee too). Some specific functions have been added though.
You will find below a list of the functions you can use in a script with VirtualDubMod.
This list also give you the type of parameters you can use with the function. There are 2 possible types :

Integers can also be used as boolean values : 0 means false and any other value means true.
In the functions described below the values returned (when any) are integer values.
You will see that some parameters use the first letter of their name to describe their type :
Here is the list of defined functions :
For compatibility reasons some functions that are somehow deprecated in VirtualDubMod 1.5.x are still kept.
For the same reasons note that VirtualDub.audio will be interpreted as VirtualDub.stream[0] for keeping compatibility with VirtualDub scripts : All this should make VirtualDub scripts still be interpreted correctly in VirtualDubMod 1.5.x.


Here is a list of possible comment types (see the documentation for a description of those types) :
Type Value
Specific 0x00000000
Generic 0x00000001
Software 0x00000002
Title 0x00000003
Description 0x00000004
Author 0x00000005
Copyright 0x00000006
License 0x00000007
Commissioned 0x00000008
Comment 0x00000009
Genre 0x0000000A
Keywords 0x0000000B
Date 0x0000000C
Version 0x0000000D
Performer 0x0000000E
Album 0x0000000F
TrackNumber 0x00000010
Organisation 0x00000011
Location 0x00000012
Contact 0x00000013
ISRC 0x00000014
URL 0x00000015
Language 0x00010000
Note that the value 0x00010000 means a user-defined language. Languages defined in the ISO-639-1&2 standards use values beyond 0x00010000 ...

Here is a list of possible input types :
Type Value
WAV 0x0201
MP3 0x0202
AC3 0x0203
Ogg Vorbis 0x0204
DTS 0x0205
SRT 0x0301


Here is the list of functions that have been removed :