#5634 videotrans.configure.excepts.DubbingSrtError: Connection was closed by the remote host. Error code: 1007. Error details:

149.102* Posted at: 1 day ago

Connection was closed by the remote host. Error code: 1007. Error details: Unsupported voice None. USP state: TurnStarted. Received audio size: 0 bytes.:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 19, in run
File "videotrans\tts\__init__.py", line 207, in run
File "videotrans\tts\_base.py", line 133, in run
videotrans.configure.excepts.DubbingSrtError: Connection was closed by the remote host. Error code: 1007. Error details: Unsupported voice None. USP state: TurnStarted. Received audio size: 0 bytes.


=
system:Windows-10-10.0.26200-SP0
version:v4.04
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v4.04-0704

1 Replies

这是因为在配音渠道中未选择有效的配音角色,导致系统收到“Unsupported voice None”错误。

解决步骤:

  1. 确认目标语言:在主界面“翻译视频和音频”中,确保“Target Lang”(目标语言)已正确选择。
  2. 选择配音角色:在“Dubbing Channel”行,点击“Select Voice”下拉框,必须选择一个具体的配音角色(不能留空或显示“None”)。
  3. 检查渠道配置:如果使用了需要 API Key 的配音渠道(如 Azure、OpenAI TTS),请确认密钥已填写且余额充足。
  4. 若使用“clone”角色:需确保已准备参考音频并正确放置在 f5-tts/ 目录下(参考知识库第 5.2 节)。

如果问题仍然存在,请尝试更换一个免费配音渠道(如 Edge-TTS)并选择对应角色,以验证是否为渠道特定问题。

请查阅相关文档:

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: ko-fi.com/jianchang512

Related resource