Convert a segment of local video into an animated GIF by sampling frames at a chosen FPS and encoding with a pure TypeScript GIF89a writer—no server upload.
When to use it
- Create short reaction loops for chat or docs
- Preview motion in environments that block video tags
- Build lightweight demos from screen recordings
How it works
The tool seeks across your start/end range, captures up to 120 frames, quantizes colors to a shared 256-color palette, and writes GIF delay metadata from the requested FPS.
Example
A 3 s clip at 10 FPS and width 480 produces up to 30 frames scaled proportionally from the source aspect ratio.
Limitations
- GIF palette is 256 colors; gradients and video noise may band
- Long clips or high FPS values hit the frame cap and shorten coverage
- File size grows quickly; prefer short segments and moderate width