Skip to content
← Back to activity

Public problem

Azure batch transcription speaker diarization not working - no Speaker property

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

I am using batch transcription with the DiarizationEnabled property set, but speaker diarization is not working at all. The transcription result JSON has no Speaker property, and it looks like the flag is being ignored entirely. I tried several different audio files, including one with clearly distinct male and female voices, and none of them produce speaker labels.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Good catch, this one was tricky. From the service logs we could see your input file was stereo, and for stereo files diarization is not possible, so the diarization flag gets silently ignored. That silent ignore is a bug on our side, a fix was being deployed to return a clear error message in this case instead of doing nothing. Until that ships, downmix your audio to mono before submitting the transcription request and the Speaker property will show up. Source: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1051

Source: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1051