google-cloud-python icon indicating copy to clipboard operation
google-cloud-python copied to clipboard

Media Translation Returning Null Output

Open piyushJaiswal opened this issue 3 years ago • 2 comments

Hi,

I have been trying to run this code on a 3-4 min audio but it is not returning any translated text.

Please find a screenshot of the output below, which simply returns blank for now.

Don't think the issue is with the setup since

  • Media Translation API has been enabled in the relevant GCP project
  • Keys were created and properly downloaded as json
  • Environment variable GOOGLE_APPLICATION_CREDENTIALS was set to the path of the JSON file
image

piyushJaiswal avatar Apr 19 '22 15:04 piyushJaiswal

I can get text from mic to be translated but I´m having no success translating/transcribing from files. The output is just blank. Not sure if I´m doing something wrong, but I don´t get any erro and I´ve been testing with the audio.RAW file from the samples and a .wav file.

AndreJSLC avatar Jul 20 '22 02:07 AndreJSLC

I'm going to transfer this issue to the google-cloud-python repository as we are preparing to move the code for google-cloud-media-translation to that repository in the next 1-2 weeks.

parthea avatar Apr 17 '23 17:04 parthea