“No upload” video tools are great for privacy: the file stays on your computer. But many of them are painfully slow on anything bigger than a short clip. Here is why.
Most of them run FFmpeg in WebAssembly
FFmpeg is the Swiss Army knife of video. Compiled to WebAssembly, it runs inside a web page and handles nearly every format, which is why so many browser tools are built on it. The trade-offs:
- Software encoding. Every frame is compressed by the CPU, in WebAssembly, which is slower than native code. The dedicated video encoder chip in your phone or laptop sits idle.
- Threads are awkward. Using several CPU cores in the browser needs special security headers, and even then the speed-up is often small.
- Memory. The whole video is usually copied into the page’s memory before work starts, so multi-gigabyte files fail or crash the tab.
What a fast browser tool does differently
- Uses the hardware encoder. Modern browsers can hand video decoding and encoding to the same chips that record video on your phone. That is often several times faster, and it uses less battery.
- Streams the file. Reading the video from disk in pieces keeps memory flat, so large files work.
- Skips work when it can. Cutting on keyframes or changing the container (MOV → MP4) doesn’t need re-encoding at all, so it finishes in seconds.
How much faster?
We measure ClipperUtils against browser tools built on FFmpeg WebAssembly, on the same files, in the same browser, on the same machine, and publish the results on our benchmarks page. On a recent laptop the median job was about 4× faster, and frame-accurate trims were over 10× faster.
When the slow path still makes sense
Very old formats such as AVI, FLV and WMV aren’t supported by browsers’ hardware path, so a fast tool should still fall back to a slower compatibility mode for those, and tell you when it does.
Try it on your own files: compress a video, trim a video or convert a video.