New Tool Radar

Local AI

How to Transcribe Audio Locally with Whisper

Install Whisper and ffmpeg, point the command at one audio file, and read the transcript it writes on your own computer.

Schematic diagram with three steps: a practice audio file, the command whisper --model tiny, and a transcript text file on your computer.

To transcribe audio on your own computer with Whisper, install Whisper and ffmpeg, then run one command on the audio file. Whisper is a general-purpose speech recognition model from OpenAI, and its README gives the install command and the transcription command. The audio never has to leave your computer: the model runs locally.

Install first, and do not skip ffmpeg

Whisper’s README gives the install step and the requirement in the same place:

pip install -U openai-whisper

It also says Whisper requires the command-line tool ffmpeg to be installed on your system. The most common first failure is skipping that line: without ffmpeg, the command cannot read the audio file.

Pick a model size

The README lists six model sizes with their parameter counts, memory needs, and relative speed:

Model Parameters Memory needed Relative speed
tiny 39 M ~1 GB ~10x
base 74 M ~1 GB ~7x
small 244 M ~2 GB ~4x
medium 769 M ~5 GB ~2x
large 1550 M ~10 GB 1x
turbo 809 M ~6 GB ~8x

Start with tiny for a first test: it is the smallest download and the fastest. The README adds two details that matter for language choice. Models with .en in the name are English-only and perform better on English; and turbo is an optimized version of large-v3 that is not trained for translation, so for translation use a multilingual model instead.

Try it: transcribe one practice file

Use a short practice recording you make yourself — for example, a ten-second recording of yourself reading the fictional sentence “The lighthouse keeper named Mara checked the lamp at noon.” Save it as practice-note.wav and run:

whisper practice-note.wav --model tiny

The README’s own examples use the same form, including whisper audio.flac audio.mp3 audio.wav --model turbo and whisper japanese.wav --language Japanese. Read the transcript file Whisper writes and check it against the sentence you read aloud. Expected result. We checked the Whisper README. We did not run Whisper on a sample recording.

Limits

Whisper’s README is a model README, not a guarantee of accuracy: transcription can mishear words, and a small model mishears more than a large one. The turbo model is not trained for translation, so asking it to translate will give a poor result even though transcription in the original language works. We did not run Whisper, so no accuracy figure here is a measured result.

Sources

See all