<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d23884446\x26blogName\x3dJust+Another+Tech+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://justanothertechblog.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://justanothertechblog.blogspot.com/\x26vt\x3d-8342903261382138056', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Just Another Tech Blog

Anything and everything having to do with technology, computers, science, and most of all... Linux! The documentation of my Linux endeavor.

Easily extract audio from any YouTube video

Monday, February 19, 2007

There are times when you come across a YouTube video that has a soundtrack that you just must have. You can download the video... but then you still have the video attached. What if you want just the audio? Well, if you're running Linux, ffmpeg has come to your rescue. Using any YouTube ripper, first download the video. Make sure it saves in .flv format. After that we can simply run the following command:

ffmpeg -i input.flv -f mp3 -vn -acodec copy output.mp3
This will give you just the audio of the video in nice mp3 format. From there, you can encode it as you wish.
Another method you may want to use, utilizing mplayer, is:

mplayer -dumpaudio [name of file].flv
This gives you a file called stream.dump in the original audio format. Rename the file as you wish.

posted by linnerd40, Monday, February 19, 2007


That is a very useful idea. Thanks

commented by Blogger Dave, 9:58 PM  

Great! This was just what I was looking for! Thanks!

commented by Anonymous p3Dr0xer, 3:03 AM  

I'm using that kind of commands and I provide a tool to extract audio from youtube (or any other) video here:


I hope that'll be useful.


commented by Blogger gat, 4:22 PM  


commented by Anonymous Anonymous, 7:46 PM  

YouTubeRobot.com today announces YouTube Robot 2.0, a tool that enables you to download video from YouTube.com onto your PC, convert it to various formats to watch it when you are on the road on mobile devices like mobile phone, iPod, iPhone, Pocket PC, PSP, or Zune.

YouTube Robot allows you to search for videos using keywords or browse video by category, author, channel, language, tags, etc. When you find something noteworthy, you can preview the video right in YouTube Robot and then download it onto the hard disk drive. The speed, at which you will be downloading, is very high: up to 5 times faster than other software when you download a single file and up to 4 times faster when you download multiple files at a time.

Manual download is not the only option with YouTube Robot. You may as well schedule the download and conversion tasks to be executed automatically, even when you are not around. Downloading is followed by conversion to the format of your choice and uploading videos to a mobile device (if needed). For example, you can plug in iPod, select the video, go to bed, and when you wake up next morning, your iPod will be ready to play new YouTube videos.

Product page: www.youtuberobot.com
Direct download link: www.youtuberobot.com/download/utuberobot.exe
web-site: www.youtuberobot.com
E-mail: support@youtuberobot.com

commented by Anonymous Anonymous, 4:19 AM  

Add a comment