How the Video Looper Works
AnyTool loops video in the browser with a self-hosted ffmpeg engine (no CDN). It uses ffmpeg's -stream_loop (set to the loop count minus one) together with -c copy, so the identical stream is concatenated end to end without any re-encoding. Because no frames are re-compressed, looping is lossless and near-instant, and the original container is preserved. The looped result is read back as a blob. Everything runs locally on the device. 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 clip is never uploaded
- Self-hosted ffmpeg core — no CDN
- -stream_loop (count − 1) with -c copy = no re-encode
- Lossless and near-instant; original container kept
- No backend, no watermark, no size cap
