auf.kante
Gunnar macht sich selbststaendig und fliegt auf
die Schnauze
wird erfolgreich. Wer mag darf zuschauen.
Gunnar is starting his business. He will certainly
fail succeed. You may watch.
auf.kante
Website sections
Home
Mplayer
Last changed: 2005-07-24 [8:18]
Content:

Hints on using mplayer.
 
Back to Personal Wiki
Table of contents
Tips

Tips

Extracing mp3 audio file from a movie

I recently downloaded the live-8 clips available from aol.com and wanted to extract the audio part:

wget http://pdl.stream.aol.com/aol/us/aolmusic/specials/2005/live8/london/london_004_u2_vertigo_dl.mov
mencoder london_004_u2_vertigo_dl.mov -o london_004_u2_vertigo_dl.avi -oac mp3lame -ovc lavc
mplayer -ao pcm -vo null -vc dummy -dumpaudio -dumpfile london_004_u2_vertigo_dl.mp3 london_004_u2_vertigo_dl.avi
for fl in *.mov
do
  mencoder ${fl} -o ${fl/mov/avi} -oac mp3lame -ovc lavc
  mplayer -ao pcm -vo null -vc dummy -dumpaudio -dumpfile ${fl/mov/mp3} ${fl/mov/avi}
  rm ${fl/mov/avi}
done

Works like a charm.

Back to Personal Wiki
Creative Commons-Lizenzvertrag
The content of this site is licensed under a Creative Commons 2.5 License [attribution, share-alike]