
Smaller values reduce the file size but make it choppier. Setting the value larger make the GIF smoother but bigger. Here are the different ways you can tweak the command: mp4, but ffmpeg can read most anything you throw at it.

Once you have that, change the INPUT_PATH.mp4 and OUTPUT_PATH.gif to whatever filenames you want and you'll be good to go. The command produces a high quality GIF at a reasonable size.

This is the same thing, but it clips out a section of the video starting at 2.3 seconds that's 1.3 seconds long instead of processing the entire clip: ffmpeg -i "INPUT_PATH.mp4" -ss 2.3 -t 1.3 \ This command uses ffmpeg to convert a video into a high quality GIF: ffmpeg -i "INPUT_PATH.mp4" \
