Created
March 14, 2020 17:02
-
-
Save espinielli/80cfc1e5e55eb3b1854d330524addadf to your computer and use it in GitHub Desktop.
download and extract mp3 from youtube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 https://youtu.be/lhlvV7mjeJM | |
$ 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