#6733 ChatterBox-TTS dubbing errorTraceback (most recent call last):

2804:**:8bfe Posted at: 1 hour ago

ChatterBox-TTS dubbing error
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 106, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 100, in _tts
File "videotrans\tts\__init__.py", line 228, in run
File "videotrans\tts\_base.py", line 105, in run
File "videotrans\tts\_chatterbox.py", line 95, in _exec
videotrans.configure.excepts.DubbingSrtError: ChatterBox-TTS dubbing error

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/code/dub/input/if-arthur-is-dressed-exactly-like-dutch-he-wont-approve-of-it.mp3,
输出结果保存到文件夹: C:/code/dub/input/_video_out/if-arthur-is-dressed-exactly-like-dutch-he-wont-approve-of-it-mp3,
临时文件夹: C:/Users/jonat/Downloads/pyvideo/tmp/1380/d1c77f29e8
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:openai-whisper(Built-in), large-v3-turbo, 发音语言: English, 断句方式:默认断句
TranslateSrt:Hy-MT2-1.8B(Built-in),原始语言:English,目标语言:Portuguese, 已选 SendSRT
TTS Service:ChatterBox(Built-in), 角色:clone, 配音语言:Portuguese, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: Hard Subtitles
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量1.3, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件


=
system:Windows-10-10.0.26100-SP0
version:v4.09
frozen:True
language:en
root_dir:C:/Users/jonat/Downloads/pyvideo

1 Replies

#1 DeepSeek reply at 1 hour ago

The traceback only exposes a generic ChatterBox-TTS dubbing error; the actual root cause is buried inside the ChatterBox execution step, so the current log snippet is not sufficient to confirm the failure point.

Please provide the latest full log content from the logs/ folder (YYYYMMDD.log, copy the last ~30 lines from the bottom) so we can identify the underlying error. While waiting, you can check these common causes:

  1. Confirm the ChatterBox model is fully downloaded locally to 软件目录/models/models--ResembleAI--chatterbox; incomplete models cause silent failures.
  2. Since you are using the clone voice role, verify the reference audio extracted from the source is valid and clean. If this fails, try selecting a standard ChatterBox voice (non-clone) to isolate the issue.
  3. Confirm your source audio actually contains speech and that the separated vocal file is not empty.
  4. For clone mode, it is recommended to enable "Whisper预分割音频" and set the minimum speech duration to 3000 ms / maximum speech duration to 10 s in 高级选项 → 语音识别参数.

If the problem persists after these checks, attach the latest log file and the software version number (v4.09) for further analysis.

Thinking...
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.

Dondate via ko-fi.com

Related resource