0×1337.de_blog about security, open source, music and revolution.

July 18, 2009

flv2mp3

Filed under: cli, linux — Tags: , , , , , , — flyc0r @ 5:20 pm

Just need the sound of a downloaded tube movie (featuring mplayer and lame)?

#!/bin/bash
 mplayer -ao pcm -vo audiodump.wav $1
lame audiodump.wav -q $2 -b $3 $1".mp3"
rm audiodump.wav

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress