Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
download and extract mp3 from youtube
Download a youtube sound track from a video and extract a subset (for example for a phone ringtone)
$ youtube-dl --extract-audio --audio-format mp3
$ ffmpeg -ss 00:00:45 -t 00:00:45 -i La\ vita\ è\ bella\ -\ Colonna\ sonora\ \(original\ soundtrack\)\ -\ brano\ -\ \'La\ vita\ è\ bella\'-lhlvV7mjeJM.mp3 lveb.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment