Created
November 15, 2019 11:02
-
-
Save budius/763b8d8ec0ce370e79490a9feda12c27 to your computer and use it in GitHub Desktop.
Create GIF from video using FFMPEG (optimised for mobile screen recording)
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/sh | |
ffmpeg -i $1 -r 15 -vf "scale=720:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" $1.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment