#3696 TaskCfgVTT(is_cuda=True, uuid='397335f0d1', cache_folder='G:/VideoTrans/tmp/37348/397335f0d1', target_dir='D:/Bl tuatrio

113.88* Posted at: 2 hours ago 👁3

配音阶段出错 [Index TTS(本地)] 配音全部失败 None
Traceback (most recent call last):
File "videotrans\task\job.py", line 213, in run
File "videotrans\task\trans_create.py", line 702, in dubbing
File "videotrans\task\trans_create.py", line 979, in _tts
File "videotrans\tts\__init__.py", line 358, in run
File "videotrans\tts\_base.py", line 190, in run
RuntimeError: 配音全部失败 None
TaskCfgVTT(is_cuda=True, uuid='397335f0d1', cache_folder='G:/VideoTrans/tmp/37348/397335f0d1', target_dir='D:/Bl tuatriol/driver/driver01/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p-mp4', source_language='英语', source_language_code='en', source_sub='D:/Bl tuatriol/driver/driver01/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p-mp4/en.srt', source_wav='G:/VideoTrans/tmp/37348/397335f0d1/remove_noise.wav', source_wav_output='D:/Bl tuatriol/driver/driver01/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='D:/Bl tuatriol/driver/driver01/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p-mp4/zh-cn.srt', target_wav='G:/VideoTrans/tmp/37348/397335f0d1/target.wav', target_wav_output='D:/Bl tuatriol/driver/driver01/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p-mp4/zh-cn.m4a', name='D:/Bl tuatriol/driver/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p.mp4', noextname='007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p', basename='007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p.mp4', ext='mp4', dirname='D:/Bl tuatriol/driver', shound_del_name=None, translate_type=0, tts_type=10, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='001.wav', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=True, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/Bl tuatriol/driver/driver01/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p-mp4/007_Driver-Rotation-Issues-Blender-Drivers-M_Media_pqf3cOkWVhQ_001_1080p.mp4', novoice_mp4='G:/VideoTrans/tmp/37348/397335f0d1/novoice.mp4', is_separate=False, instrument=None, vocal=None, back_audio='', clear_cache=False, background_music=None, subtitle_type=1, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:G:/VideoTrans

1 Replies

这是由于 Index TTS 本地服务连接失败或服务未正确运行导致的。

  1. 确认 Index TTS 服务已启动:Index TTS 需要独立部署并启动其 API 服务。请确保您已按照教程部署了 Index TTS,并且其 WebUI 或 API 服务正在运行(通常地址为 http://127.0.0.1:7860 或类似)。
  2. 检查软件内配置:在 pyVideoTrans 的 菜单 -> 翻译设置 -> Index TTS 设置面板中,确认 API 地址与您本地运行的 Index TTS 服务地址完全一致。
  3. 检查服务状态:打开浏览器,访问您配置的 Index TTS API 地址(例如 http://127.0.0.1:7860),查看服务是否能够正常响应。
  4. 查看 Index TTS 日志:检查 Index TTS 服务启动终端的输出日志,确认是否有报错信息,例如模型加载失败或端口冲突。
  5. 尝试其他配音角色:如果当前选择的配音角色 001.wav 是克隆角色,请确保参考音频符合要求(时长3-10秒)。可以暂时切换为其他非克隆的预设角色进行测试。
  6. 调整高级设置:如果您使用了克隆角色,请确保在 菜单 -> 工具 -> 高级选项 -> 语音识别参数 中,已将 最短语音持续毫秒 设置为 3000,最长语音持续秒数 设置为 10,并勾选 Whisper预分割音频合并过短字幕到相邻,以确保字幕片段时长适合克隆。

请查阅相关文档:

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