Timelapse (with scripts!)

Is anyone planning on doing a timelapse for this PyWeek?

I'm taking a screenshot every minute and I'm planning on collating them at the end. Here is my script for Linux:

#!/bin/sh
while true; do import -window root $(date "+%s").png; sleep 60; done

And for OS X:

#!/bin/sh
while true; do screencapture $(date "+%s").png; sleep 60; done

And then you can use mencoder after you've captured all the frames:

mencoder mf://*.png -mf w=640:h=480:fps=10:type=png -ovc copy -oac copy -o output.avi

Easy! Hopefully I'll have something interesting to show at the end of PyWeek.

(log in to comment)

Comments

Can anyone recommend a program that does this for windows?
Someone from Ludum Dare wrote a tool for Windows:

http://keeyai.com/projects-and-releases/chronolapse/

I haven't tried Chronolapse but seen a few people recommending it.