Skip to content
Discussion options

You must be logged in to vote

Hey Lucky (@Stryfe-Delivery) ,

Short answer: Not currently supported in markitdown.

Markitdown's audio pipeline uses speech_recognition for basic speech-to-text transcription only. It outputs a flat transcript with no speaker labels — there's no diarization layer in the pipeline.

Workaround for speaker detection:

Use a dedicated diarization tool before or after markitdown. Best options:
pyannote.audio (local, open source) — detects speaker segments, outputs [SPEAKER_01], [SPEAKER_02] timestamps
WhisperX — combines Whisper transcription + pyannote diarization in one pipeline
AssemblyAI API — cloud-based, add speaker_labels=True to get [Speaker A], [Speaker B] inline

Once you have a diarize…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Stryfe-Delivery
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Stryfe-Delivery
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants