How GIF to Video Works
AnyTool converts an animated GIF to a video in the browser with a self-hosted ffmpeg engine (no CDN). The GIF is decoded and re-encoded to MP4 (H.264, yuv420p, +faststart) or WebM (VP8). A scale filter rounds the dimensions down to the nearest even number — trunc(iw/2)*2 by trunc(ih/2)*2 — because H.264 requires even width and height and GIFs are frequently odd-sized; without it the encode would fail. There is no audio. The result is read back as a video blob and is typically far smaller than the source GIF.
- Runs client-side — the GIF is never uploaded
- Self-hosted ffmpeg core — no CDN
- MP4 (H.264) or WebM (VP8) output, no audio
- Automatic even-dimension scaling for H.264
- Output much smaller than the source GIF
- No backend, no signup, no watermark
