Closed ctml91 closed 4 months ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (tts
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tts documentation tts source (message by IssueLinks)
Hey there @lufton, mind taking a look at this issue as it has been labeled with an integration (google_cloud
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
google_cloud documentation google_cloud source (message by IssueLinks)
Same problem
Here the fix: remove encoding: linear16
https://community.home-assistant.io/t/tts-on-google-cloud-not-working-for-new-automation/698492
The problem
Started after upgrading from 2023.11.01 to 2024.3.0. TTS using google cloud no longer works unless the item is already in cache. Throws ffmpeg errors.
What version of Home Assistant Core has the issue?
core-2024.3.0
What was the last working version of Home Assistant Core?
core-2024.11.1
What type of installation are you running?
Home Assistant Container
Integration causing the issue
TTS / Google Cloud
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tts/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
The error thrown from ffmpeg
Docs have linear16 is a supported encoding, so I'm not sure if something changed with newer version of ffmpeg included in HA since 2023.11.1 as it doesn't appear to accept it any longer. Switching
encoding: linear16
toencoding: mp3
resolved the issue. Unclear whether its an issue with TTS, or the encoding is no longer suported and Google Cloud docs need to be updated to remove it.https://www.home-assistant.io/integrations/google_cloud/