One style $9 · any 5 for $29 · all 140 styles $79 · Team $199One style $9 · any 5 $29 · all $79 →

← Blog

SVG animation to MP4 with Claude Code and HyperFrames

ReelStyles ·

To convert an animated SVG to MP4, wrap the SVG in a HyperFrames project, set the length you want and run npx hyperframes render --output badge.mp4. HyperFrames draws your SVG in a hidden Chrome at each exact frame time, so CSS keyframes, Web Animations and GSAP motion come out frame by frame. Claude Code can do the wrapping for you. If your SVG uses SMIL <animate> tags, ask Claude to move that motion onto a GSAP timeline first.

I use this route for logos and pictograms in my ReelStyles films. The facts below come from the HyperFrames docs and from each converter's own page, opened on 2 December 2026.

Why a plain converter can lose the animation

An animated SVG has no fixed length. A CSS animation can loop forever, and a script can change things at any moment. A converter has to decide how long to record and how to step the animation. Two open-source converters show the different choices:

Both are useful. They need the SVG to fit them. HyperFrames asks for a different thing: you describe the length, and your motion has to be CSS, Web Animations or GSAP.

What you need

Step 1: put the SVG in a project

npx hyperframes init my-svg
cd my-svg

Step 2: tell Claude the size, length and motion

Install the skills once so Claude knows HyperFrames:

npx skills add heygen-com/hyperframes

Then in Claude Code:

Use logo.svg in this project. Make a 1080 by 1080 composition, 4 seconds long.
Keep the existing CSS animation, and cap the loop at the 4 seconds.
Show me a still at 2 seconds.

Claude places the SVG in the page, sets data-width, data-height and data-duration on the root, and registers a paused timeline if one is needed.

Step 3: preview

npx hyperframes preview

You should see the SVG move in a browser editor, and you can scrub the timeline.

Step 4: check and render

npx hyperframes lint
npx hyperframes check
npx hyperframes render --output badge.mp4

badge.mp4 appears in the folder. Add a format flag for GIF, WebM or MOV. WebM and MOV keep transparency, which suits a logo over footage. HyperFrames lists 1080p, 1440p and 4K, and frame rates from 1 to 240.

If the SVG uses SMIL

HyperFrames' SVG page lists CSS keyframes, Web Animations and GSAP as supported. It does not mention SMIL. Ask Claude to convert:

logo.svg uses <animate> and <animateTransform>. Rebuild the same motion as a
paused GSAP timeline with the same timing, and remove the SMIL tags.

Then render again and compare the still to the old SVG in a browser. If timing differs, say which element and by how much.

Which tool when

NeedPick
One SMIL SVG to MP4, quicklysvg-video, with its length detection
A CSS SVG written for the convertersvg-to-video
A logo or pictogram that you may change, add sound to, or place in a longer filmHyperFrames with Claude Code
A whole film in one drawn lookA style kit on top of HyperFrames

For the build side of this, see animated SVG with Claude Code. For styles that are drawn shape by shape, look at Pictogram motion. The ReelStyles pricing page shows what the kits cost.

A frame from the Pictogram motion example film

Common errors

Questions

Does HyperFrames cost anything for SVG to MP4?

The engine is Apache-2.0. Local renders need no account and add no watermark, per its SVG page.

Can I keep a transparent background?

Yes, with a WebM or MOV export. The HyperFrames page lists WebM with alpha and ProRes 4444 MOV.

Is MP4 lossless?

No. The HyperFrames page says no video format is fully lossless, and you control the quality. It lists a high-quality preset and a 4:4:4 master.

Sources

See all 140 styles and the price