Useful for converting screenshots, for example. Note the reduced framerate and scale (which can be changed) to help with reduced filesizes:
ffmpeg -i some-video.mov -filter_complex "[0:v] fps=12,scale=480:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" output.gif