Created
February 9, 2018 12:54
-
-
Save bluvertigo/f8032159554bd14ef43c5e7ab108cc21 to your computer and use it in GitHub Desktop.
Script generate timelaps
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
#!/bin/sh | |
mkdir resized | |
mogrify -path resized/ -resize x1080 `find . -name '*.JPG'` | |
cd resized | |
cat *.JPG | ffmpeg -f image2pipe -r 5 -vcodec mjpeg -i - -vcodec libx264 -movflags faststart out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment