Skip to content

Instantly share code, notes, and snippets.

@ubmit
Last active November 19, 2022 11:38
Show Gist options
  • Save ubmit/52ca8dc5d63dbb9833be32e93dec09ba to your computer and use it in GitHub Desktop.
Save ubmit/52ca8dc5d63dbb9833be32e93dec09ba to your computer and use it in GitHub Desktop.
🎥 convert a .mov file to .gif
#!/bin/bash
ffmpeg -i input.mov -s 600x400 -pix_fmt rgb8 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > output.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment