Tag Archives: youtube

Converting Youtube Videos to MP3

I recently lost all of my music collection due to a harddisk crash on my fileserver, which means that I have to start collecting all over again, and believe me, some rare songs are pretty hard to find.

On the other hand I often find a nice song on Youtube and decide that I have to keep it. And after a bit of looking around I found the handy youtube-dl script which automatically parses the pages content and downloads the video file, much like keepvid.com does, but all from the shell.

After we have the video file all we have to do is dump the audio and convert it to a format we like (most likely MP3 or OGG). Until today I used mplayer and mencoder to dump and encode the audio, but I stumbled across this article on howtoforge.org that uses ffmpeg, and is more flexible and avoids me one intermediate step :-)

So now I have a really simple script that fetches the video and converts it, which looks like this:
#!/bin/bash
# Just additional setting to use high quality video
YOUTUBE_OPTS="-b"

# Please make sure youtube-dl is in your path
youtube-dl $YOUTUBE_OPTS -o temp.flv "$1"

ffmpeg -i temp.flv -ab 128000 -ar 44100 "$2"

Please make sure, as stated above that youtube-dl is in your path. Usage is pretty darn simple:

ripyoutube <youtube-url> <mp3-name>

Don’t forget to enclode the URL and filename into doublequotes

Did you like this? Share it:

Running up that Hill (Placebo vs. Kate Bush)

Now, I’m myself not a huge fan of posting Youtube videos on a Blog, and even less of remixes of my beloved songs, but I just love this this video and I wanted to share it with you:

Read more
Did you like this? Share it:

Getting touchy

iPod TouchI got myself an iPod Touch, and I’m in love!

Now, some of you might remember that I’m not a huge fan of Apple Products, or better to say their users that far too often become Apple-Apostles, but even I have to admit that the new iPod is a masterpiece of usability and beauty (once you have unlocked it). Yes, that’s right, I had no other choice than to ask a friend of mine to unlock it, since it was impossible to do so on my Linux machine. Then I had to hack it to get it working with Linux, since the connector cable won’t work either. The only solution I have found so far involves jailbreaking, installing the SSH server and then use sshfs to mount the iPod’s Disk to my Linux box. It’s really a shame that Apple keeps ignoring the needs of so many of it’s customers! And why, oh why don’t they just put the VPN client and Mail client on the iPod…???

Enough of the rants, let’s get on with the good stuff: the browser, the Youtube app really kick ass and I’m happy that I can use some of my favorite webapps:

  • Todoist: the best task tracker there is.
  • Gmail: do I even have to tell you why?
  • Facebook: Getting social on the way
  • and being able to read the slides of my upcoming lections while not even getting up from bed is nice too :)

Did you like this? Share it:

Getting the most out of Google Homepage

Google Homepage has been around for quite some time now and I’ve been using it for most of it. Last month I figured out that using it as a productivity tool, instead of just using it to waste time reading the last Digg headlines or watching random movies from YouTube, may be a good idea. So first of all I threw away all those time wasters, or better, I banned them into a separate Tab. So now I have 3 Tabs:

  • Work
  • Admin
  • Time Wasting

Google IG - RememberTheMilk
So first of all we need to decide what we is usefull and what isn’t, obviously the YouTube Widget and the Digg Widget aren’t fit for the Work Tab, because they distract and don’t help working. Also an overkill of 5-6 todo lists are unnecessary, best thing would be to have a todo list for things that can be done regardless of time, think of it as a bucket where you throw in the idea that just popped into your head so you can get back to it once you finished what you are currently doing (remember: multitasking is bad :) ). RememberTheMilk has done the trick for me, and also their module allows me to add, edit and complete tasks without leaving the Homepage, which is really important.

Google IG - Google Calendar
Next we need something to keep track of appointments, they are no todos, and are fixed in time, so what better than a nice Calendar Widget, I personally prefer to just see the next upcoming appointments instead of having a calendar and then having to click on items to see what they are. So the tool of choice is Google Calendar MarkII Magic which again allows you to add new appointments without having to leave the Homepage, and when you click on an item the details are shown in a balloon. Another usefull feature is that it allows you to display all of your Google Calendar Calendars, all in a one widget.

Google IG - Google Notebook
So now that we have taken care of the Tasks and Appointments, we can move on to other issues. Sometimes an idea jumps into mind, an idea for a project, or anything that can’t really be described as a task, so that you have to take a note of it, maybe elaborate it later. What could be better than Google Notebook? It takes close to no time at all to write down two lines, no need to organize it, just write what comes to your mind, and you can safely forget about it until you finished what you are working on, because you will later be able to restart exactly where you left it. So the Google Notebook Widget is an absolute must

Google IG - Gmail
Since Gmail has replaced my Desktop client I keep track of all of my Inboxes aggregated using the Gmail Gadget. This actually depends on how big your daily mail traffic is, if it isn’t too high, like mine, it is perfectly ok to have it, because it won’t distract you too much, otherwise you probably better not add it to your homepage, as it can become really distracting when every minute or so new messages come in.

Google IG - ClearCheckboot
And finally, being a student, I’m always a bit short of cash, so it’s best to keep track of my expenses, so I just added the ClearCheckbook Widget. Nothing fancy here, it just displays the current contents of my accounts, can be depressing sometimes :p

So putting it all together we have the following Homepage:

  1. RememberTheMilk
  2. Google Calendar MarkII Magic
  3. Google Notebook
  4. Gmail Gadget
  5. ClearCheckbook

So this is my Homepage, what about yours?

Did you like this? Share it:

Firefox to support Offline Apps

Read/WriteWeb have a post aout FireFox 3 supporting offline apps:
An interesting tidbit came out of the recent Foo Camp New Zealand (which unfortunately I wasn’t able to attend). Robert O’Callahan from Mozilla, who is based in NZ but drives the rendering engine of Mozilla/FireFox, spoke about how Firefox 3 will deliver support for offline applications. This is significant because you’ll be able to use your web apps – like Gmail, Google Docs & Spreadsheets, Google Calendar, etc – in the browser even when offline. I deliberately mentioned all Google web apps there, because of course this plays right into Google’s hands. Although Mozilla is an open source organization, some of its top workers are employed by Google. So it’s a very cozy relationship. We’ve discussed before how Firefox 3 as information broker suits Google very nicely, because the Mountain View company has a number of best of breed web apps – and if it’s not building them, it’s acquiring them (YouTube, JotSpot, Writely, etc). Rod Drury also pointed out in his post how this makes Firefox attractive as the browser platform of choice for SaaS providers (Software as a Service). For example salesforce.com.
[via Read/WriteWeb]
Did you like this? Share it: