[FFmpeg-user] Targeting bitrate when outputting to GIF

Carl Dong lists+ffmpeg-user at carldong.me
Fri Feb 14 00:47:33 EET 2025


Wondering if there’s a way to target bitrate when outputting to GIF

This is mostly useful when posting to a service that limits GIF bitrate (like Twitter)

I’ve tried using -maxrate 2M -bufsize 2M, but the output is still higher: bitrate=5035.7kbits/s

The current workaround seems to be adjusting fps= until the bitrate is low enough

–Carl


More information about the ffmpeg-user mailing list