YouTube Ripping

Not too long ago I was watching some YouTube videos and was wondering how to get the sound track from them. Doing some Google searching will yield tons of results, but I discovered many them were klunky to follow. Many were even obsolete, because apparently this is a problem YouTube is actively combating. This documents the way I prefer to do this on a Mac (should work on Linux as well). Though I am sure many similarly well suited options are available for Windows.

The first thing you will need is a plugin for Firefox called DownloadHelper. I believe this should work on all platforms; however, to be clear, this explanation is with Firefox 3.0.8 for Mac OS X. This will add a toolbar to your Firefox installation that can be used to rip media content from many well known websites. Of interest to us, is its ability to rip flash videos from YouTube (ie, .flv files). Simply install the plugin and visit a video you are interested in ripping on YouTube. You should see the DownloadHelper logo starting to spin next to the address bar. This indicates, as far as I can tell, that it is trying to find media that it can tap into. For best results, you will need to let your video fully load and may need to watch it in its entirety before saving off the .flv file. Once it is ready, click on the DownloadHelper logo and one of the things in the menu that shows up should be a file named after the title of the current YouTube page. Select that file and choose somewhere to save it. It is suggested to save this on a mac in a directory that has a file path that contains no special characters (ie, spaces). This will help not to complicate things later on.

The second part of this operation involves software needed to encode/decode audio and video files. The software of choice for this process is ffmpegX. This is freeware for Mac OS X that is relatively popular and very robust. Please follow the installation instructions ffmpegX 0.0.9y. From my lessons learned, this is where you should make sure to install this tool in a file path that has no special characters (ie, spaces). In order for this software to comply with some licensing, you will also need to download the mpeg2enc binary, mplayer and mencoder binaries. Please make sure to install these in a no special character file path as well. Once the binaries have been linked to with ffmpegX, you will no longer needs these files as the application should be in your Application directory and have made local copies of the binaries.

Now simply start up ffmpegX and drag and drop the .flv file downloaded earlier to the left hand side of the app. Next, choose a format to encode it with. If you want the soundtrack, simply choose “movie audio to mp3” for the target format on the right hand side. Then, click the Encode button and an mp3 should be generated. One problem I kept encountering at first was files seemed to be completing their conversions immediately. It turns out they were and generated 0Kb files. After looking for a solution for a while it turns out that sometimes the audio and video tracks are encoded differently, causing them to be in a different order (this may be done on purpose by YouTube). If this occurs, select the “Audio” tab and select “Invert Mapping,” and try again. If this still does not work, select the blue “i” next to the suspect problem for a log of the conversion process. Use the information provided to do a Google search and try to find a solution.

ffmpegX proves to be a very useful tool and one that has many other uses. I enjoy using this to convert .flv files into mp3s and videos that I can play on my iPhone, but there are many other formats to convert audio/video files to and from. Please provide any feedback or corrections you have and I will try to address them as best as I can.

240 Comments:

  1. I precisely needed to thank you very much yet again. I do not know the things I would have carried out in the absence of these recommendations documented by you over my subject. It seemed to be an absolute fearsome scenario in my circumstances, however , understanding the very professional approach you treated that forced me to jump for happiness. I will be grateful for your support and even wish you find out what a great job you happen to be providing training many people using your web blog. Most probably you haven’t encountered all of us.

  2. The next time I learn a weblog, I hope that it doesnt disappoint me as a lot as this one. I mean, I do know it was my option to learn, but I truly thought youd have something interesting to say. All I hear is a bunch of whining about something that you may repair in case you werent too busy on the lookout for attention.

  3. I’m just writing to make you know what a amazing discovery our princess encountered browsing your web site. She came to understand plenty of issues, most notably how it is like to have an amazing helping mood to let folks with no trouble understand a number of tricky topics. You actually exceeded her expected results. Thanks for rendering such warm and friendly, trustworthy, explanatory not to mention unique thoughts on the topic to Kate.

  4. I and my pals ended up checking out the nice helpful tips on the website while the sudden developed a terrible feeling I never thanked the blog owner for them. The people ended up for that reason joyful to see them and have in effect without a doubt been enjoying those things. Many thanks for genuinely quite kind and then for obtaining such tremendous topics millions of individuals are really desperate to learn about. My sincere regret for not expressing appreciation to sooner.

  5. I precisely had to appreciate you yet again. I’m not certain the things that I could possibly have used without the entire techniques shared by you concerning that area of interest. It became a depressing dilemma in my circumstances, however , spending time with this well-written tactic you dealt with it forced me to leap over delight. Now i’m thankful for your work and as well , expect you find out what a powerful job your are carrying out instructing people today through the use of your blog. Probably you haven’t got to know all of us.

  6. I am only writing to make you know what a remarkable discovery my wife’s princess enjoyed viewing your site. She came to find a lot of issues, which include what it is like to have a wonderful helping nature to get many more without hassle have an understanding of a number of complicated issues. You actually exceeded visitors’ expectations. I appreciate you for showing such good, safe, edifying and also cool tips on your topic to Janet.

  7. The clarity and thoughtfulness of your approach is as appealing as a deep conversation over coffee.

  8. Appreciate the clarity you bring to this topic. It’s like you’re speaking to five-year-olds, which is perfect for me.

  9. Reading your article was a joy. Your enthusiasm for the topic is really motivating.

  10. Your posts are like a secret garden of knowledge. I’m always excited to see what’s blooming.

  11. Each post is a window into your thoughts, and I must say, the view is stunning.

  12. Your words are like seeds, planting ideas that blossom into understanding and appreciation.

  13. Each post is a window into your thoughts, and I must say, the view is stunning.

  14. Each post you share is like a gift, wrapped in the finest paper of eloquence and insight.

  15. Most comprehensive article on this topic. I guess internet rabbit holes do pay off.

  16. You have a gift for explaining things in an understandable way. Thank you!

  17. Your dedication to quality content is evident. Keep up the great work!

  18. Your post was a beacon of knowledge. Thank you for illuminating this subject.

  19. Your post resonated with me on many levels. Thank you for writing it!

  20. I appreciate the balance and fairness in your writing. Great job!

  21. I’m in awe of the way you handle topics with both grace and authority.

  22. This piece was beautifully written and incredibly informative. Thank you for sharing!

  23. Your blog is a constant source of inspiration and knowledge, like a muse that never fails to inspire. Thank you for being my muse.

  24. What a compelling enjoy reading! Your arguments were well-presented and convincing.

  25. Your writing style is captivating! I was engaged from start to finish.

  26. Incredibly informative post! I learned a lot and look forward to more.

  27. What a compelling enjoy reading! Your arguments were well-presented and convincing.

  28. This was a thoroughly insightful enjoy reading. Thank you for sharing your expertise!

  29. You have a gift for explaining things in an understandable way. Thank you!

  30. Thank you for adding value to the conversation with your insights.

  31. I’m so grateful for the information you’ve shared. It’s been incredibly enlightening!

  32. You’ve done a fantastic job of breaking down this topic. Thanks for the clarity!

  33. What a compelling enjoy reading! Your arguments were well-presented and convincing.

  34. You have a unique perspective that I find incredibly valuable. Thank you for sharing.

  35. Your blog is a constant source of inspiration and knowledge. Thank you!

  36. I’m in awe of the way you handle topics with both grace and authority.

  37. This post is packed with useful insights. Thanks for sharing your knowledge!

  38. A masterpiece of writing! You’ve covered all bases with elegance.

  39. Thank you for the hard work you put into this post. It’s much appreciated!

  40. I admire the way you tackled this complex issue. Very enlightening!

  41. You’ve articulated your points with such finesse. Truly a pleasure to enjoy reading.

  42. I’m impressed by your ability to convey such nuanced ideas with clarity.

  43. Thank you for consistently producing such high-quality content.

  44. This post is a testament to your expertise and hard work. Thank you!

  45. Your ability to distill complex concepts into enjoy readingable content is admirable.

  46. Your post resonated with me on many levels. Thank you for writing it!

  47. Your work is truly inspirational. I appreciate the depth you bring to your topics.

  48. Your post resonated with me on many levels. Thank you for writing it!

  49. Thank you for adding value to the conversation with your insights.

  50. Such a well-researched piece! It’s evident how much effort you’ve put in.

Leave a Reply

Your email address will not be published. Required fields are marked *