Downloading YouTube Videos and then Stripping Their Video
The result being an m4a (AAC) audio file that you can then play in whatever player you like (including Google Music).
Pre-requisites:
brew install ffmpeg youtube-dl
Then:
youtube-dl https://www.youtube.com/watch?v=dmcRrFj8Tb0 --output - | ffmpeg -i - -codec:a copy out.m4a
Written by Max Howell
Related protips
2 Responses
It really useful ???
over 1 year ago
·
There's no need to pipe to ffmpeg, as youtube-dl can extract audio directly:
youtube-dl dmcRrFj8Tb0 --extract-audio --audio-format m4a
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Youtube
Authors
Related Tags
#youtube
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#