Created
August 8, 2013 19:13
-
-
Save dmerrick/6187734 to your computer and use it in GitHub Desktop.
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 | |
# take a directory of images and combine them into a movie | |
# create an editable list of frames for the movie | |
ls -1v | grep JPG > files.txt | |
# 1080p at 24 fps | |
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=21600000 -o timelapse.1080p.24fps.avi -mf type=jpeg:fps=24 mf://@files.txt -vf scale=1920:1080 | |
# 4K at 60 fps | |
#mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=21600000 -o timelapse.4K.60fps.avi -mf type=jpeg:fps=60 mf://@files.txt -vf scale=3840:2160 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment