Skip to content

Instantly share code, notes, and snippets.

@andreagalle
Created April 18, 2020 13:06
Show Gist options
  • Save andreagalle/46f7ae27043a817903dbed991e6b7a5a to your computer and use it in GitHub Desktop.
Save andreagalle/46f7ae27043a817903dbed991e6b7a5a to your computer and use it in GitHub Desktop.
ffmpeg -i $1.mp4 -vf "fps=10,scale=320:-1:flags=lanczos" -c:v pam -f image2pipe - | convert -delay 10 - -loop 0 -layers optimize $1.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment