Skip to main content

· 5 min read · The Kinomock team

How Kinomock renders video without a server

Kinomock does not upload your screenshot or recording. The scene is drawn by your graphics card and the video file is written by your browser. This post explains the pipeline and its trade-offs.

Frame by frame, not real time

The preview runs as fast as your machine allows. Export works differently: the editor stops the live loop, sets the canvas to the exact output size, and steps through the timeline one frame at a time. For a 30 fps video it renders frame 0, then the scene at 1/30 of a second, and so on. A slow computer takes longer but produces the same file as a fast one.

If the screen is a recording, the source video is seeked to the matching moment before each frame is drawn, so the recording and the camera stay in step.

Encoding with WebCodecs

Each finished frame goes to the browser's video encoder through the WebCodecs API, as H.264 for MP4 or VP9 for WebM, and a small muxer writes the container. Because frames are handed over with explicit timestamps, the output frame rate is exact.

Where WebCodecs cannot encode the chosen format, the editor falls back to recording the canvas in real time and tells you it did. That path is slower and depends on your machine keeping up.

Motion blur from sub-frames

Motion blur is built at export by rendering several moments inside each frame's shutter interval and averaging them. It is accurate to the camera move, and it is the reason motion blur is not shown in the live preview: it multiplies the work per frame.

What the approach costs

  • Resolution depends on your hardware. Exports go up to 2160p and images up to 5120px, but an older graphics card may refuse the largest sizes.
  • The tab has to stay open. Rendering stops if you close it, and browsers slow down background tabs.
  • Projects live in this browser. They are saved to local storage on your device and are not synced.

In exchange, there is no upload wait, no queue, and nothing of yours on a server.

All posts