#7203 No audio file was generated during the listening test.:{'text': 'Hello, my dear friend, I hope every day of yours is won

144.225**3 Posted at: 1 hour ago

No audio file was generated during the listening test.:
{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate': '+0%', 'role': 'zh_female_cn.wav', 'filename': 'C:\Users\Administrator\AppData\Local\Temp/pyvideotrans/1-1789181180.100122.wav', 'tts_type': 1, 'language': 'en', 'volume': '+0%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 230, in run
File "videotrans\tts\_base.py", line 124, in run
videotrans.configure.excepts.DubbingSrtError: No audio file was generated during the listening test.


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:F:/VideoTrans

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:你选择的配音渠道(tts_type: 1)在试听时未能生成音频文件,导致 DubbingSrtError。同时你使用了参考音频 zh_female_cn.wav(中文音色)去配音英文文本,这本身就是矛盾的——中文克隆音色无法正确合成英文,极易导致该渠道合成失败。

请按以下步骤排查:

  1. 语言与音色匹配:文本是英文(language: en),但你选的参考音频是 zh_female_cn.wav(中文女声)。请换用英文音色,或改用 Edge-TTS 渠道选择 en-US-xxx 音色测试。若坚持用克隆音色配英文,需确认该TTS渠道是否支持跨语言克隆。
  2. 确认渠道是否为自定义TTS API(tts_type: 1):若你使用的是 自定义TTS API 或某个本地部署渠道,请确认:

    • 该本地服务/WebUI 已正常启动,且地址端口填写正确;
    • 参考音频文件真实存在于 f5-tts/ 目录中(zh_female_cn.wav);
    • 若为 Gradio 接入渠道,gradio_api.txt 参数填写正确,且该模型确实支持声音克隆。
  3. 换用默认免费渠道验证:将配音渠道切换为 Edge-TTS(免费),选择任意英文音色,点击试听。若能正常出声,说明是原渠道(tts_type:1)配置或服务问题,而非软件本身故障。
  4. 查看日志:若上述操作仍失败,请打开软件安装目录 logs/ 文件夹,找到对应日期的最新日志,复制末尾约30行报错信息,以便进一步定位。

请查阅相关文档:

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