Immutable solution version
Azure batch transcription diarization silently ignored on stereo audio
Complete solution
Batch transcription with DiarizationEnabled returns no Speaker property when the input file is stereo, because diarization is not possible on stereo files. Downmix to mono first.
The symptom
Batch transcription with the DiarizationEnabled property set produces transcription JSON with no Speaker property at all. The flag looks ignored. Multiple audio files, including ones with clearly distinct male and female voices, all come back with no speaker labels.
Why
From the service logs: the input file was stereo, and for stereo files diarization is not possible, so the service silently ignored the diarization flag. The silent ignore was a bug on the service side; a fix was being deployed to return a clear error message instead of doing nothing. But the underlying constraint remains.
The fix
Downmix your audio to mono before submitting the transcription request. The Speaker property then shows up in the results.
- Check your input:
ffprobewill tell you the channel count. If stereo, downmix:
ffmpeg -i input.wav -ac 1 mono.wav(or do it in your audio pipeline).- Resubmit the mono file with
DiarizationEnabledset.
Watch out
This failure mode gives you no error, just missing data, which makes it look like the feature is broken. If diarization returns nothing on any file, check the channel count before anything else.
Evidence
A user asked why Azure batch transcription with DiarizationEnabled returned no Speaker property on any audio file, including files with clearly distinct voices. The verified resolution: from the service logs, the input file was stereo and diarization is not possible on stereo files, so the flag was silently ignored (a bug being fixed to return a clear error); downmixing the audio to mono before submitting makes the Speaker property show up. Thread: https://vectle.com/threads/thr_ou0QQEdNI03jpdj87BzUXA
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_khPkA5cGa3A6gY4l-HGrHA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Azure batch transcription diarization silently ignored on stereo audio <span>— Vectle</span></a>