Last active
August 29, 2015 14:06
-
-
Save bitdivision/6cf7c78e00d0c8564232 to your computer and use it in GitHub Desktop.
Zoetrope Encoding Commands
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
### Gif | |
convert -delay 20 -loop 0 *.jpg output.gif | |
### WebP (lossless) | |
for file in *.jpg; do cwebp -lossless ${file} -o ${file%.jpg}.webp; done | |
webpmux -frame 0000.webp +0+0+200 ... -o output.webp | |
### WebP (lossy) | |
for file in *.jpg; do cwebp ${file} -o ${file%.jpg}.webp; done | |
webpmux -frame 0000.webp +0+0+200 ... -o output.webp | |
### x264 (lossless) | |
ffmpeg -r 8 -i %04d.jpg -vcodec libx264 -crf 0 -y output.mp4 | |
### x264 (lossy) | |
ffmpeg -r 8 -i %04d.jpg -vcodec libx264 -crf 23 -y output.mp4 | |
### WebM (VP8) | |
ffmpeg -r 8 -i %04d.jpg -vcodec libvpx -b:v 1.5M -crf 15 -y output.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment