Commits

Brian McKenna  committed 76eeec0

Initial commit

  • Participants

Comments (0)

Files changed (4)

+.*\.png

File create-video.sh

+#!/bin/sh
+OUTPUT=timelapse-$(date "+%s").avi
+AUDIO=
+
+FPS=10
+SCALE=640:480
+BITRATE=1536
+
+if [ ! -z "$AUDIO" ]
+then
+    audioflags="-oac mp3lame -audiofile $AUDIO"
+fi
+
+mencoder mf://*.png -mf fps=$FPS -ovc xvid -xvidencopts pass=2:bitrate=$BITRATE -vf scale=$SCALE $audioflags -o $OUTPUT

File screencapture-interval-linux.sh

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

File screencapture-interval-osx.sh

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