#4796 RuntimeError: {'message': 'tts failed', 'Exception': 'mimi.wav not exists'}

240e:324* Posted at: 15 hours ago

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


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

1 Replies

原因:你使用的TTS配音渠道(如F5-TTS/CosyVoice等)启用了声音克隆功能(角色为clone),但软件在 D:/pyVideoTrans/f5-tts/ 目录下找不到名为 mimi.wav 的参考音频文件。

解决方案

  1. 将你的参考音频(.wav格式,时长3~10秒)放入软件根目录下的 f5-tts/ 文件夹中。
  2. 确保文件名与你在软件界面填写的名称完全一致(含后缀,例如 mimi.wav)。
  3. 重新执行配音任务。

请查阅相关文档:

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