DISCLAIMER: I am not fully aware of the legality of this. I am assuming that it is OK since I am not doing any hacking or breaking of cryptography, but your mileage may vary.
Below are the high-level steps I used to download music from YouTube and then burn to a CD. I performed these steps on Ubuntu 10.4
- Create a folder to hold the video and audio files
- Find the music you wish to download and copy the URLs to a temp file
- Using get_flash_videos, download the files
- get_flash_videos http://www.youtube.com/watch?v=t_bLwrcdJgA
- Use mplayer to extract the WAV data
- for i in `ls *.mp4`; do mplayer $i -ao pcm:file=$i.wav; done
- Use normalize-audio to make all the music the same volume
- normalize-audio -m -v *.wav
- Finally, use your favorite CD burning software to create the disk.
You can research the commands individually to get more information on what they are and how they work.