Log in

View Full Version : Is there a soft to batch AVI muxing ?


djidjo
2nd November 2010, 13:21
Hi folks,

I have 30 avi video streams and 30 mp3 that are the audio for each file. I'd like to know if you know a soft to automatically mux each video and mp3 file with the same name into an avi ? AVIMux doesn't do the job since I can process only one file at a time. Don't know how to do this with VirtualDub or VDubMod neither...

Thanks for any help !
Djidjo

7ekno
3rd November 2010, 04:50
AVIMux takes a commandline, so just use the DOS FOR loop to process them ...

DOS for loops can step thru each file (or set of files) in a directory and do a command for each instance ...

Something like (it's not the exact syntax, I haven't got my references in front of me):

FOR /F %%A in ('dir /b /s *.MP3') DO AVIMux.EXE -commandline

7ek

Yellow_
6th November 2010, 14:31
AVSP to create the avisynth script for each avi + mp3 dub from a template file +

AVISynth for the processing of the scripts +

Vdub Batch mode to load all the avs scripts & encoding out to one file.

Could be another way.

pc_speak
7th November 2010, 02:26
Create a 1 line text file containing the following line of code. Call it "go.cmd"
Put "go.cmd", "avimux.exe", and all your avi and mp3 files in the same folder.

for %%a in ("*.avi") do "avimux.exe" "%%a" "new-%%a" "%%~na.mp3"

Double click on "go.cmd"