Sunday, August 23, 2009

Why linux rocks

I recognize the fact that linux has it's flaws in comparison with the other operating systems, but I think I found something that is easier to do on a default linux install.  I was flying home and had a copy of a Science 2.0 panel video on my laptop. (Good video, you can see that here: http://www.vimeo.com/6077540).  But importantly is how I ended up 'watching it'.  Since it was just a panel, the video was rather pointless and I would have essentially had my whole laptop up running down its battery just so I could listen.  Thanks to ffmpeg, which is installed as a dependency for media programs, I was able to do this:

ffmpeg -i open-science.flv -f mp3 -ab 131072 -vn open-science.mp3
and harvest the audio out of the video.  From my previous experience on windows, doing tihs would have either been impossible or taken hours to find the right utility.  It just struck me as how simple it was to already have the right tool default on linux.  As a result, was able to take a video and listen to it on my mp3 player.  That's just cool.