Skip to content

Instantly share code, notes, and snippets.

@dakk
Created November 11, 2012 11:26
Embed
What would you like to do?
Downlaod a video from youtube and get the audio as mp3
TITLE=`youtube-dl $1 -e`
youtube-dl $1 -o "$TITLE.flv"
ffmpeg -i "$TITLE.flv" -f mp3 "$TITLE.mp3"
rm "$TITLE.flv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment