mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 23:47:33 +00:00
docs: use the finished launch film, and take grading from its 4K master
The hero was an 11MB export of the website-launch film. The finished master is 36.3s at 8.15 Mbps, so the page now serves a high-quality encode made from that instead - 9MB at CRF 21, which is oversampled for a column under 900px wide. The colour-grading film was also being derived from a 1080p variant while a 3840x2160 60fps master sat on disk. Its tile and full film are now encoded from that master. Both are published under versioned filenames. The first upload set max-age=31536000, immutable, so the CDN edge kept serving the old bytes when I replaced the objects in place - the corrected files measured identical to the originals over HTTP until they were renamed. The component takes optional tile and full overrides per film so a single asset can be revised this way without renaming the rest. Worth recording plainly: none of these films were rendered for the docs. They are existing renders, transcoded down for the web, so each one's quality is capped by whatever file already existed. Re-rendering from the launch projects at 4K60 would raise that ceiling.
This commit is contained in:
@@ -6,11 +6,11 @@ description: "Tell an AI agent what you want. It builds a real, editable video p
|
||||
|
||||
import { ShowcaseWall } from "/snippets/showcase-wall.jsx"
|
||||
|
||||
<Frame caption="A website goes in; HyperFrames plans it, builds it, and renders the film. Made with HyperFrames — press play for sound.">
|
||||
<Frame caption="A website goes in; HyperFrames plans it, builds it, and renders the film. The finished launch film, made with HyperFrames — press play for sound.">
|
||||
<video
|
||||
className="aspect-video w-full object-cover bg-zinc-100 dark:bg-zinc-900"
|
||||
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/hero-website-launch.mp4"
|
||||
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/hero-website-launch.jpg"
|
||||
src="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/hero-web2vid-v2.mp4"
|
||||
poster="https://static.heygen.ai/hyperframes-oss/docs/images/showcase/hero-web2vid-v2.jpg"
|
||||
autoPlay
|
||||
muted
|
||||
loop
|
||||
|
||||
@@ -17,9 +17,12 @@ export const ShowcaseWall = () => {
|
||||
// so constants defined above this line arrive undefined at render time.
|
||||
const CDN = "https://static.heygen.ai/hyperframes-oss/docs/images/showcase";
|
||||
|
||||
// grading is served from its 4K60 master; the other five are the best
|
||||
// rendered file that exists for each on disk. Versioned filenames because
|
||||
// the CDN objects are immutable for a year and will not re-fetch in place.
|
||||
const FILMS = [
|
||||
{
|
||||
id: "grading",
|
||||
id: "grading", tile: "tile-grading-v2", full: "full-grading-4k-v2",
|
||||
title: "Colour grading and media effects",
|
||||
note: "Real footage graded with LUTs, curves, and scopes — inside Studio.",
|
||||
length: "48s",
|
||||
@@ -74,8 +77,8 @@ export const ShowcaseWall = () => {
|
||||
<div style={{ margin: "1.5rem 0" }}>
|
||||
<video
|
||||
key={open.id}
|
||||
src={`${CDN}/full-${open.id}.mp4`}
|
||||
poster={`${CDN}/tile-${open.id}.jpg`}
|
||||
src={`${CDN}/${open.full || `full-${open.id}`}.mp4`}
|
||||
poster={`${CDN}/${open.tile || `tile-${open.id}`}.jpg`}
|
||||
controls
|
||||
autoPlay
|
||||
playsInline
|
||||
@@ -150,8 +153,8 @@ export const ShowcaseWall = () => {
|
||||
}}
|
||||
>
|
||||
<video
|
||||
src={reduced ? undefined : `${CDN}/tile-${film.id}.mp4`}
|
||||
poster={`${CDN}/tile-${film.id}.jpg`}
|
||||
src={reduced ? undefined : `${CDN}/${film.tile || `tile-${film.id}`}.mp4`}
|
||||
poster={`${CDN}/${film.tile || `tile-${film.id}`}.jpg`}
|
||||
autoPlay={!reduced}
|
||||
muted
|
||||
loop={!reduced}
|
||||
|
||||
Reference in New Issue
Block a user