View Full Version : any command line-based tool to demux .avi?
junglemike
17th June 2006, 15:25
Hi I have large number of small .avi files (captured w/ camera). I want to extract audio tracks from all of them. I know progs like virtualdub can do it - but i'm searching for a command-line based tool, or maybe some tool that i can demux many files in one go.
Thanks
buzzqw
17th June 2006, 16:31
avi2wav , despite of name is a demuxing tool for avi
http://www.divx-digest.com/software/avi2wav.html
BHH
Mr_Odwin
17th June 2006, 20:30
With the wav files that are extracted, what would happen if you just changed the filename extension back to mp3 say, if that's what the audio was originally?
buzzqw
18th June 2006, 08:53
as i said this i s ademuxing tool so if original avi has mp3 audio, the audio extracted would be mp3. The same for ac3
I can even suggest to use mplayer with audiodump feature.
BHH
smok3
19th June 2006, 07:43
in response to the original question, make sure that virtualdub and vdub are on the path, then use a code like:
echo ...............vdub extract audio to pcm...............
echo VirtualDub.Open(VirtualDub.params[0]); > "%inpfullnoext%.script"
echo VirtualDub.SaveWAV(VirtualDub.params[1]); >> "%inpfullnoext%.script"
@vdub /i "%inpfullnoext%.script" "%inpfull%" "%inpfullnoext%_vdub.wav"
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.