Skip to content

Tags

Tags

film-2026-09-28

Toggle film-2026-09-28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add the launch film (hraness#172)

Adds the 75-second launch film: seven shots, the score, and the assembly
step (SPEC §6, §7, §8.4).

Stacked on `launch/l3-stills`. It uses L3's stage, render command and
render lock.

**What's here**

- `media/shots.json` holds seven shots and 16 beats. Every cue time is
snapped to the 30 fps grid. Shot offsets are 12, 21, 31, 36, 51 and 61
s, with 0.4 s cross-fades.
- `media/scenes/film/s1…s7` are built on one shared runtime (`_film.js`,
inlined by `sync.ts`). The threshold line, slab pitch and heading
position are the same in every shot. Each segment has its own easing:
entrances, drops, fuses and exits.
- `media/score.py` is a seeded numpy/scipy score. Its ticks, thud,
resolve chord and glass cues are read from `shots.json`, so sound and
picture land on the same frame.
- `media/assemble.ts` does two passes of linear loudnorm to −16 LUFS
(SPEC §6.4) and builds the xfade graph. It outputs a 4K master, a 1080p
web cut of at most 10,000,000 bytes, the poster at 50.0 s and a VTT file
with the 16 beats. `--draft` builds a 1080p review cut and writes
nothing under `site/`.
- `media/film.test.ts` checks the shot list, the frame grid, the
cue/beat invariants, the caption text and the xfade offsets. A guard
keeps `getBoundingClientRect` out of the film scenes, because finals
render at layout zoom 2.

**Rendered outputs** (commit 98ddc06)

| File | Bytes | sha256 |
|---|---|---|
| `site/public/media/gobstopper-film-1080p.mp4` | 2,558,361 |
`1ba691e37a0bbd646df312ffbdbbc7bcb86d1246a6009743dfeee424b80ddea1` |
| `site/public/media/gobstopper-film-poster.jpg` | 105,723 |
`cf6a02cd3bb1ded4a53a015fa899c09d1bf934456e6517e9b8bfd90a6a79e2d0` |
| `site/public/media/gobstopper-film.en.vtt` | 1,069 |
`c23ab88e9c0787893c1d5ab040f2f0d9dc3af2eb6abdc6ed514b2e50dcaa6617` |
| `media/out/gobstopper-film-2160p.mp4` (release asset, untracked) |
7,803,755 |
`0e9aa7d22ce40ca778c27c66fd6045f125c0bc4e6c45597c45d49f23441465c4` |

- Both cuts: 75.0 s, 2250 frames, 30 fps, 48 kHz stereo, −16.2 LUFS
integrated, linear loudnorm.
- The score comes out byte-identical when regenerated from `shots.json`.
- `gobFilm` in `site/app/_data/gob-film.ts` is filled per §7; only the
value changed. Receipts are in `media/out/receipts/`.
- The manifest test in `site/tests/gobbench.test.tsx` used to pin
`gobFilm` to null. It now checks the §7 contract: the three files exist,
the mp4's byte count and sha256 match the manifest, it is at most
10,000,000 bytes, and all 16 beat captions are in the VTT.

**Review**

- A draft cut and the final were each reviewed from a
one-frame-per-second contact sheet, with full-size 4K crops.
- Fixed along the way: rings colliding in s4, the lid label being
clipped, the end-card heading repeating the command, the s6 default
change leaving two identical stacks, and the new-input segment being too
dim on the poster frame.
- Finals render at layout zoom 2 (L3's full-canvas change). The scenes
measure with `st.measure`, and a test guards it.

**Not yet**

- The film release (4K master plus SHA256SUMS) is created after merge.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>