Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit d5a42a1814c939a4dddf256dcf06d54f7fe78747
parent fd2d199705aefd5ebcedba73d36fc82d0fdd2c9a
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon, 19 Oct 2026 01:40:11 -0400

plans: FACTS — the effects region (render.chrome.fx, its schedule, joins, presets); CHANGELOG [Unreleased]

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Meditor/CHANGELOG.md | 1+
Mplans/FACTS.md | 39+++++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [Unreleased] +- **Ten effects for report videos with the on-screen deck, each auditioned as a take.** Under `render.chrome.fx`, each one opt-in and drawn over the picture, never as a card: **kinetic captions** — the clip's line word by word as it is said, the key phrase punched in the accent; when the captions mark a change of speaker (`>>` or a dash), or the manifest says who speaks when (`fx.speakers`), each voice gets its own side and colour, with a label only if you give one (it tells two voices apart, never says whose they are); a **redaction reveal** (the line under black bars that lift as each word is said); an **odometer** (a count rolling up on each clip); a **punch-in** (the picture snaps in on seconds you mark, and on laughs the captions write, with a flash and corner brackets); a **whip cut** (the cut slides like a whip pan, streaks across it); a **VHS glitch** at each cut between years; a **timeline scrubber** (a date rail, the playhead sliding to each clip's day with its picture); a **THEN/NOW wipe** (the cut between a pair of clips wipes across, the two dates on its edge); **receipts** (a clip's screenshots fan in and a marker swipes the cited line); and a **zoom** that pushes in on a screenshot's detail. The Takes page's **New take** has an **Effect** list — one preset per effect the cut can show, **Reaction highlights** (two-voice captions, punch-ins, whip cuts and a count) and **Everything** — that fills the patch box for you to edit; from a terminal, `umtool takes effects <project>` and `umtool take <project> --id … --effect <name>`. Nothing calls a model. A manifest without `render.chrome.fx` renders exactly as before. Needs a restart of umtool. - **The report-video test suite passes in the Docker image.** Run inside `archilyzer:r33-umtool` (Debian's ffmpeg 7.1), six report-to-video tests failed that pass on a newer ffmpeg. Four came from how the tests drove ffmpeg, not from the videos it renders: they now run the graphs the way a build does. One compared against an older ffmpeg's timing drift, which 7.1 does not show; it is now only checked where the drift happens. The sixth needs a git checkout, which an image does not include, and now says so and skips. Nothing a build renders changed. - **umtool scores who is speaking in each montage clip.** A montage's clip deck and its Cut tab have **Score the voices**: each clip's phrase (and a second either side, its speech only) is compared with the host's voice, and every Cut-tab row then reads `voice 0.43 · unsure` — likely, unsure or unlikely him — and the deck puts the doubtful clips first with their scores. The host's voice is the clips you ruled keep in the audition deck once there are three, or before that solo uploads of the channel found on disk (captioned, no speaker change in the captions, not a stream, no guest in the title, spread over the years); the picker beside the button chooses. It runs on this machine with the speaker model the diarization lane already uses — no network, no AI model — and takes about half a minute for 73 clips. It sorts and flags; whether it is him is still decided by ear. The scores are kept in `voice-match.json` beside the manifest, by the source moment, so a re-seeded montage keeps them. The same from a terminal: `umtool voice-match <project>`. Needs a restart of umtool. - **A montage's closing wall is the right length on older ffmpeg.** With ffmpeg 7.1 (the umtool Docker image), a tile did not hold its last frame after saying its phrase and did not wait for its turn, so the wall came out short of the length its plan gives (23 frames on the test cut) and, with groups, tiles vanished instead of freezing. The tiles now hold and wait on ffmpeg 7.1 as they do on newer versions; renders on the newer ffmpeg are unchanged. diff --git a/plans/FACTS.md b/plans/FACTS.md @@ -10600,3 +10600,42 @@ parsed to 0 cues, indexing the video textless) is CLOSED by `200a3105` (transcri run and by the next. Engine: `VOICE_MATCH_PYTHON` / `_SCRIPT` / `_MODEL` (ENVIRONMENT.md), else `settings.diarization.python` / `.embModel` (read from `SETTINGS_FILE` or `<repo>/settings.json`), else `.diarize/`. The e2e runs `common/testing/audio/fakeSpeakerEmbed.mjs` with node. + +## Release 35 lane O2: the effects region (verified 2026-10-19, branch `r35/hyperframes-fx`) + +- **`render.chrome.fx`** (object; absent, `null`, `{}` or every key `null` = off — schedule, joins, graphs and files + unchanged, md5-checked against main on a synthetic 4-clip deck fixture) is read only by + `umtool/report-to-video/fx.mjs` (pure; deck.mjs imports it, it imports nothing of the montage's), `chrome-fx.mjs` (the + page, region `fx`), compose-chrome's `fx` branch and build-video's hooks. Keys (`FX_KEYS`, page order): `scrubber`, + `receipts`, `zoom`, `kineticQuote`, `redact`, `odometer`, `punchIn`, `thenNow`, `whip`, `glitch`; each an object of + settings (`FX_DEFAULTS`) or null. `validateFx` is called by `validateChrome`; `validateFxEntries(manifest)` by the + build's validators and lint's `validatorErrors`. +- **Entry `fx`** (clip or image; inert until its effect is on): `punch` (words; else `montage.match`), `quote: false`, + `punchIn: [source s]` (1–8, inside the extent), `speakers: [{at: source s, who: 0|1}]`, `receipts: [{shot, mark?}]` + (1–4; png/jpg/jpeg/webp beside the manifest; `mark`/`focus` = [left, top, right, bottom] fractions of the shot), + `zoom: {shot, focus, at?}`. +- **`schedule.fx`** (only when on): `{keys, box (fxGeometry: the footage box, the feed's under the feed), quotes?, + quoteStyle? {kinetic?, redact?, voices?}, odometer?, scrubber?, glitch?, thenNow? {wipes}, whip? {cuts}, punchIn? + {punches}, receipts?, zoom?}`, every time in cut seconds; a clip is drawn from its mid-dissolve in to its + mid-dissolve out (`in`/`out`), never over a hidden segment. Words: `fxClipWords` (build-video) — the captions when + `kineticQuote.speakers` is "auto" and they mark a turn (`>>`, a lone dash), else whisper.cpp's `transcript.json` words, + else the cues split by character (`fxWordsOf`), in `fxQuoteSpan` (cutStart–cutEnd, else extent), mapped by the cut + record's `start` (`fxClock`); without words, `entry.quote` spread over the span (`fxQuoteFallback`, also the estimate's). +- **Joins** (`segmentJoins`): a real THEN/NOW pair (D > 0) puts `wipe: true` on the THEN segment's join → `xfadeGraph` + `transition=wipeleft` (edge at frame x = W·(1 − p)); a whip cut `whip: true` → `slideleft` (a wipe wins); + `punchIn` puts `zoom: [{at, until, scale, anchor, box}]` (segment seconds) → `punchInParts`: split, crop the box's + 1/scale (centre, or 1/4 down for "upper"), scale back, `overlay=…:enable='between(t,at,until)'`, before hold/move. + `xfadeBatchJoins` carries `wipe`/`whip`; `concatRecordText` records `zoom` (only when present). +- **Render**: `compose-chrome --region fx` → `chrome/fx/`, `chrome/fx-frames/` (+ `.key`), windowed `fx-from<s>`; assets + `DeckSans`/`DeckSansBold`, `FxMono.ttf` (vendored IBM Plex Mono Bold, `FX_MONO_FILE` in the page module, reached by a + dynamic import like the teaser's), `fxshotNN.<ext>` with sizes read by `magick identify`, `thumb-<id>.png` (the + segment's middle frame cropped to the box, ffmpeg `-flags +bitexact`; none without a segment). The overlay is laid + like the deck's (whole cut, `-reinit_filter 0`, rgba, `shortest=1`) after the stats; `verify-build` checks + `chrome/fx-frames` = the deck's frame count. +- **Presets** (`fxPresetsFor(manifest)`, exported `umtool-report-to-video/fx`): kinetic-quote, redaction, odometer, + scrubber, glitch, punch-in, whip, reaction, then-now (pairs from `fxSuggestPairs`: neighbouring clips years apart, + widest first, ≤ 2), receipts / zoom (only when a clip carries them), everything; each `{render: {transition (the cut's, + 0.4 when 0), chrome: {engine, layout, fx}}}`. The Takes page's Effect list (`data-take-effect`) and `umtool take + --effect` / `umtool takes effects` read it. +- A montage still refuses `render.chrome` (and so the effects). +