vid2gif
Convert video files into animated GIFs.
2026 Rémino Rem https://remino.net/
Installation
Homebrew
brew install remino/remino/vid2gif
vid2gif input.mp4Homebrew also installs movie2gif as an alias for vid2gif, so existing scripts continue to work.
Download
Go to the GitHub download page for the latest release, and download the source code from there.
Git clone
git clone git@github.com:remino/remutils.git
cd remutils/vid2gif
./vid2gif input.mp4Usage
Convert a video, writing the GIF alongside it by default:
vid2gif input.mp4Pass an output filename as the second argument:
vid2gif input.mp4 output.gifUse -s and -d to select a clip, then adjust frame rate and dimensions:
vid2gif -s 3 -d 5 -r 15 -w 640 input.mp4 clip.gifvid2gif generates an FFmpeg palette for good GIF colours and optimizes the result with image_optim when it is available. Use -O, --optim, or --optimize to require optimization; use --no-optim or --no-optimize to skip it. --auto-optim and --auto-optimize restore the default automatic behavior. Run vid2gif --help for all options.