Last active
October 3, 2016 01:20
-
-
Save quinnjn/c03ce45e730994a11933b56decb8af7a to your computer and use it in GitHub Desktop.
Raspberry Pi timelapse
This file contains 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
TIMELAPSE=86400000 # 24 hours | |
TIMEOUT=48000 # 48 seconds | |
raspistill --output timelapse-%04d.jpg --timeout $TIMEOUT --timelapse $TIMELAPSE |
This file contains 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
ls *.jpg > stills.txt | |
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:aspect=16/9:vbitrate=8000000 -vf scale=1920:1080 -o timelapse.avi -mf type=jpeg:fps=24 mf://@stills.txt | |
rm stills.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment