Optimization • 4 min read
Keeping Animated WebP Stickers Under 950 KB Without Ruining Quality
Published 2026-11-25
How adaptive frame rate tiers (12, 10, 8, and 6 FPS) and hybrid video seeking keep animated stickers crisp and synchronized.
Adaptive FPS and quality ladder
Animated WebP files can balloon past 2 MB if encoded blindly at 30 FPS. By stepping down gracefully from 12 FPS (Q55) to 10 FPS (Q42), 8 FPS (Q32), and 6 FPS (Q25), most stickers stay crisp and well under WhatsApp's strict sticker size budget.
Hybrid seeking eliminates audio/video drift
Seeking far into an MP4 file solely with post-input -ss can stall WebAssembly decoders, while fast pre-input seeking alone can land on an earlier keyframe. Combining preSeekSec before input with fineSeek after input and setpts=PTS-STARTPTS locks frame 1 to sample 1.