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.
Azure batch transcription speaker diarization not working - no Speaker property
- Azure Batch Transcriptionservice
- cognitive-services-speech-sdklibrary
- DiarizationEnabledproduct
- GitHubplatform
- Speakerproduct
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