Krillz.com

A coder’s steps revealed


Search



Here’s a nice little post about how you could extract the sound from those flash streamers on Youtube and Google video.
Why I’m posting this? I’m posting this for one simple reason; I saw a video clip with the song I like in it. I couldn’t buy it anywhere and I even tried to find it on different torrent and P2P file sharing networks to illegally download it but no success!
Step two was then to spend some time on Google trying to find software on how to get the sound from the streaming flash.
Of course what did I find if not a bunch of applications that cost a lot, and I bet they work like crap anyway.

But then I came across a blog that covered this topic, and the solution was fast and simple!
Just as I like it, the best thing is that most of it can be handled in Firefox.

First step is to download a nice little plugin for Firefox that is called DownloadHelperExtension and can be downloaded here; Take me there
I didn’t know about this plugin before I found the blog, but I have to say that it’s very useful!
So to extract the sound, go to your desired video clip and you’ll see the DownloadHelperExtension icon rotate. Press the small arrow on its side and you’ll get a list of files that you can download.
Choose the file with the flv extension and save it on your harddrive, see the image if you’re unsure.

DownloadHelperExtension

So long so good, now if you are on windows then visit the original post.
See the bottom of the post.
On Linux you can use mplayer or ffmpeg to extract the sound from the flv file using these commands;


mplayer -dumpaudio fileName.flv -dumpfile fileName.mp3
ffmpeg -i fileName.flv fileName.mp3

Using ffmpeg you can even change the audio rate as the outcome is pretty lame otherwise; using these two flags –ab and –ar .

ffmpeg -i fileName.flv -ab 192 -ar 44100fileName.mp3

Playing around with these commands I just noticed that you can record and save the audio directly from a stream.
Simply put the url of the stream instead of the file in ffmpeg and in mplayer change the dumpadio flag to dumpstream instead.


mplayer -dumpstream http://url.to/stream -dumpfile fileName.mp3
ffmpeg -i http://url.to/stream -ab 192-ar 44100 fileName.mp3

Now go and grab the audio you have been looking for!
Great way to take audio from seminars and listen to them in you mp3-player or in the car!

Source: Tanasije Gjorgoski - Windows users

Share with the world: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Slashdot
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • DZone
  • MisterWong

4 Responses to “Extract audio from Youtube”

  1. […] to extract the audio from youtube or similar streamers? Here’s you answer to that question!read more | digg […]

    13.vc » Blog Archive » Extract audio from Youtube

  2. is there a similar solution for IE7

    jeff

  3. good

    mahesh

  4. thanks

    Jeffrey Ling

Leave a Reply