Skip to content

Instantly share code, notes, and snippets.

@xeoncross
Created September 6, 2011 21:27
Show Gist options
  • Save xeoncross/1199020 to your computer and use it in GitHub Desktop.
Save xeoncross/1199020 to your computer and use it in GitHub Desktop.
Command line screencast timelapse
http://labs.laan.com/wp/2011/01/how-to-make-time-lapse-screencaptures-of-your-design-work-for-free-mac/
In ubuntu I created a bash script and ran it all day while I worked (using apt-get install ImageMagick)
#!/bin/bash
i=1;
while [ 1 ];
do import -window root -resize 50% my/foldername/$i.jpg
let i++;
sleep 10;
done
At the end of the day I had hundreds of photos and used ffmpeg in the "my/foldername/" directory from the command line:
$ sudo apt-get install ffmpeg
$ ffmpeg -r 10 -i %d.jpg -b 15000k timelapse.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment