I am encountering a RuntimeError: Exception with an error code: 0x29 (SPXERR_GSTREAMER_NOT_FOUND_ERROR) when trying to convert an mp3 file to text using the azure-cognitiveservices-speech package.
Here are the versions I am using:
OS: Windows10
Hardware: x64
Python: 3.11
azure-cognitiveservices-speech: 1.38.0
GStreamer: 1.20.7
I have successfully installed GStreamer and have correctly set the system environment variables and PATH according to the instructions on this page. I have also tried GStreamer versions 1.16.3 and 1.18.6, but the issue persists.
I am encountering a RuntimeError: Exception with an error code: 0x29 (SPXERR_GSTREAMER_NOT_FOUND_ERROR) when trying to convert an mp3 file to text using the azure-cognitiveservices-speech package.
Here are the versions I am using:
I have successfully installed GStreamer and have correctly set the system environment variables and PATH according to the instructions on this page. I have also tried GStreamer versions 1.16.3 and 1.18.6, but the issue persists.
Here is the code where the error occurs:
The full error message is as follows:
Any advice on how to resolve this issue would be greatly appreciated. If you need any additional information, please let me know.
Thank you for your assistance.