Get the audio from a Youtube video with one command.
May 02By now most (if not all of you) have dabbled a little bit with Linux. Although it might look geeky and complicated at first glance, once you dip your toes into the great lake of open source it becomes a very refreshing computing experience. How do I mean ? Well : I challenge you to the following : Take a Windows Machine OR a Mac and, within 2 minutes FIND and INSTALL a free application that allows you to download a Youtube video and extract the audio to MP3. If you started off your search in Google (or in the Mac App store for that matter) you are starting to realize it is not that easy. There is a ton of ‘supposed’ freeware out there that, after installing it gives you either an app that does not completely work (unless you pay for it) or is just too complicated. Do you (as a true slider) have a Linux machine handy ? (perhaps a virtual machine or a server ) Then lets fire up the command line and give you a one line command to make that technology work for you.
Introducing “Youtube-dl”
Youtube-dl is a command line application that lets you download Youtube video’s and if you want to, extracts the audio from said video’s. The command is simple. On Ubuntu you can install it by hitting :
sudo apt-get install youtube-dl
After the installation is complete you need to update the app to the latest version. Also .. a couple of one liners.
sudo youtube-dl -U
You will get an error that you need to update via the GIT repositories once more. Easy peasy (copy and paste people)
sudo wget http://youtube-dl.org/downloads/2013.05.01/youtube-dl -O /usr/bin/youtube-dl
sudo chmod a+x /usr/bin/youtube-dl
Lets start Downloading.
Now surf to the Youtube video of your choice and copy the url to your clipboard.
Go back to the terminal and type :
youtube-dl <paste your url here>
Presto ! You will have the youtube video all for you ! What if you want the audio ?
youtube-dl --extract-audio <paste your url here>
Cross platform compatibility
Youtube-dl is also compatible with Macs and there is an .exe for our Windows friends. But because the command line is so easy I just leave a terminal open to my linux machine (on ANY machine i’m working on) and just copy and paste whatever cat video I would like to keep for prosperity. And youtube-dl does also support tons of other video sites like Vimeo and more !
Links : the Youtube-DL page. and their howto for Windows and OSX users.
Related Posts
“Blood and Chrome” Battlestar Galactica prequel available online.
Nov 18If you haven’t seen the “remake” of the 1980′s show Battlestar Galactica, you should seriously consider going to a therapist and ask them to examine that hairy ball of fur between your shoulder blades. As any self respecting geek with a sci-fi interest will tell you, Battlestar Galactica ( BSG for Short) is one of the “must-be-seen-before-terminator-gets-me-and-shoots-me” tv shows. Along with Firefly it draws the line dividing the best and the greatest sci-fi shows of the third millennium of mankind (Both shows being in the ‘greatest’ department.) The lords of Cobol (or should I say Scifi-channel) have bestowed upon you, whether thou art BGS junkies or total BSG-Virgins, a prequel. How did the first Cylon-Human war get started ? Where did it all begin ? How did Adama get his command of the Galactica and what happens if a toaster shoots at you. Be ignorant no more sweet friends. Behold “Blood and Chrome” …
And the other episodes are also LEGALY available online.
Related Posts
DOTW : Jdownloader : The ultimate Youtube Downloader.
Apr 11
Download of the week : Until a while ago I used an app on my Mac (I have even forgotten the name) to download any Youtube video’s I needed for the podcast or for some of my presentations. When upgrading to Lion, it decided (or rather Lion decided) it wouldn’t work anymore. Tough
I had found some alternative online sites to do it but searching for solutions like this is one of those internet ratholes like looking for free mp3 ringtones.) When twiddling around with it I had one of my favorite cross-platform download apps open in the background : Jdownloader. I use Jdownloader for multi-url links and long running downloads. Its free, its cross platform and it has this handy “url catcher” where it notices when you copy a url to your clipboard and then offers to download it. When the activity window for Jdownloader started blinking I checked out the “link grabber” window and was amazed to find that not only it had “caught” the url of the Youtube video I copied, but it offered to do something more. Jdownloader will offer to download AND CONVERT your Youtube video into several sizes like : MP3, FLV, MP4, Webm and more (depends on the video) So this tool is something that should not be missing in your application folder on ANY of your systems.
Download Jdownloader ( mac – lin – win ) here.
Related Posts
Google buys Youtube .. And even the real world looks up.
Oct 11It was the most funny thing yesterday morning. I was (as usual) listening to my daily dose of podcasts on my way to work, podcasts about technology and the latest news on the edge of real and cyberspace and beyond. At about seven AM I turned my Ipod off for a minute to tune into the regular news on the radio ( yep , i'm THAT kind of information junkie ). Since we had regional elections last sunday my interest was a little tickled just to know what some of these lame ass parties had come up with in order to work together , run the local towns and not loose face. Then suddenly I heard something very odd. It even made me check the play button on my Ipod, just to be sure I was not tuned into another podcast. But no : Clear as day, at seven AM in the (mainstream) headline news they announced Google had just bought You-tube.
Now rumors where flying around all over the cyber-place about the business model of Youtube, the Future of Youtube and about the lame sod who was going to BUY Youtube someday. Even in the latest edition of the Global Geek Podcast , talk was cheap and speculation was high about this very issue. But I never thought an event in Cyberspace would hit the mainstream news like that. A small smile of surprise crept along my face as I heard the crunching boot of cyberspace advance yet another pace in the world of the average off-line John.
Untill a few years ago (i'm talking "95, "96) the internet was this obscure thing for geeks. These days everybody has an email address, every product features his or their website on the package and most people have an internet connection. Although it is still the case that those with their finger on the cyberpulse are a minute few in contrast to the big dumb mass, one cannot help but revel at the phenomenon how the digital world is slowly but surely seeping into the dry desert of the real world.
Just to let the boys at Google know what they bought and what it's for .. I want to give you this little video.
This wonderfull little flick was part of a cabaret show Here is the original scene and shows the true power of You-tube. Take some good content , let loose the creative geeks of the globe to make something completely different out of it and then give them a medium to post it on.
Related Posts
A little insight into the simplicity of Youtube.
Aug 31Simplicity Recipe.
- One Camera that is able to shoot some video (most digital fotocamera's do).
- One account on YOUTUBE (its free and you can upload all the video's you want).
- One subject( in this case the new dog at my inlaws)
- Shoot the video,
- Make an account on youtube
- Upload the video
- Publish the video via Email / on the youtube site / or link it into your own site.









recent comments