You record a meeting, run two commands, and get a timestamped transcript plus notes: a summary, the decisions, a to-do list and the open questions. Everything runs on your own computer, so the recording never goes to a cloud service.
You also see where small local models go wrong. The app shows you the exact transcript line behind every task, so you can check each one in seconds.
What you will build
This is the real output from our run on a 69-second sample meeting:

Look closely and you’ll spot a mistake. The summary says Karen will send the holiday cake list, but in the meeting Samantha promised to send it to Karen. The task list underneath gets it right (“Send the final list of holiday cakes to Karen”), and the quoted line at 00:33 lets you check it. We explain why this happens below.
What you need
- A laptop that runs Python and Ollama. We tested on macOS 27.2.1 with an Apple M3 Pro and 36 GB of memory. We did not test Windows, Linux or an 8 GB machine. Both tools support Windows and Linux, but
make_sample.shin Step 3 uses the macOSsaycommand. - Ollama (we used 0.40.19) with the
qwen3:4b-instructmodel, a 2.5 GB download. - uv (we used 0.7.13). It installs Python 3.12 for the project.
- FFmpeg, only to build the sample recording in Step 3 (we used 8.0.1). Whisper itself doesn’t need it.
- Time: about 20 minutes plus downloads.
- Cost: free. No account or API key.
Step 1: Pull the summary model
ollama pull qwen3:4b-instruct
It ends with success. Check that it’s there:
ollama list
NAME ID SIZE MODIFIED
qwen3:4b-instruct 0edcdef34593 2.5 GB 7 days ago
We use the -instruct version on purpose. It answers straight away instead of “thinking” first. In one test the thinking qwen3:4b was still busy after our 280-second limit, while the instruct model finished in about 6 seconds.
Step 2: Create the project
mkdir meeting-notes && cd meeting-notes
uv init --python 3.12 --no-readme .
uv add faster-whisper ollama "av<19"
faster-whisper runs OpenAI’s Whisper speech-to-text models with the CTranslate2 engine. The ollama package talks to the Ollama app on your machine.
The "av<19" pin matters. Without it, uv installed PyAV 19.0.2 and our first transcription crashed (see Troubleshooting). With the pin, we got these versions:
uv pip list | grep -E "^(av|faster-whisper|ollama|ctranslate2|pydantic) "
av 18.1.1
ctranslate2 4.9.1
faster-whisper 1.2.1
ollama 0.6.3
pydantic 2.14.4
Step 3: Get a recording to test with
Any recording of people talking works: a Voice Memos file, a Zoom recording, an MP3 or a video. Only record people who agree to it.
To follow along with exactly what we tested, make our sample. It is a made-up bakery team meeting with three people, read by three built-in macOS voices. On macOS, install FFmpeg first (brew install ffmpeg), then save this as make_sample.sh:
#!/usr/bin/env bash
# Makes meeting.m4a: a made-up 70-second meeting read by three macOS voices.
set -e
mkdir -p parts
i=0
while IFS='|' read -r voice line; do
i=$((i+1))
say -v "$voice" -o "parts/$(printf %02d $i).aiff" "$line"
done <<'EOF'
Samantha|Okay, let's get started. This is the weekly sync for the bakery website, Monday the thirtieth.
Daniel|Thanks. Quick update from me. The new online order form is finished, but the payment page still shows the wrong delivery fee for orders outside the city.
Samantha|How long do you need to fix that?
Daniel|I think two days. I can have it done by Wednesday.
Samantha|Great. Karen, how are the product photos going?
Karen|I shot thirty photos on Friday. Twelve are edited. The rest will be ready by Thursday, but I need the final list of holiday cakes from Samantha first.
Samantha|Right, I'll send you that list today after this call.
Karen|Perfect. One more thing. Customers keep asking if we deliver on Sundays. Should we add that to the FAQ page?
Samantha|We don't deliver on Sundays yet. Let's say so clearly on the FAQ page. Karen, can you write that?
Karen|Sure, I'll add it tomorrow.
Samantha|Last topic. We agreed to launch the holiday menu on December the eighth. Does that still work for everyone?
Daniel|It works if the delivery fee bug is fixed by Wednesday.
Samantha|Okay. Then the launch date stays December eighth. Thanks everyone, see you next Monday.
EOF
for f in parts/*.aiff; do echo "file '$PWD/$f'"; done > parts/list.txt
ffmpeg -loglevel error -y -f concat -safe 0 -i parts/list.txt -c:a aac -b:a 96k meeting.m4a
echo "Made meeting.m4a"
Run it:
bash make_sample.sh
Made meeting.m4a
The voice names matter here: they are the speakers’ names in the meeting, but the recording itself carries no labels. That’s true of real recordings too.
Step 4: Transcribe the recording with Whisper
Save this as transcribe.py:
import sys
import time
from faster_whisper import WhisperModel
audio = sys.argv[1] if len(sys.argv) > 1 else "meeting.m4a"
model_size = sys.argv[2] if len(sys.argv) > 2 else "small"
start = time.time()
# int8 on the CPU works on any laptop: Mac, Windows or Linux, no GPU needed.
model = WhisperModel(model_size, device="cpu", compute_type="int8")
segments, info = model.transcribe(audio, vad_filter=True)
print(f"Language: {info.language} ({info.language_probability:.0%} sure)")
print(f"Audio length: {info.duration:.0f} s")
lines = []
for seg in segments: # segments is a generator: the work happens in this loop
m, s = divmod(int(seg.start), 60)
line = f"[{m:02d}:{s:02d}] {seg.text.strip()}"
print(line)
lines.append(line)
with open("transcript.txt", "w", encoding="utf-8") as f:
f.write("\n".join(lines) + "\n")
print(f"Saved transcript.txt ({len(lines)} lines) in {time.time() - start:.0f} s")
Run it:
uv run transcribe.py meeting.m4a
The first run downloads the small Whisper model from Hugging Face. You don’t need an account for that. You may see a warning about unauthenticated requests, which you can ignore. Our output:
Language: en (100% sure)
Audio length: 69 s
[00:00] Okay, let's get started. This is the weekly sync for the bakery website, Monday the 30th.
[00:05] Thanks. Quick update from me. The new online order form is finished,
[00:10] but the payment page still shows the wrong delivery fee for orders outside the city.
[00:15] How long do you need to fix that?
[00:17] I think two days. I can have it done by Wednesday.
[00:20] Great. Karen, how are the product photos going?
[00:23] I shot 30 photos on Friday, 12 are edited. The rest will be ready by Thursday,
[00:29] but I need the final list of holiday cakes from Samantha first.
[00:33] Right. I'll send you that list today after this call.
[00:36] Perfect. One more thing. Customers keep asking if we deliver on Sundays.
[00:41] Should we add that to the frequently asked questions page?
[00:44] We don't deliver on Sundays yet. Let's say so clearly on the FAQ page.
[00:49] Karen, can you write that?
[00:51] Sure. I'll add it tomorrow.
[00:53] Last topic. We agreed to launch the holiday menu on December the 8th.
[00:57] Does that still work for everyone?
[00:59] It works if the delivery fee bug is fixed by Wednesday.
[01:02] Okay. Then the launch date stays December 8th.
[01:06] Thanks everyone. See you next Monday.
Saved transcript.txt (19 lines) in 15 s
Every word is right. Whisper even wrote numbers as digits (“30 photos”). It wrote “frequently asked questions” at 00:41 because the macOS voice read “FAQ” aloud as the full phrase there.
vad_filter=True turns on voice activity detection, which skips silent stretches before Whisper sees them. On long recordings with pauses, this saves time and avoids made-up text in the silent parts.
Which model size? On our Mac, with the model already downloaded, small took 15 seconds for this recording and base took 6. base made one mistake, writing “This topic” instead of “Last topic”. Try uv run transcribe.py meeting.m4a base to compare on your own audio.
Step 5: Turn the transcript into notes with Ollama
Make sure the Ollama app is running, then save this as summarize.py:
import re
import sys
import time
import ollama
from pydantic import BaseModel
MODEL = sys.argv[1] if len(sys.argv) > 1 else "qwen3:4b-instruct"
class Task(BaseModel):
task: str
due: str # as said in the meeting, e.g. "Wednesday", or "no date"
said_at: str # timestamp of the line where the task is promised, "mm:ss"
class Notes(BaseModel):
tasks: list[Task] # first, so the model reads the whole transcript for them
decisions: list[str]
summary: str
open_questions: list[str]
PROMPT = """Turn this meeting transcript into notes.
Rules:
- Use only what the transcript says. Never invent facts, names or dates.
- tasks: go through the transcript line by line and list EVERY promise
or deadline ("I'll send...", "I can have it done by...", "it will be
ready by..."). Write each task as a short to-do without "I", for
example "Fix the delivery fee bug". Copy the due date the way it was
said ("Wednesday", "tomorrow"), or "no date". said_at is the [mm:ss]
timestamp of the line where the promise is made.
- decisions: things the group agreed on.
- summary: 2-3 sentences.
- open_questions: questions nobody answered (empty list if none).
Transcript:
"""
lines = open("transcript.txt", encoding="utf-8").read().splitlines()
by_time = {l[1:6]: l[8:] for l in lines if re.match(r"\[\d\d:\d\d\]", l)}
start = time.time()
response = ollama.chat(
model=MODEL,
messages=[{"role": "user", "content": PROMPT + "\n".join(lines)}],
format=Notes.model_json_schema(), # the reply must match this shape
options={"temperature": 0},
)
notes = Notes.model_validate_json(response.message.content)
md = ["# Meeting notes", "", "## Summary", notes.summary, "", "## Decisions"]
md += [f"- {d}" for d in notes.decisions]
md += ["", "## Tasks (check who owns each one)"]
for t in notes.tasks:
quote = by_time.get(t.said_at.strip("[]"), "(timestamp not found)")
md.append(f"- [ ] {t.task} (due: {t.due})")
md.append(f' - {t.said_at}: "{quote}"')
md += ["", "## Open questions"]
md += [f"- {q}" for q in notes.open_questions] or ["- None"]
with open("notes.md", "w", encoding="utf-8") as f:
f.write("\n".join(md) + "\n")
print("\n".join(md))
print(f"\nSaved notes.md in {time.time() - start:.0f} s using {MODEL}")
Run it:
uv run summarize.py
# Meeting notes
## Summary
The team confirmed the delivery fee bug will be fixed by Wednesday, and the holiday menu launch remains on December 8th. Karen will add a statement to the FAQ page about Sunday deliveries, and will send the holiday cake list today.
## Decisions
- Add a clear statement to the FAQ page that delivery is not available on Sundays.
- The holiday menu launch date remains December 8th, provided the delivery fee bug is fixed by Wednesday.
## Tasks (check who owns each one)
- [ ] Fix the delivery fee bug (due: Wednesday)
- 00:17: "I think two days. I can have it done by Wednesday."
- [ ] Edit the remaining product photos (due: Thursday)
- 00:23: "I shot 30 photos on Friday, 12 are edited. The rest will be ready by Thursday,"
- [ ] Send the final list of holiday cakes to Karen (due: today)
- 00:33: "Right. I'll send you that list today after this call."
- [ ] Add a statement about Sunday deliveries to the FAQ page (due: tomorrow)
- 00:51: "Sure. I'll add it tomorrow."
## Open questions
- None
Saved notes.md in 6 s using qwen3:4b-instruct
All four promises from the meeting are there, each with the right due date and the line it came from. You can open notes.md in any Markdown editor, or paste it into your notes app.
How does local transcription and summarization work?

Each model does one job:
- Whisper listens. faster-whisper turns sound into text with a timestamp per segment. It decodes the audio with PyAV, so per its README you don’t need FFmpeg installed for this step.
- The language model reads.
qwen3:4b-instructgets the transcript and a JSON schema built from theNotesclass. Passing the schema asformat=makes Ollama return exactly those fields, and Pydantic turns them into Python objects. - Python checks. For each task, the model must say when it was promised (
said_at). Python looks that timestamp up in the transcript and prints the real line under the task. The model can’t change that quote.
Why doesn’t it say who owns each task?
Whisper writes down what was said, not who said it. The transcript has no speaker names, so the model has to guess from clues like “Karen, can you write that?” followed by “Sure, I’ll add it tomorrow.”
The 4B model was bad at this guessing. In our first version, we asked for an owner per task, and it wrote:
- [ ] Karen: provide final list of holiday cakes to Samantha (due: today)
That’s backwards. Rules in the prompt about who answers whom didn’t fix it reliably. One run gave Karen the bug fix that Daniel promised.
So we stopped asking for owners. The quote under each task shows you the promise in seconds, and you write the name. The summary can still get people wrong, as the Karen mistake in our final run shows. Treat the summary as a draft and the quoted tasks as the record.
Troubleshooting
TypeError: open() got an unexpected keyword argument 'metadata_errors'. This was our first run. uv installed PyAV 19.0.2, and faster-whisper 1.2.1 calls av.open(..., metadata_errors="ignore"), which that version rejected. We tested the same call with PyAV 17.0.0 and 18.0.0, and both worked. The fix is the pin from Step 2:
uv add "av<19"
The thinking model never answers. With qwen3:4b (not -instruct), our structured-output test was still running after 280 seconds and we stopped it. Use qwen3:4b-instruct, or pass think=False to ollama.chat if your model supports it.
Tasks are missing. Our earlier prompts found only two or three of the four promises. Two changes fixed it in our runs: putting tasks first in the Notes class, so the model writes them before the summary, and listing phrasings like “it will be ready by”. If your meetings use other wording (“let me handle that”), add it to the prompt.
Results change when the audio changes slightly. We made a second version of the sample with half a second of silence added at the end. Whisper split two sentences at different points, and the notes came out in different words. Neither run was wrong, but don’t expect identical notes from two recordings of the same meeting.
ConnectionError: Failed to connect to Ollama. We got this by pointing the script at a port where nothing was listening. It means the script can’t reach Ollama: start the Ollama app, or run ollama serve in another terminal, then try again.
A warning suggests device="mps" on a Mac. CTranslate2 prints a tip that an experimental MPS backend exists for Apple Silicon. We tried it once on this recording: 9 seconds instead of 15, with the same text. It is marked experimental, so we kept cpu in the main script, which works everywhere.
Make it yours
- Process a whole folder. Loop over
recordings/*.m4aand writenotes/<name>.mdfor each, so Monday’s meetings are ready before lunch. - Translate as you transcribe. faster-whisper’s
transcribe()acceptstask="translate", which writes English text from speech in another language. We didn’t test this. - Make subtitles. You already have start times. Add
seg.endand write an.srtfile to caption a video.
Challenge: build it, run it on a real recording (with everyone’s permission), and tell us in the comments which task the model missed or got wrong first.
FAQ
Is Whisper free to use offline? Yes. The Whisper models are open-weight, and faster-whisper runs them locally. After the first download, transcription talks to no server. We didn’t test with the network switched off.
Can Whisper tell who is speaking? No. Whisper only transcribes. Telling speakers apart is called speaker diarization and needs a separate model. We didn’t test one: the popular pyannote diarization models on Hugging Face are gated, so you need an account and an access token to download them.
How long can the recording be? We tested 69 seconds. faster-whisper handles long files, but a long transcript may not fit well in a small model’s prompt. For long meetings, summarize in chunks of 10 minutes or so, then summarize the summaries.
Do I need a GPU? No. Both steps ran on our laptop with no extra hardware setup. On a Mac, Ollama uses the built-in GPU automatically. Whisper ran on the CPU.
Summary
You built a private meeting assistant in two short scripts. Whisper turns speech into a timestamped transcript. A local model in Ollama turns that into notes with a fixed shape. A small Python check pins every task to the line it came from, which matters because a 4B model can mix up who promised what.
Keep going:
- Create a narrated video with a local LLM: the reverse trip, from text to speech
- Turn receipt photos into a spreadsheet with Ollama and Python: more on structured output
- Chat with your documents: local RAG with Ollama and Python: ask questions across many transcripts
Sources
Checked on 30 November 2026. Everything else comes from our own runs.
- SYSTRAN, faster-whisper on GitHub (README: audio decoded with PyAV, no system FFmpeg needed)
- PyPI, faster-whisper (1.2.1, released 31 October 2025) and av (19.0.2, released 21 October 2026)
- Ollama documentation, Structured Outputs
- Ollama library, qwen3
- Hugging Face, pyannote/speaker-diarization-3.1 (gated model)




Join the discussion