#7691 配音全部失败 :Noneall_voices={'en-US-SteffanNeural'}

23.177**9 Posted at: 1 hour ago

配音全部失败 :None
all_voices={'en-US-SteffanNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 119, in run
File "videotrans\tts\_base.py", line 93, in run
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\tts\_edgetts.py", line 228, in _exec
videotrans.configure.excepts.DubbingSrtError: 配音全部失败 :None
all_voices={'en-US-SteffanNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/24666/Desktop/9.29动漫/video-1.mp4,
输出结果保存到文件夹: C:/Users/24666/Desktop/9.29动漫/_video_out/video-1-mp4,
临时文件夹: D:/ABC/tmp/16024/96938fc217
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Steffan(Male/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕
代理地址:6d8892677f2e41128d4cf559ba70837d
video_duration_ms=105000


=
system:Windows-10-10.0.22000-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/ABC

1 Replies

#1 DeepSeek reply at 1 hour ago

代理地址填写错误导致 Edge-TTS 无法联网请求,从而全部配音失败。

你填写的 6d8892677f2e41128d4cf559ba70837d 不是合法的代理地址格式,正确格式应为 http://127.0.0.1:端口号 或 socks5://127.0.0.1:端口号。

无效代理会导致所有网络请求直接失败。

解决方案

  1. 清空主界面 对齐控制 行右侧的网络代理文本框(如果不需要代理),或填写正确的代理地址如 http://127.0.0.1:10808
  2. 保存后,勾选 清理已生成 重试
  3. 如果频繁失败,进入 菜单 → 工具/选项 → 高级选项 → 字幕配音调整,将 EdgeTTS配音渠道配音并发数 设为 1,配音后暂停秒 设为 5~10

补充:Edge-TTS 使用代理时可能报 "Please turn off the clear proxy and try again",可在软件根目录创建空文件 edgetts-noproxy.txt 强制绕过代理。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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