Search


Rss feeds
Posts Comments Source Code
Rating
Image to SpectrogramNontransitive DicecheaTorrentDomain ColoringiMac G5 CPU Fan view all...
Recent
Pretty GraphHypernova EngineEmergent FeedbackSDL Euclid OrchardSingularity Viewer view all...
Tags

All source code released under the BSD License unless otherwise specified
© 2010, Gavin Black

Timelapse Video

Overview

A really simple script to capture video from a window or the entire screen. It captures frames at a given interval, thus creating a timelapse effect. It's been useful enough I'm giving it a post of it's own. It does depend on ffmpeg being installed though.

Source Code

Source Tree: http://devrand.org:8080/cgi-bin/cgit/timelapseVideo/tree/
Snapshots: http://devrand.org:8080/cgi-bin/cgit/timelapseVideo/commit/
Git Access: git clone http://devrand.org:8080/git/timelapseVideo

Example Video

Usage

./timeLapse.sh DELAY_IN_SECONDS NUMBER_OF_CAPTURES [MUSIC]
Examples:
./timeLapse.sh 5 1000
would take 1000 captures, one every 5 seconds.
./timeLapse.sh 60 1440 test.mp3
would take capture a frame every minute for a day, and put the audio of test.mp3 with the resulting video.

Conclusion

Simple yet handy, not much else to say :p It's incredibly trivial, and the simple technique can be used to do other types of video creation.

Last Edited: 2010-10-24 04:15:05

+ Add a comment