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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ