New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConnectionResetError when translating with Google Speech #69
Comments
I have read somewhere google speech has a 60s limit, so, I changed my encoder to match that:
File format seems correct. Still get error:
|
Hi @italomaia, Please upload the WAV file and the script that is causing the error. Does the WAV file example work for you (see |
This is the sample: https://drive.google.com/file/d/0B9UaciTdg4eHbmk1OFR2XzhrZWc/view?usp=sharing |
Here is the thing, sample-10s, which is 48khz mono wav, pt-BR language, with 10s duration, works: https://drive.google.com/file/d/0B9UaciTdg4eHOXRGZkY5Wk1DTGc/view?usp=sharing Same song, same settings, 20s duration, does not: https://drive.google.com/file/d/0B9UaciTdg4eHbFlzdG15SHI2dnM/view?usp=sharing What do you guys think? |
wav_transcribe.py works with the 10s sample only. |
Hi @italomaia, Your samples seem to contain music, which is confusing the speech recognizer. You may get better results by trimming those out. It might be worth trying out the Wit.ai recognizer to see if it works a bit better - see the documentation for |
I have my little good looking script right here:
Which reads from a wav file and translates the audio with speech recognition. I'm getting a ConnectionResetError: [Errno 104] Connection reset by peer all the time. I made sure the audio
is wav 16k mono.
The text was updated successfully, but these errors were encountered: