You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b7afdf2
Browse filesBrowse the repository at this point in the historyBrowse files
* Add visual treatments (minimal/editorial/cinematic) with review fixes applied
Feature: an additive visualTreatment option over the same pipeline. Minimal
stays the original composition; Editorial adds a designed cold open,
alternating graphic zones, and denser beats; Cinematic promotes image/stat/
quote cues to full-frame moments. Switching invalidates only compose+render —
paid speech and lip-sync clips are never re-bought. Exposed as --treatment in
the CLI and a picker in Step 3 of the studio.
Fixes applied from self-review of the working tree:
- compose/builder: drop the 0.01s epsilon shaved off same-track tile
durations. The runtime gates visibility to the authored window, so the gap
hid both the clip and its fallback for ~1 in 3 seams at 30fps, flashing the
base poster (the first host's face) for one frame — in every treatment. The
float-sum overlap lint it silenced is warn-only; we accept the noise.
Regression-tested with a multi-segment fixture.
- pipeline: option overrides on an existing project now invalidate downstream
stages via a shared optionInvalidations map (also adopted by the studio
PATCH route), so `--treatment cinematic` on a finished run actually
re-composes instead of silently returning the old video.
- compose/builder: data-layout-allow-occlusion is now scoped to elements the
cold-open slate intentionally covers, instead of blanket-stamping every
overlay (which blinded the layout audit's occluded-text check for captions).
- compose/builder: .stat-card/.l3-bar get position:relative so the new
.cue-meta badge anchors to its card, not the full video frame; the stat
meter starts collapsed instead of snapping full→zero mid fade-in.
- broll: cinematic full-frame b-roll now generates canvas-aspect 2K images
(square 1K sources were cover-cropped ~44% and upscaled ~1.9x); the aspect
is part of the content-addressed filename so cached squares are never
reused full-frame. Single-cue regen matches.
- studio preview: editorial cards alternate sides by cue index like the
render; the cinematic b-roll branch remounts per cue so the entrance
animation replays; the intro slate shares TREATMENT_INTRO timing with the
builder (min-duration gate + tail fade) instead of hand-copied constants.
- Step 3 + README: state that switching treatments restyles existing beats —
re-suggest to plan at the new density.
- web run route: start the SSE heartbeat at declaration (pre-existing
prefer-const lint failure; behavior unchanged).
Known/by-design: the cold-open slate covers the first ~3.2s of captions while
the hosts speak (standard title-card trade-off); treatment switches do not
auto-replan cues to avoid re-buying b-roll images.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Honor videoResolution in the final render + fix multi-worker black band
720p projects were silently shipping 1920x1080 files: videoResolution only
controlled animator clip/still resolution while the canvas (and the MP4)
stayed at CANVAS[aspect]. The composition is still authored at the fixed
1920-based canvas — every px value in compose/builder.ts assumes it — and the
render stage now downscales to the selected resolution during the edit-list
remux (lanczos, supersampled, so sharper than a native 720p capture).
Re-encodes use -bf 0 so libx264 B-frames can't reintroduce the empty leading
edit list (the black-first-frame bug this step exists to kill); verified 0
empty edits and start_time 0.000000 on the outputs. 1080p keeps the lossless
stream-copy path.
Also pass --workers 1 to hyperframes render: 0.6.x secondary workers capture
a viewport ~87px shorter than data-height, leaving a black bottom band across
the first (N-1)/N of every render (confirmed in existing outputs by sampling
bottom-row luma: flat 16 through t=30s, real content only in the last
worker's chunk). Single-worker renders verified clean at every timestamp.
Verified end-to-end: rendered editorial and cinematic cuts of an existing
episode via the CLI --treatment flag (which exercised the new
optionInvalidations path — compose+render re-ran instead of silently
skipping); both outputs 1280x720 with content to the bottom edge.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments