Last Updated: March 08, 2016
· 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).


brew install ffmpeg youtube-dl


youtube-dl --output - | ffmpeg -i - -codec:a copy out.m4a

2 Responses
Add your response

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 ·