Makers Faire timelapse, using CHDK and mencoder
October 22nd, 2008Last weekend I went to Austin, TX, for the Makers Faire. There, Pat, David, and I make a crap load of custom ice cream scoops. The process involved filling a dixie cup with whatever ingredients you wanted, including fun stuff like chayanne pepper and BBQ sauce (some people made normal ice cream, too), and then instantly freezing it with liquid nitrogen. The kids loved it!
Just as a note, this was a promotion for Pat’s just published book, the Hungry Scientist Handbook. The book is meant for foodie/geeky types — I’d definitely check it out if you self identify with either of those groups.
Anyway, I made a timelapse of the setup. Here, you can see us getting ready and serving for about half a day (then my battery died).
After discovering CHDK, I’ve started messing with timelapses. Here is how I created the above timelapse:
- Installed CHDK on my Camera
- Added this script to my CHDK/SCRIPTS directory
- Set it to take a picture every 15 seconds, and run it until the battery runs out
- Copied all the resulting photos off my SD card into a folder on my computer
- Ran the following command (requires mplayer):
mencoder "mf://*.JPG" -vf scale=640:480 -o timelapse.avi -of lavf -ovc lavc -lavcopts vcodec=mjpeg -lavfopts format=avi
And tada! You now have timelapse.avi.







October 23rd, 2008 at 8:24 pm
[...] here is Alex’s snazzy time-lapse documentation of the phenomenon. Watch [...]
October 23rd, 2008 at 10:22 pm
Shit yeah! Looks great.
October 25th, 2008 at 12:26 am
Very cool! I have CHDK on my camera as well and meant to make such a video for a while. Now that I saw how great yours turned out, I think I’ll do it soon :)
November 9th, 2008 at 10:15 am
Yeah, I’ve been using CHDK for a couple of months now. It makes those cannon cameras more fun. The only thing I don’t like abouy CHDK is that the battery life sucks, but that’s to be expected