Re:YouTube-dl: Open-source YouTube downloader
by awqrre on Friday April 08, 2016 @02:35AM
(#11452933)
I like this command to extract audio from youtube videos:
[ Parent
| on HN ]
If your music player supports OGG, you can also use youtube-dl -f FORMAT VIDEO_URL and give a numeric format that corresponds to a DASH webm audio-only stream, with vorbis audio (e.g. format 171 these days). The container is webm but it can be trivially changed to OGG with ffmpeg, which you can call via --exec automatically.
Edit: I mentioned that because you don't lose any quality reencoding.
Re:YouTube-dl: Open-source YouTube downloader
by melicerte on Friday April 08, 2016 @03:35AM
(#11453154)
That's my main use of youtube-dl for years now. I'm extracting audio from old french movies available on youtube, work a small sound extract with audacity and then post the result on soudcloud[1].
[1] A bit of self-promotion here, if you are interested this is my soundcloud playlist https://soundcloud.com/melicerte/sets/extraits-de-vieux-film...
That is a really cool playlist.
Re:YouTube-dl: Open-source YouTube downloader
by wingerlang on Friday April 08, 2016 @04:27AM
(#11453332)
Why?
Re:YouTube-dl: Open-source YouTube downloader
by luxpir on Friday April 08, 2016 @03:36PM
(#11457273)
Why not!
Re:YouTube-dl: Open-source YouTube downloader
by wingerlang on Sunday April 10, 2016 @11:41PM
(#11469491)
I'm not against it or anything, I'm just wondering if it is a personal interest or if there is some niche usage I am unaware of.
Re:YouTube-dl: Open-source YouTube downloader
by otterpro on Friday April 08, 2016 @02:59PM
(#11456989)
I like to keep it in original audio format (usually AAC) instead of mp3, because with mp3 conversion, there is also some loss of quality due to re-compression.
Re:YouTube-dl: Open-source YouTube downloader
by DarkLinkXXXX on Friday April 08, 2016 @02:45AM
(#11452981)
Or you could use -x, which would only download the audio (because there's seperate audio and video streams on youtube).
Re:YouTube-dl: Open-source YouTube downloader
by awqrre on Friday April 08, 2016 @03:02AM
(#11453034)
yes -x is the same as --extract-audio, but I use an alias in my bashrc like this (if you don't use --audio-format mp3, you might not get mp3 (not necessarily a bad thing)):
alias youtubemp3='youtube-dl --extract-audio --audio-format mp3'