Se utiliza un archivo por lotes (batch) .cmd
Necesita crearse previamente un archivo de procesos de virtualdub y modificarlo:
512_128.vcf
Al principio:
VirtualDub.Open(VirtualDub.params[0]);
Al final:
VirtualDub.SaveAVI(VirtualDub.params[1]);
El archivo batch:
avi2divx_ALL.cmd
rem @eecho off echo Virtualdub batch processing. All files in the folder FOR /F "tokens=*" %%G IN ('dir/b ^"*.avi^"') DO c:\dvdz\virtualdub\Virtualdub.exe /i "C:\dvdz\local-cmd\vcf\512_128.vcf" "%%G" "%%G.divx" /x pause
Ejemplo de un archivo de procesamiento .VCF
VirtualDub.Open(VirtualDub.params[0]); VirtualDub.audio.SetSource(1); VirtualDub.audio.SetMode(1); VirtualDub.audio.SetInterleave(1,500,1,0,0); VirtualDub.audio.SetClipMode(1,1); VirtualDub.audio.SetConversion(44100,2,2,0,0); VirtualDub.audio.SetVolume(); VirtualDub.audio.SetCompressionWithHint(85,44100,2,0,16000,1,12,"AQACAAAAoQEBAAAA","MPEG Layer-3 Codec"); VirtualDub.audio.EnableFilterGraph(0); VirtualDub.video.SetInputFormat(0); VirtualDub.video.SetOutputFormat(7); VirtualDub.video.SetMode(3); VirtualDub.video.SetSmartRendering(0); VirtualDub.video.SetPreserveEmptyFrames(0); VirtualDub.video.SetFrameRate2(0,0,1); VirtualDub.video.SetIVTC(0, 0, 0, 0); VirtualDub.video.SetCompression(0x64697678,0,10000,0); VirtualDub.video.SetCompData(3532,"AAAAAAACAACQsggALlx2aWRlby5wYXNzAAAuAHAAYQBzAHMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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