AI NewsOpen sourceAnnouncement

motlab renders video as code 2.4 times faster than Remotion

motlab writes video scenes as HTML canvas code and renders them in headless Chrome with WebCodecs. The README benchmark shows it renders 300 frames at 1080p in 9.5 seconds against 30.7 seconds for Remotion.

AI News

Editorial2 min read

LinkedInX
GitHub social card for staryone/motlab

Image: GitHub

Why it mattersA team that writes videos as code can hand a coding agent the same scene files it already edits. The video travels in the repo with the rest of the project.

A team that writes a video in code wants a fast render. Every small edit costs a full render. motlab is a new open-source renderer that runs HTML canvas scenes in headless Chrome. It encodes the frames with the browser's own WebCodecs. The repository has 551 stars 30 days after launch.

The project is released under a dual MIT or Apache 2.0 licence. The author is listed only by the GitHub handle staryone. The README lists the coding agents it plugs into. They are Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Gemini CLI, Amp, Windsurf, Muse Code, Google Antigravity and Hermes Agent.

What the project does

A scene is an HTML page with a canvas element. The page defines three things the renderer calls. renderAt(t) draws the frame at time t. TOTAL is the length in seconds. ready is a promise that resolves when assets have loaded. The preview, the review viewer and the final render all call the same function on the same page. That means what the author sees in the browser is what the MP4 will hold.

The review viewer runs in the browser. A viewer scrubs frame by frame. A user marks changes on a frame with a note. The notes feed back to a coding agent as text. motlab exports MP4 at 720p, 1080p and 4K. The renderer uses three concurrent workers.

The benchmark

The README publishes a speed comparison. The test ran on a Ryzen 7 5800H laptop with an RTX 3060 Laptop GPU and Windows 11. It rendered 300 frames at 1080p from the same scene. motlab rendered in 9.5 seconds with its software encoder. The default encoder took 12.6 seconds. HyperFrames 0.9.52 took 27.2 seconds on the same scene. Remotion 4.0.543 took 30.7 seconds.

That is 2.2 times faster than HyperFrames. It is 2.4 to 3.2 times faster than Remotion, on that one piece of hardware. The author also lists a 4K render at 13.1 to 19.4 seconds. The fastest competitor took 48.9 seconds on the same 4K test. These are the author's own figures. No independent test confirms them.

Where this fits

A coding agent already reads and edits HTML and TypeScript. A video scene becomes one more file in the repo. The same agent that writes a landing page can revise a product video from an annotated frame. The faster the render loop, the more cycles an agent can run in one session. The author's measurement says a 1080p pass is under ten seconds. That is short enough for an agent to iterate on a scene inside a single turn.

A reader can confirm the speed claim. Clone the repo and run the same 300-frame test. The repository holds the scene the benchmark uses. A buyer should rerun the comparison on the hardware they will deploy on.

Source

staryone/motlab on GitHub.

Sourcestaryone

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project