Skip to content

fix(captions): preserve overlapping WebVTT cues from different voices - #275

Open
xunguangzlj-cloud wants to merge 1 commit into
bradautomates:mainfrom
xunguangzlj-cloud:fix/webvtt-overlapping-voices
Open

xunguangzlj-cloud wants to merge 1 commit into
bradautomates:mainfrom
xunguangzlj-cloud:fix/webvtt-overlapping-voices

Conversation

@xunguangzlj-cloud

Copy link
Copy Markdown

Summary

  • Keep overlapping WebVTT cues separate when they have different voice annotations, even when their text and positioning match.
  • Continue merging rolling cues from the same voice, including spans with different styling classes. The transcript output has the same fields as before.

Testing

  • Confirmed the regression first: two overlapping Yes cues from different speakers became a single cue.
  • python -m pytest tests/test_transcribe.py tests/test_download.py on Windows (31 passed, including the offline yt-dlp / FFmpeg test).
  • WebVTT voice spans

frinsen pushed a commit to frinsen/claude-video that referenced this pull request Nov 16, 2026
…dautomates#275)

Upstream watch hasn't run since Oct 13 (Actions disabled on the fork),
so these were triaged by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019bkAvvYNQBdedp7VtPrLoS
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