A short screen recording can be easier to reuse when it has searchable text and subtitles. You do not need to send its audio to a hosted transcription service: whisper.cpp runs Whisper speech recognition on your own machine, including CPU-only setups.
The goal: turn one English recording into TXT, SRT and VTT files on Linux or macOS. The workflow below follows the project’s documented build process and CLI flags. It has not been benchmarked or personally tested for this article.
Use a recording you own or have permission to process. Local inference reduces one data-transfer risk; it does not remove consent requirements or protect files from other software on your computer.
1. Check the tools and choose a reproducible version
You need Git, CMake, a working C/C++ compiler and FFmpeg available on your PATH. Install those through your operating system’s trusted development-tool or package-manager instructions first. This is a source build, not a one-command binary installer.
git --version
cmake --version
ffmpeg -version
git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp
git checkout v1.9.6
The v1.9.6 release was published on November 23, 2026. Pinning that tag keeps this walkthrough tied to a reviewable source version rather than a moving development branch. Review later releases before adopting them; a newer version alone is not evidence of better transcription.
2. Download the English model and build the CLI
sh ./models/download-ggml-model.sh base.en
cmake -B build
cmake --build build -j --config Release
./build/bin/whisper-cli -h
The download script fetches model weights; the build compiles the local executable. These setup steps require downloads. The subsequent file-transcription command uses the downloaded model locally and does not require a hosted transcription API key.
base.en is an English-only choice. Do not select it for a Thai recording and assume language detection will compensate. For other languages, consult the project’s model documentation and choose a multilingual model instead.
Start small. The versioned README provides approximate model-memory guidance, but that is not a promise about total application memory on your hardware. If compilation fails, resolve the compiler or CMake error before changing model size.
3. Normalize one recording
Copy a short recording into the repository directory as input.mp3, or replace the filename below with your own path. Use quotes around paths containing spaces.
ffmpeg -i input.mp3 -ar 16000 -ac 1 -c:a pcm_s16le output.wav
This is the repository’s documented conversion: 16 kHz audio, one channel and 16-bit PCM. The README recommends this WAV format. The CLI source also lists other supported formats, so WAV is a predictable compatibility path here—not a claim that every build rejects MP3.
Keep the original recording. Conversion creates a working input; it does not improve missing speech or repair a noisy microphone. Begin with a small clip so you can review the result quickly before processing a long session.
4. Export text and subtitle files together
./build/bin/whisper-cli -m models/ggml-base.en.bin -f output.wav -l en -otxt -osrt -ovtt -of transcript
The versioned CLI source documents these output switches. -of takes an output basename without an extension.
| File | Useful for | What to review |
|---|---|---|
| transcript.txt | Searchable notes and editing | Names, technical terms and omissions |
| transcript.srt | Subtitle import into compatible editors | Timing, line breaks and text |
| transcript.vtt | Web subtitle workflows | Player compatibility and cue timing |
These are intended outputs, not recorded test results. If the command reports a missing model, check the model path relative to your current directory. If GPU initialization causes trouble, the documented -ng switch disables GPU use; CPU execution can take longer, and no runtime estimate is promised here.
5. Review before attaching subtitles or sharing notes
Listen to the recording while checking the text. Pay special attention to silence, proper nouns, numbers and code identifiers. Speech-recognition output can be wrong even when it reads fluently. Subtitle timestamps also need human review.
Never run a shell command merely because it appears in a generated transcript. Treat transcription as untrusted text, especially if it will later enter an AI agent or automated publishing workflow.
Store the recording, converted WAV and transcript with appropriate access controls. Check whether your working directory is synced to cloud storage. For confidential material, validate your wider network and backup policy rather than treating the word “local” as a complete security guarantee.
Cost boundary: this workflow avoids a hosted transcription request, but downloads, disk space, electricity and machine time still have costs. It does not provide a measured accuracy comparison with paid products. Your next useful action is simple: transcribe one permitted clip, check every subtitle cue, then decide whether the workflow fits your recordings.
Discover more from Juzhax Technology
Subscribe to get the latest posts sent to your email.
