#2365 试听配音失败下面是报错

240e:391* Posted at: 5 hours ago 👁7

操作失败,请稍后重试('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 261, in run
File "videotrans\tts\_base.py", line 177, in run
File "videotrans\tts\_edgetts.py", line 71, 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.


=
system:Windows-10-10.0.26100-SP0
version:v3.83
frozen:True
language:zh
root_dir:D:/klpy/win-videotrans-v3.83

1 Replies

试听配音失败并提示 No audio was received. Please verify that your parameters are correct.,这是使用 Edge-TTS 时的一个常见网络问题。请按以下步骤排查解决:

  1. 检查网络连接:确保您的电脑可以正常访问互联网,特别是能连接到微软的服务器。可以尝试在浏览器中访问 https://www.bing.com 以测试网络。
  2. 检查配音参数

    • 在主界面第4行“配音”设置中,确认已正确选择了 Edge-TTS 渠道。
    • 确认选择的“配音角色”是有效的(例如 zh-CN-XiaoxiaoNeural)。如果角色名错误或不存在,会导致此错误。
  3. 降低并发请求(关键步骤)

    • 在软件菜单栏选择 工具 -> 选项 -> 高级选项
    • 在“配音调整”区域,找到“同时配音字幕数”或“并发配音线程数”,将其设置为 1
    • 将“配音后暂停时间/秒”适当调大,例如设为 35
    • 应用设置并重启软件,然后再次尝试试听。
  4. 使用网络代理(如果网络环境受限)

    • 如果您在中国大陆,可能需要设置代理才能稳定访问 Edge-TTS 服务。
    • 在主界面第5行“网络代理”处,填入可用的代理地址(格式如 http://127.0.0.1:10809)。
  5. 临时更换配音渠道

    • 如果以上步骤均无效,可以暂时切换到其他免费的配音渠道进行试听,例如 VITS-cnenpiper-tts,以确认是否是 Edge-TTS 服务端暂时性问题。

如果问题依旧,请提供 D:/klpy/win-videotrans-v3.83/logs/ 目录下的最新日志文件,以便进一步分析。

请查看更多参考文档:

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