Recipes
Four jobs, end to end. Everything here uses commands and scripts from earlier chapters; nothing is organisation- specific — bring your own recordings.
1. A meeting recording into draft minutes
The monthly club meeting, recorded on a phone in the middle of the table.
whisper meeting.m4a --model base \
--output_format all --output_dir meeting-out
Work from the .txt for the words and
the .json when the words look wrong:
words the model scored with low
probability (chapter 6) are the ones to
check against the audio. Whisper cannot
tell you who spoke (chapter 13), so
attribute remarks while you still
remember the room. The transcript is the
draft — a person who was there turns
it into minutes.
2. Subtitles for a video
A family-history interview, a community theatre recording, a lecture capture — anything headed for a player or a video site:
whisper interview.mp4 --model base \
--output_format srt
Yes, the video file goes straight in;
ffmpeg lifts the audio track out
(chapter 2). You get interview.srt
with the same base name, ready to sit
beside the video or upload alongside
it. For a web page's embedded player,
ask for vtt instead. Watch the result
once through with the subtitles on —
cue timings from small models are good,
not frame-perfect.
3. An oral-history archive that stays searchable
A box of interviews, one per file, named
by person and date. The load-once script
from chapter 8 (examples/
transcribe-folder.py) walks the folder:
python3 transcribe-folder.py interviews/ \
transcripts/ base
Keep three things together per
interview: the original audio (never
throw it away — better models come
along, and re-transcribing old audio
with a new model is nearly free), the
.txt for reading, and, if you generate
it, the word-timed JSON, which lets a
listener jump to the moment a name or a
place was mentioned. A folder of text
files is full-text searchable with tools
you already have; a folder of audio is
not. That, more than anything, is the
point of transcribing an archive.
4. Following a film or lesson in another language
A Spanish film scene, a French lecture — use Whisper twice, in the order chapter 7 recommends:
whisper scene.mkv --language Spanish \
--output_format srt
whisper scene.mkv --language Spanish \
--task translate --output_format srt \
--output_dir english/
Now you hold subtitles in both
languages: study against the original,
fall back on the English when a sentence
beats you. Remember the lab's lesson —
at base size the translation carries
the gist and occasionally drops a
sentence on the floor. If the material
matters, step up a model size for the
translation pass, and treat proper names
in both versions as suspects.
Check (for every recipe): before the output is used for anything real, listen to one minute of the audio while reading the transcript. That single pass catches most of what chapters 5 and 13 warn about, and it is the cheapest quality control there is.