#3973 videotrans.configure._except.StopRetry: D:/win-pyvideotrans-v3.98-0406/f5-tts/f5-tts\zhouxinxin.WAV is not exists

61.93* Posted at: 2 hours ago 👁8

D:/win-pyvideotrans-v3.98-0406/f5-tts/f5-tts\zhouxinxin.WAV is not exists:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 362, in run
File "videotrans\tts\_base.py", line 137, in run
File "videotrans\tts\_cosyvoice.py", line 26, in _exec
File "videotrans\tts\_base.py", line 210, in _local_mul_thread
File "videotrans\tts\_cosyvoice.py", line 157, in _item_task
File "videotrans\tts\_cosyvoice.py", line 54, in _item_task_cosyvoice2
videotrans.configure._except.StopRetry: D:/win-pyvideotrans-v3.98-0406/f5-tts/f5-tts\zhouxinxin.WAV is not exists


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.98-0406

1 Replies

该错误是由于 CosyVoice 配音渠道在尝试使用声音克隆时,找不到指定的参考音频文件导致的。

问题原因:
当你在配音角色中选择了 clone(克隆)时,软件会尝试从原始视频中提取对应时间段的音频片段作为参考音色。错误信息 D:/win-pyvideotrans-v3.98-0406/f5-tts/f5-tts\zhouxinxin.WAV is not exists 表明软件在 f5-tts 目录下寻找名为 zhouxinxin.WAV 的参考音频文件,但该文件不存在。

解决方案:

  1. 检查并确保参考音频存在:确认 D:/win-pyvideotrans-v3.98-0406/f5-tts/ 目录下是否存在 zhouxinxin.WAV 文件。如果不存在,可能是克隆过程未能正确生成参考音频。
  2. 调整语音识别参数:如果参考音频不存在,这通常与语音识别阶段生成的字幕片段时长有关。请按照以下步骤调整:

    • 打开 菜单 -> 工具 -> 高级选项
    • 【语音识别参数】 区域,进行如下设置:

      • 最短语音持续毫秒:设置为 3000
      • 最长语音持续秒数:设置为 10
      • 勾选 Whisper预分割音频?
      • 勾选 合并过短字幕到邻近
    • 这些设置是为了确保每个字幕片段对应的原始音频时长在 3-10 秒之间,这是多数声音克隆渠道(包括 CosyVoice)对参考音频的时长要求。
  3. 重新处理视频:完成上述设置后,在主界面左上角勾选 清理已生成,然后重新选择视频并开始翻译流程。

如果问题依旧,请检查:

  • 确认你使用的 CosyVoice 服务已正确启动且 API 地址配置无误。
  • 如果参考音频文件路径包含中文或特殊符号,尝试将软件和视频都移动到纯英文路径下。

请查阅相关文档:

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.

Related resource