fix(subtitles): retain uncertain audio during dialogue generation

- Preserve audio rejected by VAD so dialogue under music is retained.
- Keep short passages intact and stitch overlapping cues despite punctuation differences.
This commit is contained in:
2026-09-14 19:16:34 -07:00
parent d6cbacf8be
commit 02792232c2
15 changed files with 242 additions and 19 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export function buildSubtitleConfigOptionRegistry(
ffprobePath:
'Optional FFprobe path override for audio tracks and timing. Leave empty to find ffprobe on PATH.',
vadModelPath:
'Path to a whisper.cpp Silero VAD model. Enables dialogue-focused generation from separate speech passages. Leave empty to transcribe the full audio, including songs.',
'Path to a whisper.cpp Silero VAD model. Enables dialogue-focused generation while retaining uncertain audible sections, which may include songs. Leave empty to transcribe the full audio.',
vadPath:
'Optional speech detector executable override. With vadModelPath configured, leave empty to find whisper-vad-speech-segments or vad-speech-segments on PATH.',
}[key],