Time-lapse
Posted by kevglass (twitter: @cokeandcode)
August 16th, 2011 1:34 am
Anyone got any good recommendations for time lapse software for OSX? I’ll be using the powerbook but I really want to do the whole #LD48 experience properly, posting junk food, recording timelapse, making bad jokes and maybe even producing a game.
I do it with a simple command line script and put the screens together with mencoder.
If this is enough for you, I could post you the details tonight at home. But who am I asking, this is the only indie way of doing it anyways =)
Damn right, any details would be much appreciated.
I use ScreenNinja. Worked a treat last LD
So here I am at home.
For taking Screenshots:
hile [ 1 ];do vardate=$(date +%d\-%m\-%Y\_%H.%M.%S); screencapture -t png -x $vardate.png; sleep 10; done
This does make a screenshot properly named every 10 seconds (change the sleep timer for your preference)
Then for assembling the video:
ls > files.txt
mencoder -ovc lavc -mf w=1152:h=864:fps=20:type=png ‘mf://@files.txt’ -vf scale=576:432 -o screenlapse.avi
This creates an 20 FPS video. Change FPS Time for your preference
For adding audio to the file lateron:
mencoder infile.avi -o outfile.avi -ovc copy -oac copy -audiofile audiofile.mp3
Have fun
First command line shall be called “while” not “hile” at the beginning, just so you don’t wonder