PDA

View Full Version : Command Line tool to demux mp3 stream from avi


dimzon
15th June 2005, 22:54
Hi!
I'm looking for command line tool to demux mp3 stream from avi.

Thanx!

Kurtnoise
15th June 2005, 23:42
virtualdub can be used in command line....

Another idea, mux your avi in mkv and demux the streams with mkvextract. ;)

dimzon
15th June 2005, 23:52
virtualdub can be used in command line....
Can't find command line description

Matthew
16th June 2005, 02:07
Check out the Vdubmod helpfile for some syntax.

This is what I use in nandub ...

mp3.vcf contains:

VirtualDub.Open("H:/test/debbiedoeskeyboard.avi",0,0);
VirtualDub.audio.SetMode(0);
VirtualDub.SaveWAV("H:/test/weeeeee.mp3");

Then:
nandub.exe /s"H:\test\mp3.vcf" /x

In a batch file I use search and replace, i.e.:

echo VirtualDub.Open("%DIR%\%NAME%.avi",0,0);>mp3.vcf
echo VirtualDub.audio.SetMode(0);>>mp3.vcf
echo VirtualDub.SaveWAV("%DIR%\%NAME%.mp3");>>mp3.vcf
snr32.exe -r *.vcf \ / /a /ln > nul
nandub.exe /s"mp3.vcf" /x

celtic_druid
16th June 2005, 02:13
ffmpeg should also work.