Back to blog

HyperFrames vs Remotion: We Rendered the Same Ad in Both

Updated 2026-11-29By the Antigravity Skills editorial team7 min
VideoRemotionHyperFramesReal test

Key points

  • We built one 6-second 9:16 product ad twice, once as HTML for HyperFrames and once as React for Remotion, and rendered both on the same 2 vCPU / 8 GB Linux server.
  • With the same Chrome build (chrome-headless-shell 158): HyperFrames 12.0 to 12.8 s, Remotion 18.0 to 19.0 s, two runs each.
  • HyperFrames out of the box took 5 min 19 s: on machines with 8 GB RAM or less it switches to a safe low-memory mode. One flag and one browser path fixed it.
  • License is the bigger difference: HyperFrames is Apache-2.0; Remotion is free for individuals and companies of up to 3 people, otherwise a paid company license.
  • Our pick: HyperFrames for agent-written templates (ads, promos), Remotion where we already run it in production (lyric music videos built in React).
The 26-second version of this test (also on YouTube), itself rendered with HyperFrames. Music: "Cipher" by Kevin MacLeod (incompetech.com), licensed under CC BY 4.0, excerpt with fades; sound effects by Kenney and artisticdude (CC0).

Short answer

HyperFramesRemotion
What you writeOne HTML file, GSAP timeline, data-start / data-duration attributesReact components, useCurrentFrame(), interpolate(), spring()
Our render time (6 s, 1080x1920)12.4 s (tuned), 319 s (defaults on 8 GB)18.5 s (headless shell), 35 s (system Chrome)
Source for the same ad2,588 bytes, 1 file2,356 bytes + 2 small setup files
Output file1.39 MB (default quality, CRF 16)0.94 MB (default)
Agent supportShips its own skills; CLI is non-interactive with lint and inspectOfficial remotion-dev/skills with 12 skills; see our Remotion Best Practices review
LicenseApache-2.0Free up to 3 people; companies pay ($25 per seat per month, or $0.01 per render with a $100 monthly minimum)

The test

We wanted a real job, not a hello-world. The ad is the kind our ad remix tool needs to assemble automatically: a hook line, a cut-out product photo sliding in, three benefit chips, and an end card with a button. The product cut-out was made with rembg (u2net model, 1.1 s on CPU). Both versions use the same layout, colors, timings and easing as closely as each tool allows.

  • Server: 2 vCPU, 8 GB RAM, Linux, no GPU (software rendering)
  • Versions: HyperFrames CLI 0.9.106, Remotion 4.x, Node 22, chrome-headless-shell 158.0.8127.88
  • Output: 1080x1920, 30 fps, 180 frames, H.264 MP4
  • Each render run twice; we report both runs
Frames at 0.4, 2.5 and 5.3 seconds from the HyperFrames render (top) and the Remotion render (bottom) of the same product ad
Frames at 0.4 s, 2.5 s and 5.3 s. Top: HyperFrames. Bottom: Remotion. The visual result is the same; only the authoring model differs.

Render speed, and the setting that cost us five minutes

Bar chart of render times: HyperFrames default 319 s, Remotion with system Chrome 35 s, Remotion with headless shell 18.5 s, HyperFrames tuned 12.4 s
Render time for the same 6-second ad. Same server, two runs each.

Our first HyperFrames render took 5 minutes 19 seconds. The log explained why: the CLI detected 8 GB of RAM, turned on its low-memory mode (one worker, screenshot capture) and could not use the faster BeginFrame capture because no chrome-headless-shell was installed. Two changes brought it to 12.4 seconds:

npx @puppeteer/browsers install chrome-headless-shell@stable
export HYPERFRAMES_BROWSER_PATH=/path/to/chrome-headless-shell
npx hyperframes render -o ad.mp4 --no-low-memory-mode -w 2

Remotion was also faster with the headless shell (35 s with the regular system Chrome, 18.5 s with the shell), so on a server install it for both. If your machine really is short of memory, keep the low-memory mode on: each HyperFrames worker starts its own Chrome (the CLI help says about 256 MB each).

Writing the ad: HTML vs React

In HyperFrames each element is an HTML tag with a start time and duration, and motion is a paused GSAP timeline the renderer seeks frame by frame:

<div id="hook" class="hook clip" data-start="0" data-duration="4.6" data-track-index="0">
  Still washing it <em>by hand?</em>
</div>
<script>
  const tl = gsap.timeline({ paused: true });
  tl.from("#hook", { y: 60, opacity: 0, duration: .5, ease: "power3.out" }, 0);
  window.__timelines["main"] = tl;
</script>

In Remotion the same line is a React component that computes its own state from the current frame:

const f = useCurrentFrame();
const t = interpolate(f, [0, 15], [0, 1], { extrapolateRight: "clamp" });
return <div style={{ opacity: t, transform: `translateY(${(1 - t) * 60}px)` }}>
  Still washing it <span>by hand?</span>
</div>;

For an AI agent the HTML version is easier to fill from a template: swap the text, the image path and a few numbers, no build step, and hyperframes lint catches broken timelines before rendering. Remotion wins when the video is really an app: data-driven charts, many compositions sharing components, or a product where users customise videos in a React UI.

Which one we use where

JobToolWhy
Lyric music videos on PersonalizedSongRemotionAlready in production; word-by-word karaoke captions are React components with audio timing
Ad assembly on AdExamplesHyperFrames (testing)Each ad structure becomes one HTML template an agent fills with product, hook and benefits
One-off promo or explainerEitherPick the one your agent already has a skill for

Good fit

  • You want agents to write and render short videos from templates
  • You render on servers and need a permissive license (Apache-2.0)
  • Your team knows HTML/CSS and GSAP better than React

Not a fit

  • You need a mature React ecosystem (Player, Lambda rendering, captions) today
  • Your company is over 3 people and cannot pay for Remotion: then HyperFrames, not Remotion
  • You expect to drag clips on a timeline; both are code-first

Limits of this test

  • One short, simple composition; heavy WebGL, many video layers or long videos may rank differently.
  • Software rendering only, no GPU.
  • Default quality settings, so the file sizes are not a like-for-like quality comparison.
  • We did not test HyperFrames cloud rendering or Remotion Lambda.

FAQ

Is HyperFrames faster than Remotion?

In our test, yes: 12.4 s vs 18.5 s for the same 6-second ad on 2 CPUs with the same headless Chrome. With HyperFrames defaults on an 8 GB machine it took 319 s, so check the low-memory setting before you compare.

Is HyperFrames free for commercial use?

Yes. HyperFrames is Apache-2.0. Remotion is free for individuals and companies of up to 3 people; larger companies need a paid license.

Can Claude Code or Antigravity make videos with these tools?

Yes. Both are code-first and have agent skills. HyperFrames ships its own skills with the CLI; Remotion has the official remotion-dev/skills pack. See how to install skills in Antigravity.

Do I need a GPU?

No. Both rendered our ad with software rendering on a 2-CPU server. A GPU helps with WebGL-heavy scenes.