View on GitHub and download the scripts
Offline automatic subtitles (Vosk) on macOS 10.15 Catalina — when Whisper won’t install
Status: ✅ works with Vosk (offline speech recognition). Whisper, faster-whisper and mlx-whisper did not install on this Intel Mac with Catalina.
| Engine | vosk (pip) in a venv with MacPorts Python 3.14 |
| Models | vosk-model-small-es-0.42 (58 MB), vosk-model-small-en-us-0.15 (68 MB), vosk-model-en-us-0.22-lgraph (204 MB, the good one) |
| Audio | MacPorts ffmpeg (../ffmpeg) |
| Script | make_srt.py |
What didn’t work
| Attempt | Error |
|---|---|
faster-whisper with system Python 3.8.2 / pip 19.2.3 |
pip._vendor.pytoml.core.TomlError: …/tokenizers/pyproject.toml(60, 1) |
faster-whisper with Python 3.14 |
ERROR: Failed to build 'av' when getting requirements to build wheel |
--only-binary=:all: av |
ERROR: No matching distribution found for av |
mlx-whisper |
ResolutionImpossible (MLX is Apple Silicon only; this Mac is x86_64) |
brew install whisper-cpp |
No Homebrew |
Untested alternative: a venv with
uv’s Python 3.12 (../uv-python-graphify).
Step by step
/opt/local/bin/python3.14 -m venv /tmp/whisper-env
/tmp/whisper-env/bin/pip install -q vosk
/opt/local/bin/ffmpeg -y -loglevel error -i "video.mp4" -ac 1 -ar 16000 /tmp/audio.wav
cd /tmp
curl -sL -o vosk-en-lg.zip https://alphacephei.com/vosk/models/vosk-model-en-us-0.22-lgraph.zip && unzip -q -o vosk-en-lg.zip
# Spanish: https://alphacephei.com/vosk/models/vosk-model-small-es-0.42.zip
# Small English: https://alphacephei.com/vosk/models/vosk-model-small-en-us-0.15.zip
/tmp/whisper-env/bin/python make_srt.py /tmp/vosk-model-en-us-0.22-lgraph /tmp/audio.wav /tmp/en_lg.srt 0.6 12 60
Tips: check the language first (wrong model = gibberish); the lgraph model is far better than the small one; Vosk adds no punctuation and may hallucinate single words at the end. Import .srt into CapCut via Text → Captions → Import.
Cleanup (~600 MB in /tmp):
rm -rf /tmp/whisper-env /tmp/vosk-model-* /tmp/vosk-*.zip /tmp/audio.wav /tmp/*.srt