← All articles

Tools11 min read

How to transcribe audio on a Mac with whisper.cpp and export SRT subtitles

Turn a recording into text and subtitles without a subscription. Install whisper.cpp, prepare an M4A or video file, and compare two models on real English and Russian speech.

Igor Karmazin · AI Technical Product Operations

Audio to text

To turn a recording into text on a Mac, install whisper.cpp, download a speech recognition model and point it at the audio file. One command can produce a plain transcript for editing and an SRT subtitle file with timestamps for a video editor. Once the program and model are on your computer, recognition can run locally. That makes it useful for interviews, meetings and lectures, especially when you want to control where the original recording goes.

A transcript can sound confident at precisely the point where it needs an editor. In our trial, one speaker mentions the ASUS Eee PC, Taipei and the year 2007. The small model kept the year, lost the product's spelling and reduced the city to two letters in Russian. The surrounding sentence was still readable. Below you can hear the same clip, inspect the unedited subtitles and repeat the comparison on your computer. Download the recordings, reference texts and subtitles.

What you need to download

There are two pieces. whisper-cli is the executable supplied by whisper.cpp. It reads a file, runs the calculation and writes the result. The Whisper model is a separate file of weights. The choice affects memory use and how well the program recovers words. If the command runs but reports that it cannot load the model, check the path and whether the download finished. Reinstalling the executable will leave a truncated weights file in exactly the same condition. whisper.cpp project · Model catalogue.

Multilingual base is a manageable starting point for interviews in more than one language. The project lists about 142 MiB on disk for it and 466 MiB for small. Names ending in .en designate English-only weights. Changing a command-line language flag cannot give those weights Russian recognition. The other model we tested, tiny-q5_1, is about 31 MiB. Quantization uses fewer bits to store some parameters. A small file is useful for a quick trial. To decide which model to keep, test the names, numbers and specialist terms you actually need to get right.

Install whisper.cpp on macOS

The following steps use Terminal and Homebrew. In a new terminal run brew --version. If the command is unavailable, follow Homebrew's installation instructions, including the shell setup step it prints for your machine. Install the recognizer and FFmpeg, which will convert a phone recording or a video soundtrack. Create a working directory so the input, weights and results are easy to find again. Homebrew · Official Homebrew formula.

brew install whisper.cpp ffmpeg
whisper-cli --help
mkdir -p ~/whisper-demo
cd ~/whisper-demo
curl -fL --retry 2 -C - -o ggml-base.bin "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.bin"
shasum ggml-base.bin

For ggml-base.bin the project's published checksum is 465707469ff3a37a2b9b8d8f89f2f99de7299dac. Compare the whole string. A file can have the expected name even when the last few megabytes are missing. If a transfer stops, repeat the same download command. The -C - option asks the server to resume from the existing length when it supports resuming. Once the checksum matches, keep that file for future recordings. You do not need a fresh copy for every interview. Model files distributed for whisper.cpp.

Convert an M4A or video file to text and subtitles

Copy your recording into whisper-demo. We'll call it interview.m4a. Keep the quotation marks around a path that contains spaces. The first command selects the first audio stream and writes a mono, 16 kHz, signed 16-bit PCM WAV. This provides a predictable input for the recognizer. For a video, replace the M4A name with the MP4 or MOV filename. If a production has several audio streams, listen to the selected stream before transcribing an entire hour. Stream zero might contain music or a dubbed soundtrack.

ffmpeg -i "interview.m4a" -map 0:a:0 -vn -ar 16000 -ac 1 -c:a pcm_s16le "interview.wav"
whisper-cli -m "./ggml-base.bin" -l en -f "./interview.wav" -otxt -osrt -of "./interview-en"

Look for interview-en.txt and interview-en.srt. The -m argument is the model, -f is the input recording and -l is the spoken language. The -of argument is the output path without an extension. Use -l ru for the Russian samples. If you are using our download, unpack the ZIP inside whisper-demo. The WAV files are already converted. Try ./whisper-samples/en-place.wav as the input to the second command and pick a fresh output name so you can compare it with our run. whisper-cli options.

Open the TXT file to search the interview or prepare an edit. In the SRT file each entry has a number, a start time, an end time and the text that will appear on screen. Import it into the editor against the same timeline you transcribed. If you removed the first two minutes of the interview before running Whisper, its timestamps start from zero in that shorter file. A constant two-minute offset across every subtitle is a good clue to check the edit point before changing any recognition settings.

What happened on four real recordings

Our test used four short readings from Google's public FLEURS dataset, two in Russian and two in English. The dataset includes reference transcriptions, so we could check a proper name against an independent source. We also made a separate copy of the Russian product recording and replaced the interval from one to four seconds with silence. That preserves the length while removing three seconds of evidence. It models one specific dropout. It tells us little about overlapping voices, traffic noise or the microphone in your own meeting room. Google FLEURS dataset · CC BY 4.0 licence for the samples.

We ran whisper.cpp 1.9.5 on an Apple M5 Mac. The log confirmed that Metal was in use. In a separate run we denied networking to the recognizer process and transcribed the Russian year clip with the smaller model. Its TXT output was byte-for-byte identical to the normal run. Timings below measure elapsed time from launching the command to exit, with the weights already downloaded. With clips this short, starting the process and loading the model can account for a significant part of the total.

Recording and detail to check tiny-q5_1 base
Russian, 10.44 s. A year and the word for “world” Kept 1990, garbled the word describing the heritage list Kept 1990, still missed that word
Russian, 16.32 s. ASUS Eee PC and Taipei Rendered the device as “Асус и PC” and the city as “ТБ” and kept 2007 Recovered the spelling ASUS, lost Eee and misspelled the city
English, 11.46 s. Sintra and Lord Byron Kept both names, garbled some words around them Kept both names, produced three subtitle cues
English, 10.56 s. A range from 25 to 30 Retained both numbers Retained both numbers, altered the opening of the sentence

After the initial runs, we repeated the 16.32-second product clip three times per model with four threads. Median elapsed time was 0.31 seconds for tiny-q5_1 and 0.41 seconds for base. The very first tiny-model launch on a different clip took 7.21 seconds. We would not use these short trials to forecast when an hour-long lecture will finish. On the copy with the artificial gap, the base transcript lost the device name entirely. Supplying it from that audio alone would be guesswork.

One error only became obvious when we checked the clock. The file en-place.wav runs 11.46 seconds. The final cue in en-place.base.srt ends at 00:00:12,600. The cue contains the words about Byron, but its end time overruns the clip by 1.14 seconds. We left the result unedited in the archive. If you import it, pull the final cue back to the end of the clip and check the cut against the next shot.

Use the results to build a review list for your own recording. For an interview, look up names, products and places in the SRT and listen a few seconds either side. For meeting minutes, give the same attention to dates, amounts and who volunteered for each task. A perfectly valid subtitle file can still attach the right amount to the wrong speaker. If the audio drops out, mark the uncertainty and keep the timestamp. A plausible completion in the transcript cannot restore the missing sound for a reader.

Turn a machine transcript into usable captions

Review the content before adjusting the layout. Keep the recording open beside the SRT, confirm the spelling of unusual words and mark anything you cannot verify. Then review the on-screen experience. Can a phone viewer finish reading the line in time? Is the next person's reply visible before they speak? A long cue may be better split in the video editor. Save the original machine SRT separately so you can recover its timing if a later edit goes wrong.

The text also makes a useful index when cutting a long interview. Search for the subject you want, jump to the approximate time, then choose the in and out points by listening. Text alone will not tell you that the answer started with a laugh or that the next sentence reverses the impression given by a short quotation. If your goal is a finished vertical clip, our guide to cutting long videos into Shorts covers that next stage.

Local recognition or an online service?

whisper.cpp does not charge per minute for local transcription. Budget for disk space, the computer's processing time and the editor who checks the names. You can run the same audio again with a different model without paying a second recognition fee. For a single short file, the initial software and model download may take longer than recognition. For a weekly folder of interviews, that setup is shared across all the files.

For a concrete cloud comparison, Google Cloud Speech-to-Text V2 lists standard recognition at $0.016 per minute in its first volume tier at the base price checked on November 26, 2026. At that rate an hour of single-channel audio is $0.96 before extras. It is a metered API example. Batch modes, higher volumes and finished transcription applications have their own terms. An online service can be a worthwhile trade if an editorial team needs a shared upload queue and access from any device. A reporter working from a laptop may care more about processing an unpublished interview without uploading it. Google Cloud Speech-to-Text pricing.

FAQ

Can I transcribe a recording for free without an internet connection?

Yes. Install the executable and download the model while you have a connection. Make sure the recording is physically on the Mac too. A cloud-synced folder can display the filename before all the audio is available offline. For English use -l en. For Russian use -l ru with multilingual weights.

Why is the output empty or full of words I cannot hear?

Play the converted WAV. It may contain the wrong channel, background music or a long pause. Try a short section with clear speech, confirm the language and compare it with one of the supplied examples. If the example works, inspect the original file, the selected stream and the level of the recording. On difficult passages a fluent-looking sentence can still be wrong.

Will whisper.cpp identify who spoke at a meeting?

The command in this guide produces timestamped speech segments. It assigns no verified personal names or job titles. Keep the original audio and identify the voices during review, or use a separate speaker diarization workflow. Prepare the meeting summary after checking both the transcript and the ownership of consequential statements.

Read on Telegram