点击查看 Edge-TTS 配音渠道无法使用的解决办法!!!

#1930 试听配音无反应后报错

113.88* Posted at: 9 hours ago 👁13

操作失败,请稍后重试('No audio was received. Please verify that your parameters are correct.',):
Traceback (most recent call last):
File "videotrans\tts\_base.py", line 123, in run
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 279, in run
File "videotrans\tts\_base.py", line 177, in run
File "videotrans\tts\_edgetts.py", line 72, in _create_audio_with_retry
File "asyncio\tasks.py", line 445, in wait_for
File "edge_tts\communicate.py", line 590, in save
File "edge_tts\communicate.py", line 566, in stream
File "edge_tts\communicate.py", line 541, in __stream
edge_tts.exceptions.NoAudioReceived: No audio was received. Please verify that your parameters are correct.

1 Replies

此错误表明 Edge-TTS 服务端未返回音频数据。核心原因是 网络连接问题请求参数有误。请按以下步骤排查:

  1. 检查网络连接:确保你的电脑可以正常访问互联网,特别是能连接到微软的 Edge-TTS 服务。如果使用代理,请确保代理设置正确(主界面第5行“网络代理”处填写)。
  2. 验证配音参数

    • 确认你选择的 配音角色目标语言 是匹配且有效的组合。例如,选择了中文角色但目标语言是英语,可能导致无音频。
    • 尝试更换一个不同的配音角色进行试听。
  3. 降低请求频率(临时规避)

    • 在菜单栏选择 工具 -> 高级选项
    • 在“配音调整”区域,将“同时配音字幕数”改为 1
    • 将“配音后暂停时间/秒”改为 3 或更高。
  4. 检查系统时间:确保你的电脑系统日期和时间是准确的,时区设置正确。时间偏差过大可能导致与服务器认证失败。
  5. 临时使用其他配音渠道:在“配音”下拉菜单中,暂时切换到其他可用的渠道(如“AzureTTS”或本地TTS)进行测试,以确认问题是否仅限于 Edge-TTS。

如果以上步骤均无效,可能是微软服务端临时问题,请等待一段时间后重试。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions