#4458 RuntimeError: {'message': 'tts failed', 'Exception': '66.wav not exists'}

36.161**2 Posted at: 4 months ago

{'message': 'tts failed', 'Exception': '66.wav not exists'}:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 388, in run
File "videotrans\tts\_base.py", line 181, in run
RuntimeError: {'message': 'tts failed', 'Exception': '66.wav not exists'}


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.99-428

1 Replies

#1 DeepSeek reply at 4 months ago

这是由于配音渠道(TTS)生成音频文件失败,导致预期的 66.wav 文件不存在。

排查与解决步骤:

  1. 调整 Edge-TTS 并发与频率 (最常见原因):

    • 如果是使用的免费 Edge-TTS,微软接口可能会因请求过快而触发限流,导致生成静音或直接失败。

    • 进入 菜单 -> 工具/选项 -> 高级选项,找到【字幕配音调整】区域。

    • 将 并发配音线程数 设为 1。

    • 将 配音后暂停秒数 设为 5 或 10 秒。

  2. 检查文件路径与清理旧文件:

    • 确保原始视频文件名较短,且存放路径不包含特殊符号或过长(如直接从网页下载的长标题、含表情符号的视频,极易导致中途失败)。

    • 在主界面勾选 清理已生成,然后重试,排除旧缓存文件干扰。

  3. 切换 TTS 渠道测试:

    • 为排除单渠道故障,建议暂时更换一个配音渠道(如尝试 Azure TTS、OpenAI TTS 或本地 F5-TTS),观察是否出现同样的报错。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource