Skip to content

Instantly share code, notes, and snippets.

@dakk

dakk/youtube-md.sh

Created Nov 11, 2012
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
You can’t perform that action at this time.