Guides
2-Pass Palette GIFs vs. Animated WebP vs. Looping MP4
Why single-pass GIFs look muddy, how FFmpeg 2-pass palettegen fixes banding, and when Animated WebP or looping MP4 beats GIF locally.
Why 2-pass palette generation makes GIFs look sharp
GIF allows only 256 colors per frame. Basic converters use a fixed generic color table, creating harsh blocky skin tones and dull gradients.
Vidto runs FFmpeg's 2-pass pipeline: Pass 1 analyzes your trimmed clip with palettegen (stats_mode=diff) to build a custom 256-color palette for your scene, and Pass 2 renders frames with Lanczos scaling and clean dithering via paletteuse. In the sidebar you can pick 8, 12, 15, or 24 FPS, output widths from 320px to 800px, and Crisp (Bayer), Smooth (Floyd-Steinberg), or Flat (no dither) modes.
Choosing between GIF, Animated WebP, and Looping MP4
Use GIF for emails and Markdown READMEs, Animated WebP (configurable from 30% to 100% quality) for websites where 40–65% smaller files and full 24-bit color boost page speed, and looping MP4 whenever a player accepts video (80–90% smaller with smooth 16.7 million color playback).
Frequently asked questions
What FPS and width give the best GIF size-to-quality balance?
12–15 FPS at 480 px width keeps motion smooth while avoiding multi-megabyte GIF bloat.
Which dithering option should I choose?
Bayer dithering stays crisp and compresses smaller; Floyd-Steinberg smooths gradients in live-action clips; None gives the smallest flat UI captures.
Can I shrink a huge existing GIF?
Yes—convert it with GIF to MP4 to drop file size by 80–90% for social or Discord sharing.
Related video formats
More video guides
- Extract Full-Resolution Frames from Video (Better Than Screenshots)Why OS screenshots blur 4K video frames, how CanvasSink decodes native pixels, and choosing PNG, JPEG, or WebP bursts with batch ZIP export.
- Slow Motion, Speed Up (No Chipmunk Voice), Loop & Reverse VideoChange video speed from 0.25× to 4× with atempo pitch preservation, build lossless MP4 loops or Boomerangs, and reverse clips cleanly.
- 2026 Video Size Limits: WhatsApp, Gmail, Slack & DiscordReference guide to 2026 video attachment limits across WhatsApp (16 MB), Gmail (25 MB), Outlook (20 MB), Slack, and Discord free tiers.
- Variable Frame Rate (VFR) & Preventing Audio DesyncWhy iPhone and screen recordings drift out of sync in naive video tools—and how preserving packet timestamps prevents VFR audio desync.