How the Video Split Screen Tool Works
AnyTool builds split-screen videos entirely in the browser using a self-hosted single-threaded ffmpeg.wasm engine — the core (ffmpeg-core.js + the 32 MB wasm) is bundled from npm and served as a same-origin asset, so nothing is fetched from a CDN. Each input clip is first scaled and padded to fit its grid cell, then the cells are combined with the hstack (side-by-side), vstack (stacked), or xstack (grid) filter; audio is mixed with the amix filter over the inputs that carry sound, or you can pick a single track or none. The composite is re-encoded as H.264 video with AAC audio in an MP4. Single-threaded is deliberate: the multi-threaded core needs SharedArrayBuffer + cross-origin isolation (COOP/COEP), which would block cross-origin ad iframes, so it is avoided.
- Runs client-side — the videos are never uploaded
- Self-hosted ffmpeg core (bundled) — no CDN
- Each input scaled + padded to its cell
- Combined with hstack / vstack / xstack
- Audio amix over sound-carrying inputs, or pick one / none; H.264 + AAC MP4
- Single-threaded (keeps ads working); no backend, no cap
