ijrsza
Last Updated: March 08, 2016
·
1.514K
· mxcl

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

2 Responses
Add your response

12267

It really useful ???

over 1 year ago ·
12340

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 ·