ijrsza
Last Updated: March 08, 2016
·
1.443K
· mxcl
Img 0719

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
Say Thanks
Respond

2 Responses
Add your response

12267
52070b86de312eff16e60cab265a533f

It really useful ???

over 1 year ago ·
12340
7e3f91b761f259b75168f53e4186496a

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 ·