#8689 翻译字幕阶段出错 [Google(免费)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/authTraceback (most rece

223.106**2 Posted at: 10 hours ago

翻译字幕阶段出错 [Google(免费)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
Traceback (most recent call last):

File "videotrans\translator\_base.py", line 68, in run

File "videotrans\translator\_base.py", line 107, in _run_text

File "tenacity\__init__.py", line 338, in wrapped_f

File "tenacity\__init__.py", line 477, in call

File "tenacity\__init__.py", line 378, in iter

File "tenacity\__init__.py", line 421, in exc_check

tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 135, in process_task

File "videotrans\task\_stage_translate.py", line 31, in trans

File "videotrans\translator\_runner.py", line 63, in run

File "videotrans\translator\_base.py", line 74, in run

File "tenacity\__init__.py", line 480, in call

File "videotrans\translator\_microsoft.py", line 26, in _item_task

File "requests\models.py", line 1026, in raise_for_status

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: C:/AI/Video ️ Mia Malkova Remy LaCroix and Adriana Chechik Share Danny Mountain s Thick Dick in Group Anal - OKXXX_3488147573/Video ️ Mia Malkova Remy LaCroix and Adriana Chechik Share Danny Mountain s Thick Dick in Group Anal - OKXXX_3488147573.mp4,
输出结果保存到文件夹: E:/提取字幕/win-pyvideotrans-v4.07/Video ️ Mia Malkova Remy LaCroix and Adriana Chechik Share Danny Mountain s Thick Dick in Group Anal - OKXXX_3488147573-mp4,
临时文件夹: E:/提取字幕/win-pyvideotrans-v4.07/tmp/32440/e8eb282617
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
已选 将生成的字幕复制到视频目录下
输出字幕格式: 单字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.07
frozen:True
language:zh
root_dir:E:/提取字幕/win-pyvideotrans-v4.07

1 Replies

#1 DeepSeek reply at 10 hours ago

这是微软免费翻译接口已失效导致的(v4.07 版本过旧,微软已改接口,Google 失败后会自动回退到微软翻译并报 404)。

解决方案(选一):

  1. 升级版本:下载最新补丁包覆盖到 v4.07 目录(注意补丁包所有文件和文件夹都要覆盖,不要只覆盖 sp.exe)。微软翻译接口在 v4.09 起已修复。
  2. 改用 DeepSeek 翻译:到 https://platform.deepseek.com/ 注册充值(可充 1 元),获取 API Key,填入 菜单 → 翻译设置 → DeepSeek 的密钥中,翻译渠道下拉选 DeepSeek,效果远好于免费渠道。
  3. 改用本地翻译:翻译渠道选 M2M100(内置),首次使用会自动在线下载模型(约数GB),完全离线可用。

另外提醒:你的视频文件名超长且含特殊符号(️、空格等),建议重命名为 video1.mp4 这类简短英文名并放在浅层目录,避免后续 FFmpeg 报错。

请查阅相关文档:

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