Extract Audio from Youtube

From Stu2
Revision as of 22:25, 7 November 2012 by Stu2 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I'm trying to learn a couple of songs from the Carter Family. The songs are posted on youtube. For example:

http://www.youtube.com/watch?v=1kBmrayIL6o

Get youtube-dl from the main site. The one in the repo (12.04) didn't work for me.

To extract the audio:

youtube-dl http://www.youtube.com/watch?v=1kBmrayIL6o

Install the lame stuff:

sudo apt-get install libmp3lame0 libavcodec-extra-53

Then extract the audio:

avconv -i 1kBmrayIL6o.mp4 -b 256k oldvirginia.mp3

avconv replaces ffmpeg.

Then - use Audacity to analyze the various notes you can't figure out.Or... just open the mp4 in Audacity. ;)