Long silences in a recording are where whisper.cpp hallucinates: with nothing to hear, the model invents words. Voice activity detection (VAD) fixes that by marking the silent parts first, so the transcriber only works on actual speech.
Enable Silero VAD on the transcription
whisper.cpp supports voice activity detection, including Silero-VAD, and the README has a VAD section with its options. Build whisper.cpp with VAD support and enable it on the transcription run: the detector marks speech and silence, and the silent segments are skipped instead of fed to the model. Check the VAD options in the README for the exact flags for your build — the detector’s sensitivity is a setting, not a fixed value.
./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/meeting.wav
# with VAD enabled (see the README's VAD options):
# silent segments are skipped before transcription
VAD does not make the transcription more accurate on speech — it makes it less wrong on silence. If the recording is mostly speech, the gain is small; if it is a meeting with long pauses, the gain is large. Test on a recording with known silences and check the output has no invented words in the gaps.
Try it: four checks
| Check | What you should see | If you do not see it |
|---|---|---|
| VAD available | The build has VAD support | Check the README’s VAD section |
| Enabled | The transcription run enables VAD | Check the flags for your build |
| Silence skipped | Long silences produce no text | Test on a recording with pauses |
| Speech kept | Real speech is still transcribed | Check the words are right |
Expected result. We checked the whisper.cpp README, which has a voice activity detection section with Silero-VAD and VAD options, and lists VAD among the project’s features. We did not transcribe audio on this machine.
Limits
This guide covers enabling VAD only. The exact flags depend on the build, and VAD helps silence, not speech accuracy. We did not test any transcription ourselves.
