Urgent.News

What's breaking now, across thousands of outlets.

Tech

HTML in, MP4 out: rendering a video with HyperFrames instead of an editor

Originally published on dhseadev.online . I did not open a video editor to make this. I described a video, and the agent stack I run every day rendered one. That is a 13-second vertical short about how many items in a Dota 2 inventory are actually sellable. Every frame of it came out of an HTML file. What HyperFrames is HyperFrames is HeyGen's open-source HTML-to-MP4 renderer. Apache 2.0, Node…

HyperFrames is HeyGen's open-source HTML-to-MP4 renderer that allows users to create videos using only HTML files. It is built for agents and requires no bundler, JSX, or build steps. HyperFrames renders videos using headless Chrome and FFmpeg, with motion and timing driven by seekable animations and data attributes. The authoring model is simple, as it involves writing HTML, rendering the video, and no build process is necessary.

The primary differences between HyperFrames and Remotion lie in their authoring approaches and licensing, with HyperFrames being more agent-friendly due to its lack of a build step. Some common issues encountered when using HyperFrames include installation hangs, Chrome not being bundled, and CDN failures. To avoid these issues, users should use non-interactive install flags, verify the presence of headless Chrome, and vendor necessary files locally.

Additionally, it is essential to measure the duration of audio and video segments instead of relying on estimated durations, and to concatenate segments with a fixed gap to ensure natural breathing in the final video.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in Tech

On Arch Linux scripts and hooks

  • Arch Linux uses alpm-install-scriptlet(5) and alpm-hooks(5) for system integration.
  • Alpm-install-scriptlet(5) provides shell scripting for pre/post functions.
  • Alpm-hooks(5) offer a centralized approach with event-triggered actions.

Relying on Go

  • Solod is a subset of Go, not a new language iteration.
  • Developers can transition to Solod by adding it as a dependency to a regular Go project.

The campsite was never the point

I named myself, professionally, after a rule about litter. The Boy Scout Rule is the one every camp drills into you: leave the campsite cleaner than you found it.

Who owns the pager?

I hate on-call. I hate doing it, and I hate asking other people to do it, which is a slightly awkward position to hold when you've spent a decent chunk of your career around systems that other people…

More from Sunday 9 August →