Skip to content

Studio/phase1 - #19

Merged
onetwothird merged 3 commits into
mainfrom
studio/phase1
Nov 24, 2026
Merged

onetwothird merged 3 commits into
mainfrom
studio/phase1

Conversation

@onetwothird

Copy link
Copy Markdown
Owner

What & why

How I tested

  • ruff check scripts tests
  • pytest -q
  • Rendered a real video and checked it with vedit frames

The B-roll tool gets "Suggest b-roll": pick a folder of photos and videos, and the engine finds the moments the
clip names a thing or place that a file shows. Offline it matches the words of each file name against the words
the clip plays (plurals and accents folded, camera prefixes and dates ignored); with an AI key from Settings it
also matches by meaning, sending only the clip's words and the file names. Each suggestion can be added or
skipped, or all added in one undo step; accepted ones go in through the overlays patch. Suggestions never overlap
each other or b-roll already on the clip, and a file already used is not suggested again.

- scripts/broll.py: matcher, folder scan, AI pass (falls back to name matches on any failure)
- POST /projects/{pid}/clips/{hid}/broll
- highlights_llm._call takes the system prompt as an argument
- app: Engine.suggestBroll (client and mock), BrollSuggest panel, brollAt helper
- tests: pytest for the matcher and endpoint, vitest, Playwright (mock engine)
- README roadmap item ticked
The edl takes an optional "transition" ({"type": "none" | "crossfade" | "whip", "duration": 0.1-1.5 s}),
set through the existing patch op (new "transition" section). The renderer centres each transition on
the cut using video handles, so the timeline, audio, captions and overlays keep their times; the audio
stays a hard cut. Crossfade is an xfade fade; whip is an alternating slide with a directional blur
during the move. Hard-cut edits render and cache exactly as before.

The Edit screen gets a Transition tab (Cut / Crossfade / Whip, 0.2-0.8 s).
karaoke shows the whole group and fills each word with the highlight while it is
spoken (libass \kf, pauses as empty \k syllables); emoji is pop with an emoji
after keywords from a small English/Filipino map. Both are in the editor's
Captions panel and live preview, and the Settings caption preview can show
every style.
@onetwothird
onetwothird merged commit 321d5d7 into main Nov 24, 2026
2 checks passed
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.

1 participant