OSX

Convert Video to GIF on Mac OS

1 min read
Convert Video to GIF on Mac OS

Install HomeBrew

Using the terminal, run the following command.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install ffmpeg

Install ffmpeg from HomeBrew using the terminal command below.

brew install ffmpeg

Convert Videos to GIF

Simply run this ffmpeg command.

ffmpeg -i input.mp4 output.gif

To reduce the frame rate of the output GIF, simply add the argument -r.

ffmpeg -i input.mp4 -r 15 output.gif

Note that ffmpeg accepts several video input formats. Run the following command to get a list of supported codecs.

ffmpeg -codecs

Read more articles like this in the future by buying me a coffee!

Buy me a coffeeBuy me a coffee