/ Published in: Bash
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
Expand |
Embed | Plain Text
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
You need to login to post a comment.
