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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠