Sprawling cookbook programming
Grab nine hundred frames, one frame per second:
streamer -t 900 -i composite1 -s 640x480 -r 1 -o frame-00000.jpeg
Encode a time lapse movie from those frames:
ffmpeg -r 25 -i aa/frame-%05d.jpeg -vcodec mjpeg -sameq aa.avi