Created
July 1, 2016 05:57
-
-
Save cjwinchester/f4dd36c2833e003e06b2d04c99b39809 to your computer and use it in GitHub Desktop.
m4v -> cut -> pngs -> gif
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
| ffmpeg -i input.m4v -ss 00:50:57 -t 00:00:14 cut.mp4 | |
| ffmpeg -i cut.mp4 -r 10 output%05d.png | |
| convert tagd*.png -loop 0 -dither none -deconstruct -layers optimize -matte -depth 8 -background none -quantize transparent output.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment