Archive for June, 2008

Linux for Young Human Beings

Thursday, June 26th, 2008

This past week my sister has been asking my parents for a computer.  I told them of an old computer that we had sitting in our storage room and that I could build it up as a machine for her.  We had an extra license for Windows XP but I decided that we’d try something new for her.  So I installed a copy of Edubuntu Linux for her computer.  Did I mention that she’s 9 years old?

I really didn’t need to show her anything.  She mostly plays games on the internet and she figured out quickly where the little launch icon is for Firefox.  However, she did call me up asking me how she could write a “rough draft” for a book that she wanted to write.  She didn’t know where Microsoft Word was.  I explained over the phone that there’s this great tool called OpenOffice.org.  I showed her how to get to it and off she goes with it.

I am terribly excited for her.  She’s 1 up’d the rest of my family.  She is the first one out of all of us to use Linux as her sole operating system (including me, I’ve been dual booting MacOS and Ubuntu Linux lately).  I’m gonna be following up with her to make sure that she’s using it.  But so far she really likes it.  She especially likes Compiz.  In her words, it’s “Awwesooome!”

Time Lapse

Thursday, June 19th, 2008

So I’ve played around a bit with some time lapsing.  It’s really a very fun thing to do.  The following video shows a time lapse that I created during a sunrise while near Yellowstone in Idaho.

I used a program called gphoto to take the pictures.  It only runs on MacOS and Linux.  I haven’t yet seen a port for Windows. As long as you have a camera that gphoto supports, you can have it automatically snap pictures. The minimum amount of time that I was able to snap pictures was 10 seconds. The reason being that the camera had to extent the lens, take the picture, then retract the lens. It would take about 10 seconds for it to do this. But the command that I used in gphoto to do this was the following:

gphoto2 --capture-image

Then I had it on a simple loop from there using a bash script.

After having taken pictures I used mencoder to put them all together into a video. Here’s an example of a command to use for mencoder.

mencoder mf://*.jpg -mf on:fps=25:type=jpeg -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:vhq -ofps 25 -o timelapse-25fps.avi

Then from there mencoder takes it and makes an mp4 video of all the pictures. It’s really kind of slick.