How Video Stabilization Works
AnyTool stabilizes shaky video in the browser with a self-hosted ffmpeg engine (no CDN). It applies the built-in single-pass deshake filter, with rx/ry search ranges scaled by the chosen strength and edge=mirror to fill borders. Optionally it follows that with a crop/scale zoom to hide the wobble borders the shake correction leaves behind, plus an unsharp pass to recover a little detail. The result is re-encoded H.264 + AAC and read back as an MP4 blob. The stock wasm core has no libvidstab, so this is honestly single-pass (not the two-pass vidstab analysis some desktop tools use). Single-threaded is deliberate: the multi-threaded core needs SharedArrayBuffer + cross-origin isolation (COOP/COEP), which would block cross-origin ad iframes.
- Runs client-side — the video is never uploaded
- Self-hosted ffmpeg core — no CDN
- Built-in deshake filter (rx/ry per strength, edge=mirror)
- Optional zoom crop/scale to hide wobble borders + unsharp pass
- Single-pass (stock core has no libvidstab two-pass)
- H.264 + AAC re-encode; no backend, no watermark, no cap
