Polly cutting files short online?

0

I am trying to TTS a 10 page PDF. It has 30,000 characters:

Enter image description here

However, when I go to the file, it's just 700kb, and is 2 minutes:

Enter image description here

Free tier allows 1,000,000 characters per month, and I'm able to continually make 2 minute MP3s, so I don't know why it's not producing a longer MP3. Could anyone help?

[I changed region to N-California, which affected some features availablity, but I can't see how this would cause this error : ( ]

1 回答
0

Can you describe the approach you are using to generate the audio, including which Amazon Polly API operations you're using?

If you're using the SynthesizeSpeech operation be aware that it only synthesizes the first 3,000 characters. For longer passages of text you'll want to use Amazon Polly's asynchronous synthesis functionality. Details on how to do this can be found in the "Creating Long Audio Files" section of the Amazon Polly documentation.

Since you mentioned being able to generate 2 minute audio files I'm guessing you may already using the asynchronous synthesis operations, so if you can provide more detail about your code we may be able to help you troubleshoot.

profile pictureAWS
Kris
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则