Create local subtitles for a recorded lecture on a Mac
At a glance
The hark author demonstrates installing a local Whisper engine and converting an existing audio recording into an SRT subtitle file. This workflow is listed under Transcription, Study.
- Agents / tools
- hark, whisper.cpp, Homebrew
SourceBuilding a tool for these workflows? See weekly rates.
What they did
1) Use an Apple Silicon Mac with macOS 14.4 or later, Homebrew, and a local lecture recording. In Terminal, add the tap with `brew tap PhantomYdn/hark https://github.com/PhantomYdn/hark`, trust it with `brew trust phantomydn/hark`, then install with `brew install hark`. The package brings in whisper.cpp. 2) Download and select the English model with `hark models download base.en --default` while connected to the internet. 3) In the directory containing the recording, run `hark -i lecture.m4a -t lecture.srt`, replacing the input and output names for your file. 4) Let the file transcription finish; the named SRT file contains the subtitles for use alongside the recording.
Worth knowing
The linked maintainer README supplies the Apple Silicon installation requirement and Homebrew trust step. The discussion describes local processing after model download.