Repository navigation
v0.9.0
Quiet dialogue is no longer skipped, and subtitles are in sync
Whispered and quiet lines. Voice detection decides which parts of the audio Whisper hears. Whispers and quiet lines under music were treated as silence, so they were never transcribed or translated. SubGen now:
- listens mainly to the centre (dialogue) channel of surround audio, instead of an even mix where music and effects drowned the dialogue,
- boosts quiet speech before transcription,
- uses a more sensitive speech detection threshold (0.35 instead of 0.5).
Timing.
- When a file's audio track starts after the video (common in remuxed MKV/MP4), every subtitle used to be early by that delay. The delay is now kept.
- Words could jump to a different line, up to several seconds away, where faster-whisper joined separate bits of speech. SubGen now cuts the audio into its own speech clips, so words stay where they were spoken.
- Lines start where the voice starts: Whisper tends to begin a line a few hundred milliseconds early, and SubGen now moves it to the detected start of speech (by at most 0.8 s).
GPU transcription. On a GPU, Whisper returns up to 30 seconds of dialogue as one piece. If one sentence in it looked like a hallucination, the whole piece was removed. Now only that sentence is removed.
In a test scene with 5.1 audio, two whispered lines under music and a 1-second audio delay, 0.8.0 missed both whispers and showed every line about a second early. 0.9.0 shows all four lines, starting within 0.35 seconds of the voice.
New settings (Settings → Transcription)
| Setting | Default |
|---|---|
| Speech detection threshold | 0.35 (lower keeps quieter speech; raise it if music turns into text) |
| Boost quiet speech | On |
| Focus on the dialogue channel | On |
Updating
Run docker compose pull and docker compose up -d. No changes to docker-compose.yaml or .env.
Subtitles that already exist are not redone automatically. To get the improvements for a movie, regenerate its subtitles. Cached transcripts from older versions are not reused, so Whisper runs again.