I created a project in Google Cloud Console, and enabled Google Speech API in this project, and create credentials. Also used the transcribe.py recommended by Google,
https://cloud.google.com/speech/docs/samples
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/speech
I can use it with API key generated by Google could console to successfully translate audio file(30 seconds) into text, but not fully, only first 2-3 seconds. My account now is of free trial, so I doubt whether it is because of my account type( free trial).
Response from google is like {"results": [{"alternatives": [{"confidence": 0.89569235, "transcript": "I've had a picnic in the forest and I'm going home so come on with me"}]}]}
The audio file is wav file with format( printed by ffprobe ) Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channels, s16, 256 kb/s
Audio file has been uploaded in google drive, link is here https://drive.google.com/file/d/0B3koIsnLksOLQXhvQ1ljS0dDXzg/view?usp=sharing
Anybody know whats wrong with above process/steps? or this is bug google speech recognition api?