HyperFrames vs Playwright: the same film, rendered 6.2 times faster

We rendered the same animated film with HyperFrames and with a Playwright screenshot loop, three rounds each. HyperFrames was about 6.2 times faster and the picture matched.

HyperFrames is an open source tool from HeyGen that turns an animation written in HTML into an MP4 video. Playwright is the browser automation library many people use to do the same job by hand, one screenshot per frame. We rendered the same 63 second animated film both ways, three times each, on a 48 GB Mac. In our HyperFrames vs Playwright test, Playwright took a median 88 seconds and HyperFrames 14, about 6.2 times faster, and the two videos came out almost identical.

What is HyperFrames, and how is it different from Playwright?

Both use a real browser to draw each frame of an HTML animation, and both hand the frames to ffmpeg to make the video. The difference is how they drive the browser. HyperFrames’ own description calls it a way to make videos with code and AI agents: write HTML, render MP4. It is released under the Apache 2.0 licence, and we tested version 0.9.6.

Playwright is a general tool for controlling a browser. To make a video with it you write the loop yourself: set the animation to a moment, take a screenshot, repeat for every frame, then join the screenshots. That is what our own renderer does, and it is the method we had used for every explainer film until now.

HyperFrames does that loop for you, and its render command can split the work across several browser processes at once. Its own help text says each extra worker starts a separate copy of Chrome, at about 256 MB of memory each.

HyperFrames vs Playwright: which renders faster?

HyperFrames, by a wide margin. All three rounds told the same story.

Renderer Round 1 Round 2 Round 3 Median
Playwright, one screenshot per frame 86.8 s 88.0 s 88.2 s 88 seconds
HyperFrames 0.9.6 14.3 s 14.2 s 14.2 s 14 seconds

The film has 1521 frames at 24 frames a second and 1280 by 720 pixels. Playwright spent about 58 milliseconds on each frame, including the time to join them. HyperFrames finished the whole film in less time than the film takes to play.

We took turns, one Playwright render then one HyperFrames render, so neither tool always ran on a warmer machine.

Does HyperFrames change how the video looks?

No, not in any way we could see or measure. We compared one video from each tool with ffmpeg’s structural similarity score, where 1 means the two are the same picture. They scored 0.992. Both files have the same frame size and length, and both carry the sound.

Our reading is that the small gap comes from how each tool compresses the frames, not from what it draws. Both ask the same browser to draw the same page at the same moment, so they should agree. A film that used live video or web fonts loaded over the internet might differ more, and we did not test one.

Why does the speed difference matter for a business?

Because a film is rendered many times before it is finished. Each change to a scene, a colour or a timing needs a new render to check. At 88 seconds a render, ten checks cost about 15 minutes of waiting. At 14 seconds they cost about 2.4.

Take a small agency that makes short explainer films for clients. The animation is the work; the waiting is waste. Over a week of revisions, a render 6.2 times faster is the difference between checking every change and batching them, and batching is where mistakes slip through. The same holds for anyone using an AI agent to build the film, because an agent checks its own work by rendering it. Our test of whether a local AI agent can make a video shows how much of an agent’s time goes into rendering and checking.

Both tools are free and open source, so cost is not the deciding factor. Time and setup are.

Can a local AI agent build the animation for HyperFrames?

It can write the page, but the picture is the hard part. HyperFrames only renders what the page draws, so the quality of a film still rests on whoever, or whatever, wrote the drawing. Our earlier test of whether a local AI agent can draw an SVG illustration found that three agents running one local model each had a sound idea for a picture, and none drew one we could publish. A faster renderer does not change that.

What it does change is how quickly an agent finds out. An agent that renders its film, looks at still frames and fixes what it sees goes round that loop many times. At 88 seconds a render it waits most of each round. At 14 seconds it spends most of its time on the drawing. If you are choosing an agent for this kind of work, our comparison of Pi, OpenCode and Hermes on the same local model shows how differently three agents handle one brief.

For a small business the practical point is to keep a person on the drawing and give the agent the repetitive parts: timing, captions, joining the sound. Those are the parts that need many renders, and those are the parts HyperFrames makes quick.

When should you still use Playwright for video?

When you need full control of every frame, or the film is not built the way HyperFrames expects. HyperFrames wants the page to draw any moment on request; ours already worked that way, so moving it over was a small change. A page that animates on its own clock, with no way to jump to a given moment, would need rewriting first.

Playwright is also the tool more people already know, and it does far more than video. A team that already tests its website with Playwright has nothing new to install. For a one off render, that may matter more than a minute saved.

HyperFrames vs Playwright: our verdict

For rendering HTML animation to video, HyperFrames is the better tool. It was about 6.2 times faster on the same film with the same picture, and it handles the frame loop for you. We judged it on 3 November 2026, on one Mac and one film.

  • Best for rendering animated films and explainers: HyperFrames 0.9.6.
  • Best if you need a browser tool for other jobs too: Playwright.
  • What to check first: that your page can draw any moment on request.

Speed of the model behind an agent matters as much as the renderer when an AI builds the film. Our Strata review has the figures for one local model doing that work.

How did we test HyperFrames vs Playwright?

We used one 63 second explainer film, built as a page whose animation can be drawn at any moment, and rendered it on an Apple M4 Pro with 48 GB of memory, macOS 27.0.1, on 3 November 2026. Playwright for Python 1.60.0 drove Chromium for one screenshot per frame, and ffmpeg 8.1.1 joined the frames and the sound. HyperFrames 0.9.6 rendered the same page with its default settings and telemetry turned off. Both made 1280 by 720 video at 24 frames a second. We ran three rounds, alternating the tools, and timed each render from start to finished file. A local model was loaded but idle in another app throughout. One film on one machine cannot show how the gap changes with heavier scenes or a different computer.

Sources

  1. HyperFrames source and licence, HeyGen
Cite this page

Hill. "HyperFrames vs Playwright: the same film, rendered 6.2 times faster". Onticpost, published 4 November 2026, updated 3 November 2026. https://onticpost.com/hyperframes-vs-playwright-render-speed/

Updated 3 November 2026. This address stays the same when the piece is updated.

Share this

Subscribe to our newsletter

Checked: what AI can do for your business, checked by humans. Free, every Friday. One email a week, leave any time.

Free, every Friday. We send a link to confirm first. Our privacy policy says what we keep.