Skip to content

Instantly share code, notes, and snippets.

@vrunoa
Created November 15, 2021 18:35
Show Gist options
  • Save vrunoa/8a6a1240a913045ce8945489dce34936 to your computer and use it in GitHub Desktop.
Save vrunoa/8a6a1240a913045ce8945489dce34936 to your computer and use it in GitHub Desktop.
video-to-gif-using-ffmpeg
ffmpeg -i video.mp4 -vf "fps=10,scale=1024:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 webdriver-test.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment