whisper.cpp: WARNING: The binary 'main.exe' is deprecated (program is now called whisper-cli.exe)
You start whisper.cpp with the old program name main.exe. Instead of transcribing, the file only shows this notice.
The message
WARNING: The binary 'main.exe' is deprecated.
Please use 'whisper-cli.exe' instead.
Affects: whisper.cpp
Why is this happening?
Since December 20, 2024, all whisper.cpp programs have used the whisper- prefix. main became whisper-cli, and server became whisper-server. The old file names now exist only as placeholders that point to the new names. But many older guides and scripts still call main.exe.
How to fix it
- In your command, replace
main.exewithwhisper-cli.exe; everything else stays the same, for examplewhisper-cli.exe -m models\ggml-base.bin -f audio.wav. - If you use the built-in web server, it is now called
whisper-server.exeinstead ofserver.exe. - Update any
.batfiles, scripts, or programs that call whisper.cpp (for example, a configured path tomain.exe). - If you built whisper.cpp yourself, the new programs are in the
build\binfolder.whisper-cli -hshows you all options.
Better not: Don't download an older whisper.cpp version just so main.exe works again - that would mean giving up bug fixes and new models.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Subtitles and Transcripts with Whisper
Transcribe videos and audio locally with Whisper — easily with Buzz, polished afterward with Subtitle Edit, export as SRT, VTT, or TXT.
Terms for this
Similar errors
- whisper.cpp: invalid model data (bad magic) (model file has the wrong format)
- Whisper: FileNotFoundError: [WinError 2] The system cannot find the file specified – ffmpeg is not installed or is not in the PATH
- Couldn't clone Stable Diffusion (Stability AI repository no longer exists)
- ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied – pip cannot modify a file
- No module named 'sageattention' (starting with --use-sage-attention fails)
Sources
- https://github.com/ggml-org/whisper.cpp/blob/master/examples/deprecation-warning/README.md
- https://github.com/ggml-org/whisper.cpp/blob/master/examples/deprecation-warning/deprecation-warning.cpp
- https://github.com/ggml-org/whisper.cpp/blob/master/README.md
Checked on Oct 28, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.