Skip to content

Instantly share code, notes, and snippets.

@vinzdef
Created January 9, 2019 13:31
Show Gist options
  • Save vinzdef/9029a9302a8b7026e35ac78d864a2c84 to your computer and use it in GitHub Desktop.
Save vinzdef/9029a9302a8b7026e35ac78d864a2c84 to your computer and use it in GitHub Desktop.
togif - quickly convert video to hq gif with ffmpeg
ffmpeg -i $1 -filter_complex "[0:v] fps=40,scale=800:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" ${1%.*}.gif
@vinzdef
Copy link
Author

vinzdef commented Jan 9, 2019

Thanks GIPHY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment