#5911 {'code': 7, 'msg':

3.35* Posted at: 1 hour ago

{'code': 7, 'msg': "400 Bad Request: The browser (or proxy) sent a request that this server could not understand. ('audio',)"}:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 207, in run
File "videotrans\tts\_base.py", line 133, in run
videotrans.configure.excepts.DubbingSrtError: {'code': 7, 'msg': "400 Bad Request: The browser (or proxy) sent a request that this server could not understand. ('audio',)"}


=
system:Windows-10-10.0.26100-SP0
version:v4.05
frozen:True
language:zh
root_dir:D:/baiduyunDownload/win-pyvideotrans-v4.05-0711

1 Replies

这是由于 TTS 配音请求被服务器拒绝(400 Bad Request),通常与代理配置或请求参数格式异常有关。

解决方法:

  1. 检查主界面「网络代理」文本框:如果填写了代理地址,清空并保存,重新执行任务。
  2. 确认使用的配音渠道:如果是 Edge-TTS,进入「高级选项 → 字幕配音调整」,将「EdgeTTS 配音渠道配音并发数」设为 1,并设置「配音后暂停秒」为 5-10 秒。
  3. 升级软件至 v4.06 或更高版本:此问题可能在旧版中已修复。

如果以上无效,请提供软件安装目录下 logs/ 文件夹中最新的日志文件底部约30行内容,以便进一步分析。

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

Dondate via PayPal

Related resource