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.
The words are like seeds, planting ideas that blossom into understanding and appreciation.
This piece was beautifully written and incredibly informative. Thank you for sharing!
This post is a testament not only to The expertise but also to The dedication. Truly inspiring.
Reading The article was a joy. The enthusiasm for the topic is really motivating.
Each post you write is like a letter I’ve been waiting for. Always delivered with care.
I was truly impressed by how deeply you delved into this topic. The hard work hasn’t gone unnoticed!
The perspective is incredibly valuable to me. Thanks for opening my eyes to new ideas.
The attention to detail on the state of the country is remarkable. I appreciate the thoroughness of the post.
The writing style had me at hello. Engaged from start to finish, just like a perfect first date.
The insights on the state of the country add so much value to the conversation. I always learn something new from you.
Provoked thought and taught me something new, as if my brain needed more exercise.
Delightful read. The passion is visible, or at least, very well faked.
Beautifully written and incredibly informative, The post has made a lasting impression on me. Thank you for sharing The thoughts.
Learned a lot from this post, and here I was thinking I knew it all. Thanks for the humble pie.
Compelling read with well-presented arguments. I almost felt persuaded. Almost.
The effort you’ve put into this post is evident and much appreciated. It’s clear you care deeply about The work.
The balance and fairness in The writing make The posts a must-read for me. Great job!
The unique viewpoints you bring to The writing are as captivating as The online presence. Always a pleasure.
The posts are like a cozy nook, inviting and comfortable, where I can immerse myself in thoughts.
Opened my eyes to new perspectives, and here I was thinking I’d seen it all.
Distilling hard to understand concepts into readable content, or what I like to call, a miracle.
You have a gift for explaining things in an understandable way. Thank you!
A gift for explaining things, making the rest of us look bad.
The insights are like a favorite book; I find new treasures each time I return.
Handling topics with grace and authority, like a professor, but without the monotone lectures.
Thoroughly insightful read, or so I thought until I realized it was The expertise shining through. Thanks for making me feel like a novice again!
This was a thoroughly insightful read. Thank you for sharing The expertise!
A breath of fresh air, or what I needed after being suffocated by mediocrity.
The smells at Charlotte Dog Park keep my dog’s nose busy—he’s in sensory heaven all day.
I love that Charlotte Dog Park has separate areas for big and small dogs; it keeps everyone safe and happy.
The warmth and intelligence in The writing is as comforting as a cozy blanket on a cold night.
This is one of the most comprehensive articles I’ve read on this topic. Kudos!
The insights dazzled me more than a candlelit dinner. Thanks for lighting up my intellect.
Reading The work is like gazing at a masterpiece; every detail contributes to a breathtaking whole.
The insights are like a fine wine—rich, fulfilling, and leaving me wanting more.
The insights add so much value to the conversation. I always learn something new from you.
This is one of the most comprehensive articles I’ve read on this topic. Kudos!
The way you articulate The thoughts is as refreshing as the first sip of coffee in the morning.