New Tool Radar

Local Speech & Transcription

How to Get Word Timestamps and Speaker Segments From whisper.cpp

Turn on whisper.cpp's experimental word-level timestamps and tinydiarize speaker segmentation to see who said each word and when.

Schematic diagram with four steps: build whisper.cpp, enable word-level timestamps with -ml 1, enable tinydiarize speaker segmentation, then check the turns against the recording.

A plain transcript tells you what was said, not when each word was said or who said it. whisper.cpp has two experimental features for that: word-level timestamps, and speaker segmentation via tinydiarize. Both are in the README, both are marked experimental.

Enable word timestamps and speaker segmentation

Build whisper.cpp, then run whisper-cli with the word-timestamp option — the README’s word-level timestamp section shows how, and the --max-len argument is part of it: use -ml 1 for per-word segments. For speakers, enable the tinydiarize speaker segmentation feature from its README section: it splits the transcript into speaker turns, so each segment carries a speaker label.

./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/meeting.wav -ml 1
# word-level timestamps; speaker segmentation via tinydiarize (README sections)

Both features are experimental, which means the output format and the accuracy can change between versions, and speaker labels are guesses — the tool does not know the speakers’ names, only that the voice changed. Check the segments against the recording before trusting them in minutes or subtitles.

Try it: four checks

Check What you should see If you do not see it
Built whisper.cpp builds Check the cmake build
Word timestamps on The output has per-word times Use -ml 1
Speakers split The transcript has speaker turns Check the tinydiarize section
Labels checked The turns match the recording Labels are guesses, not names

Expected result. We checked the whisper.cpp README, which has experimental sections for word-level timestamps and speaker segmentation via tinydiarize, and says –max-len with -ml 1 obtains word-level timestamps. We did not transcribe audio on this machine.

Limits

This guide covers the two experimental features only. Both can change between versions, and speaker labels are guesses. We did not test any transcription ourselves.

Sources

See all