
“Check the audio levels” appeared on screen almost a second before the voice said it. The words were right. The timing made them look like part of the previous instruction. That was the most useful finding from our test of whisper.cpp, a command-line tool that can turn a local recording into timed subtitles on a CPU.
We gave it three English sentences separated by pauses, then ran the same command on a silent clip. The speech test produced an SRT file for a video editor and a WebVTT file for a web player. This guide walks through the export and the corrections we would make before either file reached a viewer.
For this run we used the Windows x64 CPU archive from whisper.cpp v1.8.4 and the English base model, ggml-base.en.bin. Extract the archive, keep the executable and its accompanying DLLs together, and put the model on the same machine. Our working folder contained sample.wav and a runtime directory holding the program, its libraries and the model. We verified both downloads against their published SHA-256 hashes.
Downloading those files requires connectivity. Once they are present, the CLI reads the audio and model from disk and writes the subtitles locally. No transcription API key is needed. The .en model is for English audio. For speech in another supported language, use a multilingual model and set the language to match the recording. Writing subtitles in another language is a separate translation task.
Our test input was a 9.713-second, 16 kHz mono WAV with 16-bit PCM audio. If your source is a video, you can prepare a matching WAV with FFmpeg. Here, -map 0:a:0 selects the first audio stream. Check that it contains the intended dialogue if your file has several languages or a commentary track. Preserve any opening silence so the audio keeps its place on the video timeline. FFmpeg’s stream selection documentation explains how the mapping works.
ffmpeg -i input.mp4 -map 0:a:0 -ac 1 -ar 16000 -c:a pcm_s16le sample.wav
From the working folder, run this PowerShell command. Choose a fresh output name if you want to keep an earlier export.
.\runtime\whisper-cli.exe -m runtime/ggml-base.en.bin -f sample.wav -l en -ng -t 4 -osrt -ovtt -of sample
-ng disables GPU use and -t 4 selects four CPU threads. The two output flags write sample.srt and sample.vtt using the same decoded segments. -of sample sets the output name without an extension. The original video stays separate. If you need a Python transcription pipeline instead, our faster-whisper guide covers that workflow.
A cue is one piece of subtitle text with a start and end time. In both exports the words matched all three reference sentences when we ignored capitalization. The SRT numbered its cues and used decimal commas for milliseconds. The WebVTT file began with WEBVTT and used decimal points. The timings revealed three things the transcript alone could not tell us.
Here is the edited second cue as a standalone WebVTT example. In a full track, the header appears once at the top. Keep a blank line between cues. The WebVTT specification defines the file format.
WEBVTT
00:00:03.850 --> 00:00:05.450
Check the audio levels.
Keep the raw export. Edit a copy in your subtitle editor, then regenerate or update both delivery formats from those reviewed times. Load the corrected track against the final cut. Play the opening, a pause, and the last few seconds, listening for the first and last word of each cue. Check names, numbers, reading time and line breaks on the smallest screen your audience uses. Recheck synchronization after any cut that moves the dialogue.
We replaced the speech with digital silence of the same duration and ran the identical model and settings. Both files contained one cue, “You,” from 0.000 to 2.000. The command completed successfully. A workflow that only checks for an output file would accept an invented word.
Keep a silent clip with your test inputs and expect zero spoken cues. Flag any text it produces for review. For a real recording, replay the suspect interval before deleting a cue. Quiet speech can look like silence on a waveform. When captions are intended for deaf or hard-of-hearing viewers, review speaker changes and meaningful sounds as well. A speech transcript covers only part of that job.
Run a short talking-head clip, a recording with background noise and a longer video from your own queue. Record the model, thread count, audio duration, transcription time and minutes spent correcting cues. The correction time belongs in the estimate alongside machine time. Three synthetic sentences tell us how to inspect the output, but they cannot predict the cost of subtitling an interview series. For a weekly series, subtract the time needed to review the captions from the time left before delivery. If the current machine can’t finish transcription in that window, use the CPU VM buying guide to size a shared worker for the queue.
If you plan to host the worker, you can repeat the test on a CPU instance with Hivenet. Moving a private recording to a VM transfers it to that machine, even when transcription runs locally there. If your delivery also requires a different video codec or burned-in subtitles, budget that encoding work separately. Our video transcoding guide covers the compute decision for that stage.
Pick one AI, compute, or storage workload and see the difference for yourself. Spin it up in minutes, or let our team map your fastest path to production.