Repository navigation
Studio/phase1 - #19
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
How I tested
ruff check scripts testspytest -qvedit frames