|
1 | 1 | Screenlapse
|
2 | 2 | ===========
|
3 | 3 |
|
4 |
| -A bash script for os x that makes a timelapse video of your screen with ffmpg |
| 4 | +A bash script for os x that makes a timelapse video of your screen with ffmpg. |
| 5 | + |
| 6 | +What it does |
| 7 | +------------ |
| 8 | + |
| 9 | +* Takes incrementally numbered screenshots of your main monitor at a definable interval, and at a definable resolution. |
| 10 | +* If you have ffmpeg installed, it will let you render these screenshots to a .mov file at an arbitrary framerate. |
| 11 | + |
| 12 | +How to use it |
| 13 | +------------- |
| 14 | + |
| 15 | +* Clone screenlapse.command to wherever you want your screenshots and the video. |
| 16 | +* Make the file executable (via cmd-i or chmod +x screenlapse.command). |
| 17 | +* Double click it. |
| 18 | + |
| 19 | +If you're in a hurry, just smash the enter key three times to start recording with defaults, otherwise, you can set these parameters: |
| 20 | +* __Interval__: number of seconds between each screenshot. Default is 4. |
| 21 | +* __Starting value for incremental numbering__: if you exited the script before and want to resume now, put the name of the last screenshot +1 here (if your last screenshot was 2214.jpg, enter 2215 here). Default is 1. |
| 22 | +* __Target width__: Whatever you want the width if the resulting images/video to be, i.e "640". Correct aspect ratio is maintained. Defaults to your screen resolution. |
| 23 | + |
| 24 | +You can then stop the screenshotting with ctrl-c. If ffmpeg is installed, you will then be prompted whether you want to render the screenshots into a -mov file. If yes, you will be prompted for: |
| 25 | +* __Framerate__: Target framerate of the .mov. Default is 12. |
| 26 | +* __Filename__: The name of the .mov file. Default is "timelapse". |
| 27 | + |
| 28 | +Careful: screenlapse will overwrite any existing files without warning. |
| 29 | + |
| 30 | +Installing ffmpeg: |
| 31 | +----------------- |
| 32 | + |
| 33 | +If you have homebrew installed: ```$ brew install ffmpeg``` |
| 34 | + |
| 35 | +Otherwise try: |
| 36 | + |
| 37 | + $ svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg |
| 38 | + $ cd ffmpeg |
| 39 | + $ ./configure --enable-shared --disable-mmx |
| 40 | + $ sudo make |
| 41 | + $ sudo make install |
| 42 | + |
| 43 | +(I could never make this work) |
| 44 | + |
| 45 | +Stuff |
| 46 | +----- |
| 47 | + |
| 48 | +Screenlapse happened because of [this blog post](http://labs.laan.com/wp/2011/01/how-to-make-time-lapse-screencaptures-of-your-design-work-for-free-mac/), so thanks to those two guys. |
0 commit comments