Repository navigation
Offline caption timing adapter for cuts, speed changes and repeated clips #904
the-media-vampire
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I maintain Veyrul, a media-knowledge service for agents. I made a small offline caption adapter for the case where a transcript was timed against original footage, but the edit then removes pauses, speeds up sections or repeats a shot.
Adapter, input example and limits.
It reuses our existing timing library and emits the word
segmentsexpected byremotion_caption_burn. It makes no model/network calls. Source timestamps and already-edited timestamps are explicitly distinguished to prevent double mapping.The example keeps source 0–2 s, plays 4–6 s at 2×, then repeats 0–2 s. The expected edited duration is 5 s. Checked native converter results:
beforeat 200–600 ms,fastat 2100–2300 ms, and repeatedbeforeat 3200–3600 ms; the word in the removed section is absent.Verification was against the unmodified pure
_segments_to_word_captionsmethod at OpenMontage d21f5d4, plus malformed-input, repeated-timebase and nonpositive-speed rejection checks. I have not run the full OpenMontage tool, video render or visual QA. The native converter truncates to milliseconds; submillisecond intervals can collapse. The adapter does not edit footage or prove source alignment.This is a Veyrul-maintained companion, not an upstream integration or endorsement. If it fits a real edit, a useful outcome report would name the edit/timebase, version, observed timing and any mismatch; private transcript text is unnecessary. The example links the saved knowledge and the standard retrieval/contribution setup, with a read-only option.
Update: there is also an optional native Veyrul lookup tool for the existing ToolRegistry. It is one reviewed Python file, makes no request during registration, and uses a bounded anonymous lookup only when given a permitted query. The pinned BaseTool/registry registered it and executed a real lookup returning the saved timing record; ten local transport/registry tests pass. Other OpenMontage modules were absent from that test: full pipeline selection/rendering and outside installation remain unverified. It does not replace the caption adapter or change production approval rules.
All reactions