Guide · updated 2026-11-17
Why Whisper invents text during silence, and how to stop it
Why Whisper writes phrases nobody said or repeats a line during pauses, and how to stop it in a desktop app, by trimming the audio, or in code with a VAD filter.
Whisper invents text when it is handed audio with no speech in it. It was built to turn audio into words, so a long pause, a quiet stretch at the start or end of a file, or a gap filled only with room noise gets transcribed anyway, as a phrase nobody said or as the last real sentence repeated over and over. The fix is to stop the silence reaching the model. In a desktop app that means turning on a setting usually called voice activity detection or silence removal. With a plain audio file it means cutting the long pauses out before you transcribe. In code it means a voice activity filter in front of Whisper and one setting that breaks repeat loops. Then check the finished transcript for the tell tale lines, because no single fix catches all of them.
What does a Whisper hallucination look like?
It is text in the transcript that is not in the audio. It shows up in three shapes, and each points at a different fix.
A phrase from nowhere. A line such as "Thank you for watching" or "Please subscribe" appears where the recording is silent, often at the very start or very end of the file. It reads like the sign off of a video, because that is the kind of text it learned from.
The same line, again and again. A real sentence from just before a pause is repeated many times, sometimes for several minutes of transcript, until speech starts again or the file ends.
A transcript that stops early or skips a stretch. The text ends before the recording does, or a section of quiet but real speech is missing. This is the same problem in reverse: the model or a filter has decided that real speech is silence.
These are not rare glitches on bad files. A study of Whisper transcriptions found that roughly 1% contained whole phrases or sentences that were never spoken, and that the invented text turned up more often for speakers with long pauses in their speech (Careless Whisper: Speech-to-Text Hallucination Harms).
Why does silence make Whisper invent text?
Whisper reads audio in windows of up to 30 seconds and writes the most likely text for each one (OpenAI Whisper repository). It has no hard rule that says "this window is empty, write nothing." It does estimate how likely a window is to be silence, but by default it only skips a window when that estimate is high and the text it produced also scored badly, both at once. The code sets the silence estimate cut off at 0.6 and the quality cut off at an average log probability of minus 1 (Whisper's transcription code on GitHub). A window of room hum can pass both tests and come out as words.
Two more things make it worse.
What it learned from. Whisper was trained on 680,000 hours of audio paired with transcripts from the internet (OpenAI's Whisper research paper). Captions on online video often end with a sign off line while the picture runs on in silence. That is the most likely reason the invented phrases sound like the end of a video, though OpenAI has not published a breakdown of the training text.
It feeds itself. By default each window is transcribed with the previous window's text given to the model as a prompt. OpenAI's own code notes that switching this off makes the model "less prone to getting stuck in a failure loop, such as repetition looping" (OpenAI Whisper source code). When the last real sentence is the prompt and the new window has nothing in it, repeating that sentence is the easiest thing for the model to write.
How do you fix it inside a desktop app?
Look in the app's settings for any of these names: voice activity detection, VAD, silence removal, remove silence, or skip silence. Turn it on, then transcribe the same file again and compare.
Apps differ, so here is how to tell what yours offers.
The setting exists. Superwhisper, a Mac dictation app, has it under Settings, Configuration, Advanced settings, Audio processing, Silence removal, and its documentation lists it first among the fixes for invented text. Other apps put the same switch under advanced or transcription settings.
The app lets you choose the engine. Some apps let you pick between the original Whisper, faster-whisper and whisper.cpp. Both of the faster engines can filter silence before transcribing (see the code section below), so an app built on one of them is more likely to expose the switch.
There is no such setting. Buzz, a free desktop app that runs Whisper locally, lists no voice activity or silence removal option on its preferences page as read in November 2026. Its paragraph split setting only changes how the finished text is laid out. For an app like this, trim the audio first, which is the next section.
There is a language box. Set it to the language actually spoken rather than leaving it on automatic. A wrong guess in a quiet opening is a common cause of a first line in the wrong language.
There is a prompt or vocabulary box. Keep it short. Superwhisper's documentation names a long vocabulary list as a cause of invented text, and the same caution applies to any app that passes your words to the model as a prompt.
How do you fix it by trimming the audio first?
If the app has no silence setting, remove the long pauses from the file before you load it. This works with every Whisper app and every hosted service, because the silence never reaches the model.
The free tool for this is FFmpeg, which runs on Windows, Mac and Linux. Its silence filter, documented in the FFmpeg silenceremove filter reference, can cut pauses from the beginning, the middle and the end of a recording. This command cuts every pause longer than one second, keeps half a second of each so the words do not run together, and treats anything quieter than minus 40 decibels as silence:
ffmpeg -i recording.mp3 -af silenceremove=stop_periods=-1:stop_duration=1:stop_threshold=-40dB:stop_silence=0.5 trimmed.wav
Then load trimmed.wav into your app instead of the original.
Three adjustments cover most recordings.
Real speech is being cut. Lower the threshold, for example to minus 50 decibels, so only quieter sound counts as silence. Quiet speakers and recordings made far from the microphone need this.
Hum or fan noise is not being cut. Raise it, for example to minus 35 decibels. A noisy room sits above minus 40, so its "silence" is never removed.
You need timestamps that match the original. Do not trim. Cutting pauses shortens the file, so every time in the transcript shifts and subtitles drift out of sync. Use an app setting or the code route, which skip silence without changing the clock.
How do you fix it in code with voice activity detection?
Voice activity detection, or VAD, is a small separate model that marks which parts of the audio contain speech. Running it before Whisper means only speech is transcribed. It is the fix with the most effect, and both popular faster engines include it.
faster-whisper. Pass vad_filter=True to transcribe. It uses the Silero VAD model, and its default only removes silence longer than two seconds (faster-whisper on GitHub). To remove shorter pauses, also pass vad_parameters=dict(min_silence_duration_ms=500).
The whisper.cpp engine. Download the Silero VAD model with the script in the repository's models folder, then add --vad and the model path with -vm to the whisper-cli command (whisper.cpp on GitHub). The same tool takes --vad-threshold, --vad-min-silence-duration-ms and --vad-speech-pad-ms to tune it.
The original openai-whisper package. It has no VAD filter built in, but two settings help. Turn off conditioning on previous text to break repeat loops:
whisper recording.mp3 --model turbo --condition_on_previous_text False
And skip suspect silent stretches, which only works with word timestamps switched on. The value is the length of silence in seconds that it is allowed to skip when it suspects invented text:
whisper recording.mp3 --model turbo --word_timestamps True --hallucination_silence_threshold 2
Both are documented in the help text of Whisper's transcription code on GitHub. The first has a cost: the code notes that without the previous text, wording may be less consistent from one window to the next.
Leave the temperature setting alone. The original package retries a window at a higher temperature when its output compresses too well, which is what a repeated line does. The default compression cut off is 2.4 (OpenAI Whisper source code). Forcing a single fixed temperature turns that retry off and keeps the loop.
Symptom to fix table
| What you see | In a desktop app | Trimming the file | In code |
|---|---|---|---|
| A phrase nobody said, often at the start or end | Turn on voice activity detection or silence removal, and set the language | Cut pauses with FFmpeg silenceremove, including the start and end | vad_filter=True in faster-whisper, or --vad in whisper.cpp |
| The same line repeated many times after a pause | Turn on silence removal, and empty the prompt or vocabulary box | Cut the long pause the loop starts in | --condition_on_previous_text False, plus a VAD filter |
| Invented lines inside long gaps in an interview or meeting | Turn on silence removal, then split very long files | Cut pauses longer than one second | --word_timestamps True with --hallucination_silence_threshold |
| The transcript stops early or skips quiet speech | Turn silence removal down or off for this file | Lower the silence threshold, for example to minus 50 decibels | Lower the VAD threshold, raise --vad-speech-pad-ms, or raise --no_speech_threshold above its default so fewer windows are skipped |
How do you spot invented lines in a finished transcript?
Even with every fix on, check before you use the text. Invented lines read fluently, which is why they slip through.
Search for the usual phrases. Look for thank you for watching, thanks for watching, please subscribe, subtitles by, and any line that sounds like a video outro. In a meeting or an interview, none of these belong.
Count repeated lines. A real conversation rarely repeats a full sentence word for word. On a Mac or Linux, this lists the ten most repeated lines with their counts:
sort transcript.txt | uniq -c | sort -rn | head -10
On Windows, in PowerShell:
Get-Content transcript.txt | Group-Object | Sort-Object Count -Descending | Select-Object -First 10 Count, Name
Any full sentence that appears more than twice deserves a listen.
Check the times. If your transcript has timestamps, look for text placed during a stretch you know was silent, and for a line that sits alone with nothing near it. Play those spots back.
Compare the end times. If the last timestamp is well before the end of the recording, a stretch at the end was skipped or swallowed by a loop.
Read the risky parts against the audio. Long pauses, the first and last minute, and any change of speaker after silence are where invented text concentrates.
Would a different transcription tool avoid it?
Sometimes. Any tool that runs Whisper underneath can do this unless it filters silence first, and that includes some hosted services. Tools built on other speech models behave differently, and hosted services often add speaker labels and their own silence handling, at the price of uploading your audio.
The way to know is to test. Take a two minute clip with a long pause in it, run it through the tools you are considering, and count invented lines. The transcription use-case page ranks the tools from public evidence, with one reason for and one against each, and lists invented text during silence as Whisper's own weak spot. For a direct comparison with a hosted service, see Deepgram vs Whisper.
Frequently asked questions
Why does Whisper write thank you for watching when nobody is talking?
Because silence still gets transcribed, and the most likely text for an empty stretch, given what Whisper learned from, is the kind of line that ends an online video. Whisper was trained on 680,000 hours of audio paired with transcripts from the internet (OpenAI Whisper paper), and sign off lines over silent end screens are common in that kind of text. Removing the silence before transcription stops it.
Does a larger Whisper model hallucinate less?
Not reliably. Larger models make fewer mistakes on hard speech, but silence is not hard speech, and every size can invent text in an empty window. Choose the size for your audio and your hardware, as covered in which Whisper model should you use, and use a silence fix whatever the size.
Will voice activity detection cut off real speech?
It can, at the edges of words and with very quiet speakers. That is what the padding and threshold settings are for. In whisper.cpp, raise --vad-speech-pad-ms to keep more audio around each stretch of speech, and lower --vad-threshold so quieter sound counts as speech. Check the first words after each pause in your transcript.
Do hosted transcription services have the same problem?
A service that runs Whisper itself can, unless it removes silence before transcribing. Others run different models with their own silence handling. Send each one the same test clip with a long pause and read what comes back. If keeping recordings on your own machine matters, see how to transcribe audio without uploading it anywhere.
Next step
If silence removal fixes your transcripts, Whisper may still be the right tool. If you spend more time checking than you save, compare the alternatives. The transcription use-case page ranks them on today's evidence, with one reason for and one against each tool. You can also read Whisper's own page, the faster-whisper page, the free transcription shortlist, the meeting notes use-case page if your recordings are calls, and everything in the audio category.