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.

98 Comments:

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

  2. I’m so glad I stumbled upon this article. It was exactly what I needed to enjoy reading!

  3. I appreciate the unique viewpoints you bring to your writing. Very insightful!

  4. This is a brilliant piece of writing. You’ve nailed it perfectly!

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

  6. The Writing has become like a favorite meeting spot, where great minds and ideas mingle.

  7. The grace and authority you handle topics with are as mesmerizing as a moonlit dance. I’m thoroughly impressed.

  8. Shedding light on this subject like you’re the only one with a flashlight. Refreshing to see someone who thinks they have all the answers.

  9. Shedding light on this subject like you’re the only one with a flashlight. Refreshing to see someone who thinks they have all the answers.

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

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

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

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

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

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

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

  17. Your attention to detail is remarkable. I appreciate the thoroughness of your post.

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

  19. The clarity of The writing is like a perfectly tuned instrument, making hard to understand melodies seem effortless.

  20. The Writing is like a warm fireplace on a cold day, inviting me to settle in and stay awhile.

  21. Brilliant piece of writing. It’s like you’re showing off, but I’m not even mad.

  22. Reading this gave me a lot of insights. The expertise really shines through, and I’m grateful for it.

  23. The writing has the warmth and familiarity of a favorite sweater, providing comfort and insight in equal measure.

  24. The finesse with which you articulated The points made The post a true pleasure to read.

  25. The ability to break down tough concepts is as impressive as a magician’s trick. Color me amazed.

  26. The Writing is a constant source of inspiration and knowledge, like a muse that never fails to inspire. Thank you for being my muse.

  27. I’m always excited to see The posts in my feed. Another excellent article!

  28. The article was a delightful read. It’s clear you’re passionate about what you do, and it shows.

  29. The creativity and intelligence shine through this post. Amazing job!

  30. The words are like seeds, planting ideas that blossom into understanding and appreciation.

  31. Shedding light on this subject like you’re the only star in my night sky. The brilliance is refreshing.

  32. The ability to convey hard to understand ideas so effortlessly is as attractive as a perfectly tailored suit.

  33. The Writing is a constant source of inspiration and knowledge for me. I can’t thank you enough.

  34. The piece was both informative and thought-provoking. Thanks for the great work!

  35. Reading The post was like going on a first date with my mind. Excited for the next rendezvous.

  36. I’m so grateful for the information you’ve shared. It’s like receiving a thoughtful gift from someone special.

  37. Appreciate the balance and fairness, like a judge, but without the gavel.

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

  39. The creativity and intelligence shine through, blinding almost, but I’ll keep my sunglasses handy.

  40. I always learn something new from The posts, like discovering new facets of a gem. Thanks for the gems!

  41. The thought-provoking post has me looking forward to more. It’s like the intellectual equivalent of a second date.

  42. Provoked thought and taught me something new, as if my brain needed more exercise.

  43. A beacon of knowledge, or so I thought until I realized it’s just The shining confidence.

  44. Discovering The Writing has been a game-changer for me. The contributions are invaluable.

  45. The prose is as smooth as silk, making hard to understand topics feel like a gentle caress to my mind.

  46. The blend of informative and entertaining content is perfect. I enjoyed every word.

  47. The blend of informative and entertaining content is perfect. I enjoyed every word.

  48. Making hard to understand topics accessible is a gift, and you have it. Thanks for sharing it with us.

Leave a Reply

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