#8060 配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud

123.138**4 Posted at: 1 hour ago

配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=7f34f2a4861248f4a11b4111d8f21a0a&Sec-MS-GEC=1BEF1C630CEAB0E5D3EFD7A0A22F5B74EEBAC3B05BB8B0174011F7A1923FED24&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'ru-RU-SvetlanaNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 108, 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 122, in run
File "videotrans\tts\_base.py", line 95, 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 235, in _exec
videotrans.configure.excepts.DubbingSrtError: 配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=7f34f2a4861248f4a11b4111d8f21a0a&Sec-MS-GEC=1BEF1C630CEAB0E5D3EFD7A0A22F5B74EEBAC3B05BB8B0174011F7A1923FED24&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'ru-RU-SvetlanaNeural'}

trk=[TransCreate]: uuid='e18eb08dcd', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/84988/Desktop/20241113_e85fdd3ec27c9dfe_492975285668_197176368746227_published_mp4_264_hd_taobao.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/_video_out/20241113_e85fdd3ec27c9dfe_492975285668_197176368746227_published_mp4_264_hd_taobao-mp4,
临时文件夹: D:/视频英文翻译工具/新/tmp/28836/e18eb08dcd
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 简体中文,
翻译渠道:DeepSeek,原始语言:简体中文,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入硬字幕 , precent=15, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
trk.cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/84988/Desktop/20241113_e85fdd3ec27c9dfe_492975285668_197176368746227_published_mp4_264_hd_taobao.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/_video_out/20241113_e85fdd3ec27c9dfe_492975285668_197176368746227_published_mp4_264_hd_taobao-mp4,
临时文件夹: D:/视频英文翻译工具/新/tmp/28836/e18eb08dcd
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 简体中文,
翻译渠道:DeepSeek,原始语言:简体中文,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入硬字幕
video_duration_ms=51400


=
system:Windows-10-10.0.26300-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:D:/视频英文翻译工具/新

1 Replies

#1 DeepSeek reply at 1 hour ago

这是微软 Edge-TTS 免费接口的验证逻辑变更导致的 403 错误,并不是您的配音参数或网络代理配置问题。该问题已在 v4.16 版本中修复。

解决方案

  1. 升级到 v4.16:请下载最新完整包或补丁包覆盖升级,重点更新修复了 Edge-TTS 的 403 报错。

  2. 暂不能升级时的临时替代方案:

    • 更换其他配音渠道,如 gTTS、Qwen3-TTS、本地 OmniVoice/F5-TTS 等。
    • 如果仍坚持使用 Edge-TTS,可尝试切换 VPN 不同国家/洲的节点,目前部分节点仍可临时使用。
  3. 如果升级后仍偶发 403:可在 菜单->工具->高级选项->字幕配音调整 中将 Edge-TTS 并发数调低为 1,并将“配音后暂停秒”设为 5-10,降低限流风险。

请查阅相关文档:

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