Skip to content

Research: Remotion video rendering with sample Governor's Address - #28

Merged
rastermanden merged 2 commits into
mainfrom
claude/research-remotion-czkmF
Apr 20, 2026
Merged

rastermanden merged 2 commits into
mainfrom
claude/research-remotion-czkmF

Conversation

@rastermanden

Copy link
Copy Markdown
Owner

Summary

Research spike exploring Remotion for generating short institutional video clips in the Banco·Bral aesthetic (Governor's addresses, mint-process loops, annual-report bumpers).

  • Isolated sub-project under remotion/ with its own package.json, React 19 + Remotion 4.0.380. Does not affect the main Vue build, site bundle, or deploy pipeline.
  • Sample composition GovernorsAddress — 8s @ 30fps, 1920×1080, pulls live figures from src/data/stats.json and uses Treasury-palette tokens so rendered clips stay visually in sync with the site.
  • Rendered output committed for inspection: remotion/out/governors-address.mp4 (1.2 MB) plus two preview stills (title card, reserve stats).
  • README updated with architecture notes, commands, and a dedicated Video section.

What the clip does

  1. 00:00–00:02 — Spinning engraved seal, "Banco·Bral" in Instrument Serif, "Established MMXXIV · Purity 98.2".
  2. 00:02–00:04 — Orange "QUARTERLY ADDRESS" stamp, "Q2 · MMXXVI" headline, "Reserve Disclosure" subtitle.
  3. 00:04–00:06.5 — Animated counters: circulating (585 BRAL), can reserve (2093), purity (98.2%).
  4. 00:06.5–00:08 — Audit stamp "AUDITED · 2026.03.14", auditor E. Sørensen, fade out.

Paper-grid background, corner registration marks, subtle film grain, matching the brutalist-monospace tone of the rest of the site.

How to render locally

cd remotion
npm install
npm run studio            # live preview at http://localhost:3000
npm run render            # regenerates out/governors-address.mp4
npm run render:still      # frame-90 PNG thumbnail

Verdict

Remotion is a reasonable fit for one or two set-piece videos (hero bumper, quarterly address) — it's overkill as a general animation layer. For tickers, coin spins, and palette transitions, SVG + CSS inside Vue remains lighter and sharper. The toolchain is heavy (headless Chrome + FFmpeg) and React-based, so it runs as an offline build step, not a runtime integration.

Test plan

  • Open remotion/out/governors-address.mp4 in the PR diff or clone locally — confirm it plays and matches the stills.
  • Review remotion/out/governors-address.png (Q2 · MMXXVI title card) and remotion/out/stage3.png (reserve stats) inline.
  • cd remotion && npm install && npm run render reproduces the same MP4.
  • Main Vue app (npm run dev, npm test) is unaffected — no changes to src/, package.json, or Playwright config.

https://claude.ai/code/session_01SBzsoYx5dRDnwDuTmJJUda

claude added 2 commits April 20, 2026 16:26
Commits the sample Remotion render (1.2 MB MP4, 8s @ 1920×1080) plus two
preview frames so the output is inspectable in the PR without running a
local render.

https://claude.ai/code/session_01SBzsoYx5dRDnwDuTmJJUda
Adds § 04 "The Address" section between Reserves and Schedule, featuring
the rendered Remotion MP4 with a paper-palette video frame (corner marks,
click-to-play overlay, archival caption) and a metadata ledger. Nav updated
in both desktop header and mobile menu. Playwright coverage added for
the new section.

Video and poster ship from public/video/ so Vite bundles them into
dist/ for the GitHub Pages deploy.

https://claude.ai/code/session_01SBzsoYx5dRDnwDuTmJJUda
@rastermanden
rastermanden merged commit 1689231 into main Apr 20, 2026
1 check passed
@rastermanden
rastermanden deleted the claude/research-remotion-czkmF branch April 20, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants