Log in

View Full Version : Virtualdub - Save from List?


zerowalker
6th May 2013, 21:55
I wonder if itīs possible to make Virtualdub save from a list.
For example, i have many .avs (Avisynth) files. And i want to save them as Lagarith.

Now i currently have to open one, save it, open the next etc.
And itīs not ideal.

I wonder if itīs possible to just make a list and drag all the .avs files, and make it save them one at a time?

As i want to use the same settings for all of the files (Fast Recompress Lagarith) i think it should be possible.

And i donīt care for the names, they can be the same as the .avs files.


I know that Virtualdub seem to have some kind of Job control list thing, but i am not sure if itīs what i want, i canīt seem to work it out.

Thanks!

fvisagie
7th May 2013, 14:41
i canīt seem to work it out.


One way is:

File > Queue batch operation (repeat for each file you want to process)
File > Job control

Cheers,
Francois

StainlessS
13th May 2013, 19:07
1st time I've tried this, and not much tested but seems to work OK.

VdBatch.bat

setlocal

REM VirtualDub Directory, No terminating Backslash, "." = current directory
set VDDIR="C:\NON-INSTALL\VDUB\VDUB_PLAIN"


REM Where to Find VDUB with GUI
REM set VD=%VDDIR%"\VirtualDub.exe"

REM Where to Find VDUB command line.
set VD=%VDDIR%"\VDub.exe"


REM Where to Find VDUB Settings
set VDS=%VDDIR%"\VD.vcf"


REM Where to get input files, No terminating Backslash, "." = current directory
set INDIR=".\INPUT"


REM Where to place output file, No terminating Backslash.
set OUTDIR=".\OUTPUT"

REM Execute Vdub using script, clear command queue, batch mode, source dir, dest dir, process queue, exit
%VD% /s %VDS% /c /b %INDIR% %OUTDIR% /r /x

Pause



Save your settings file to same directory as CURRENT version of VD (ie not VDMOD) as VD.vcf.

edit the above batch file for your system, location of vd.

choose a directory eg D:\Q\
create INPUT and OUTPUT directories in that directory.
copy source AVS clips into INPUT

execute D:\Q\VdBatch.bat file.

As implemented above, I've used Vdub.exe (command line) rather than VirtualDub.Exe (GUI), you can edit to switch to GUI if required.

See VD Help/contents/Advanced Operation/Commandline Operation/


virtualdub /s mySettings.vcf /c /b source dest /r /x


which is what I've used.

EDIT: Above only for AVI, I'll try to get it working with AVS.


EDIT: OK, tried with AVS files, works fine, just dont put both AVS and source AVI files into INPUT as both would be encoded.
Both GUI and Command line version bring up the GUI, but command line version output a little info to the console window.