Open g-tyagi opened 3 days ago
Try the attached example:
recognize_compressed_audio.zip
Replace YourSubscriptionKey
and YourServiceRegion
in the script with valid values.
Note that you must have GStreamer installed for this to work, see https://learn.microsoft.com/azure/ai-services/speech-service/how-to-use-codec-compressed-audio-input-streams?pivots=programming-language-python#gstreamer-configuration
Issue
Azure Speech to text API has support for audio/ogg Content-type but I am unable to transcribe .ogg or .mp3 files over Python SDK.
Are these formats supported by Python speech SDK? What are the required parameters?
Error log
Code snippet