Revision: 36523
Updated Code
at March 10, 2011 00:34 by dogrizz
Updated Code
for f in *.flv; do newname=`echo $f | tr ' ' '_' `; mv "$f" $newname; f=$newname; mplayer $f -vo null -ao pcm:file=tmp.wav; lame -b 320 -q 0 tmp.wav $newname.mp3; rm tmp.wav; done
Revision: 36522
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 22, 2010 20:40 by dogrizz
Initial Code
for f in *.flv; do newname=`echo $f | tr ' ' '_' `; mv "$f" $newname; f=$newname; mplayer $f -ao pcm:file=tmp.wav; lame -b 320 -q 0 tmp.wav $newname.mp3; rm tmp.wav; done
Initial URL
Initial Description
Script will extract all flv's or other videos specified to mp3. You can change *.flv to prob. any other extension. Tested on *.mp4 and *.flv
Initial Title
extract audio using mplayer
Initial Tags
Bash, linux, convert
Initial Language
Bash