Created
April 16, 2015 00:09
-
-
Save rantt/fa9c6784f1524f32bbbb to your computer and use it in GitHub Desktop.
Timelapse Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| while [ 1 ];do vardate=$(date +%d\-%m\-%Y\_%H.%M.%S); screencapture -t jpg -x ~/gamedev/vidcaps/timelapse/$vardate.jpg; sleep 10; done | |
| #Run ffmpeg after to turn jpg's into video | |
| #ffmpeg -i '%*.jpg' -r 30 -q:v 2 timelapse.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment