Prerequisites
For this how-to, you’ll need the following:
- Firefox
- The LiveHTTPheaders extension
- A basic understanding of HTML and how web browsers work (don’t let this scare you.)
Background
Youtube’s videos are shown in Macromedia’s Flash video format (FLV). FLV is based on MPEG-4, and can be decoded easily with VideoLAN player (VLC). A page loads with the video you want to see, and the embeded Flash video player requests the appropriate FLV file to play. All you need to do is eavesdrop on the video player’s request back to Youtube for the FLV and download it for yourself.
Instructions
- Go to the page of whatever video you want to download. For this example, we’ll say it’s the ‘The completely Uncalled For’ video found at http://youtube.com/watch?v=bn1-M5Ze0p8.
- Before you load the page, launch LiveHTTPheaders.
- Once the video starts playing, look through LiveHTTPheaders’ output for something that says ‘http://youtube.com/get_video?video_id=bn1-M5Ze0p8&t=[...]‘. This is the address we’re looking for. We want the entire address, including the part after ‘&t=’. That part at the end is important because it’s randomly generated each time.
- Right-click on that block and hit copy. Paste it in to your browser’s address bar. This will start your download. I recommend you save it to your hard disk.
- This video can be played with VLC, and probably Windows Media Player if you find the proper codec.
Ending Remarks
This is the easiest way I know to grab the videos. If you know of anything faster, please let me know. I’m interested in automating the process with small web app that takes the link to the video and downloads it for you. If you want to transcode the video in to some other format (iPod video perhaps), I recommend the SUPER video converter.