Repository navigation
Clip-quality release: long-video selection, joined moments, readable scores, smoother cuts - #86
Merged
Merged
Conversation
Clip selection - Analyse transcripts past ~20 minutes of speech in overlapping windows (overlap longer than the longest clip) and keep the best across all of them, instead of one request holding the whole transcript. - Score each rubric part separately and sum in code; record the parts on the clip. - Review endings and openings in batches of eight. - ChatGPT sign-in keeps one request per stage (daily request cap). - "Open on the hook" defaults on for API connections. Speed - Transcribe up to three chunks at once on hosted APIs; local Whisper and LAN/loopback servers stay sequential. - Hosted analysis requests get their own queue of four. Interface - Score breakdown on clip cards and in the editor; fresh runs are no longer labelled "Legacy score". - Hover a clip card to play that moment muted. - Big-word caption styles drop commas and full stops in preview and export. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
…retch framing analysis Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
- Export opens the source once per distant moment instead of decoding the footage between, and measures loudness on the audio that plays. - The editor timeline folds the middle of a long cut into a marker, and any cut's edges can be dragged. - Joined clips are labelled on cards and in the editor; hover preview plays only their moments. - B-roll and post captions use only the words a clip plays. - Setup option, docs/joined-moments.md, release notes, demo fixture. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
…ings and rerank across windows Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
- Step a clip that opens on "And"/"But" back to the line it continues, only onto a line of six words or more. - Over-length corrections say how long each part runs and what to keep, and aim for the middle of the length band rather than just under the cap. - Long-range joins: show each line's length, show fewer lines per moment, one correction request, then trim whole sentences as a last resort (the result still goes through the join and ending reviews). - Sharper outline matching: a promised story matches where it is delivered, not the first later mention of the topic. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
A clip may run up to a quarter past the chosen length (never past three minutes). Such a clip is kept whole instead of being cut back before its payoff, loses a few ranking points from structure, and says why. Past the ceiling it is repaired or trimmed as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
- A failed window no longer fails the whole analysis; the other parts are used and the run fails only if every part failed. A failed review batch stops further batches from being sent. - The opening check runs after the opening review, so it judges each clip's final opening (no stale "opens on And" penalty). - Visual discovery and visual-payoff repair keep to the length target; only transcript clips get the overrun allowance and its penalty. - A penalty a part cannot absorb comes off the other parts. - Hosted transcription primes later chunks with the opening of the first. - Private IPv6, 0.0.0.0 and .internal/.lan hosts count as local Whisper. - Docs and release notes give the true request counts for joining. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
- Every kept piece starts and ends on the source's frame grid, so each piece's picture and sound are the same length (no per-cut A/V wander). Inputs are found by piece midpoint so alignment can't misroute footage. - A single stretch well inside the trim gets its own seek: cut footage at the start or end is neither decoded nor measured for loudness. - Editorial assessments are not invalidated by pauses kept for activity. - No cut-edge drag handle on top of the trim handle. - Filmstrips work for file paths containing "|". - Export progress for joined clips no longer stalls at 95%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RqojQVDwNbEqwSkac23iuJ
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 does this change?
A large set of changes to how clips are found, scored and cut, aimed at Opus Clip-level output:
Finding clips
Cutting and export
Speed
Why?
Clip quality on long videos degraded (one request for a whole transcript), scores were opaque and clustered, timestamps from the model landed off-sentence, and there was no way to build a clip from two moments.
Release notes
See
## [Unreleased]in CHANGELOG.md (Added / Improved / Fixed / Costs and limits / Validation).How did you test it?
npm test— 106 files, 927 tests passnpm run typechecknpm run linttest-pipeline,test-quality,test-wholevideo,test-captionsize;scripts/smoke-test.shscripts/test-e2e.tspasses; six runs on a synthetic 52-minute podcast (results indocs/joined-moments.md)Anything to watch out for?
clipKeptSegments; caption punctuation throughcaptionWordText; cut fades are export-only audio and do not change durations.Generated by Claude Code