Float On

by Jonathan, March 30th, 2010 | No Comments

Yesterday I read an article about a guy who recorded a time lapse video of his back yard over the course of an entire year. I thought it would be a fun project to try. Except I’m not that patient. So here is my time lapse video of my back yard over the course of yesterday afternoon.

Making a time lapse video isn’t hard. I used a Canon Powershot connected to a Ubuntu laptop. Here are the commands:

#Take a picture every 10 seconds
gphoto2 --set-config flashmode=0 --set-config beep=0 --set-config imageformat=2 --capture-image-and-download --interval=10

#Make sure images are named sequentially
x=1; for i in $(ls -tr $(ls -rt *JPG)); do counter=$(printf %04d $x); ln "$i" img"$counter".jpg; x=$(($x+1)); done

#Convert to a .dv movie (dv worked better than mpeg for me)
ffmpeg -f image2 -i img%04d.jpg -target ntsc-dv movie.dv