View Full Version : Command line AVI audio demux?
mahsah
7th December 2006, 01:34
Now, I know virtualdub can do this, but thats not a command line tool really... I just want to be able to get the mp3s from avis easily...
Maybe an mencoder command line? If you would have one for that, or another app, please post it...
setarip_old
7th December 2006, 03:09
Hi!
Perhaps not a commandline tool but, GoldWave has a batch procressing tool that can readily handle the extraction of .MP3 audiostreams from .AVIs...
Pookie
7th December 2006, 03:38
http://esby.free.fr/CelticDruid/mirror/ffmpeg/ffmpeg.rev7165.7z
ffmpeg.exe -i yourfile.avi -acodec copy -vn -y your_aud.mp3
ffmpeg.exe -i yourfile.avi -vcodec copy -an -y your_vid.avi
mahsah
7th December 2006, 04:30
Ah! Exactly what I needed. Thanks!
aLu
31st December 2007, 14:48
I say thanks, too.
Now how do you do that with the secondary audio stream?
The link you posted is dead, unfortunately.
Placio74
31st December 2007, 18:48
I say thanks, too.
Now how do you do that with the secondary audio stream?
FFmpeg Documentation (http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html):
-map input stream id[:input stream id]'
Set stream mapping from input streams to output streams. Just enumerate the input streams in the order you want them in the output. [input stream id] sets the (input) stream to sync against.
Example:
ffmpeg -i name_file.avi -vn -map 0.2 -acodec copy name_file.mp3
---
The link you posted is dead, unfortunately.
Eh... direct link...
Just shorten link.
http://esby.free.fr/CelticDruid/mirror/ffmpeg/
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.