Created
March 27, 2012 14:54
-
-
Save roban/2216581 to your computer and use it in GitHub Desktop.
command I use to make a time lapse movie from a list of individual frames using mencoder
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
# first create a list of frames, perhaps by running: | |
# ls -tr *.JPG > frames.txt | |
# Now run mencoder to make the move. I adapted the configuration from | |
# http://blog.hugochinchilla.net/2011/09/time-lapse-videos-mencoder/ | |
# playback at 15 frames per second | |
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect:vqscale=3 -vf scale=1920:1440 -mf type=jpeg:fps=15 mf://@frames.txt -o time_lapse.avi | |
# playback at 30 frames per second | |
#mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect:vqscale=3 -vf scale=1920:1440 -mf type=jpeg:fps=30 mf://@frames.txt -o time_lapse30.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment