Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active May 8, 2023 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcandre/ba8c1b6b9025c1dbcf25ea0204f06556 to your computer and use it in GitHub Desktop.
Save mcandre/ba8c1b6b9025c1dbcf25ea0204f06556 to your computer and use it in GitHub Desktop.
Raise ffmpeg gif quality
$ ffmpeg -i <source> -vf "fps=30,scale=720:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" <target>.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment