View Full Version : Extracting audio from AVI's
marnix88
9th July 2006, 18:43
Hello, does anybody know if it's possible to use VDubMod as a commandline tool or somehow execute it with parameters?
I'm creating a front end for AVI to DVD conversion and I'm looking for a fairly easy way to extract MP3, AC3 and DTS audio from AVI videos.
Or is there maybe another tool that can do this?
Thank you.
buzzqw
10th July 2006, 12:35
with virtualdubmod create a file (job.vdf) like this
VirtualDub.Open("test_audio.avi",0,0);
VirtualDub.video.SetMode(0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.stream[0].SetMode(0);
#for save to wav
VirtualDub.stream[0].SaveWAV("test_audio.wav");
#for audio extraction
VirtualDub.stream[0].Demux("test_audio.mp3");
#for run
VIRTUALDUBMOD.EXE /nowrite /x /s "job.vcf"
or mplayer.exe
#extract to wav
mplayer.exe "test_audio.avi" -ao pcm:file=audio.wav -vc dummy -vo null
#extract audio
mplayer.exe "test_audio.avi" -dumpaudio -dumpfile "audio.mp3"
or you can use avs2avi or bepipe...
BHH
marnix88
10th July 2006, 18:19
Thanks a lot :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.