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

2a0c**4054 Posted at: 1 hour ago

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

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

File "videotrans\translator\_base.py", line 95, 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\trans_create.py", line 608, in trans

File "videotrans\translator\__init__.py", line 860, in run

File "videotrans\translator\_base.py", line 71, 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:/Users/sheji/Downloads/blender 削土豆皮/土豆皮印度.mp4,
输出结果保存到文件夹: C:/Users/sheji/Downloads/blender 削土豆皮/土豆皮印度-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.03-0626/tmp/26420/2f4a4cc91c
未选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: tiny, 发音语言: 印度语, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:印度语,目标语言:简体中文, 已选 发送完整字幕
输出字幕格式: 单字幕
代理地址:http://127.0.0.1:7890


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

1 Replies

#1 DeepSeek reply at 1 hour ago

这是微软免费翻译接口变更导致的错误。你当前使用的是较旧的 v4.03 版本,而微软已经更改了翻译 API 地址,旧版本调用旧地址会返回 404。官方已在 v4.09 及更高版本修复了此问题。

解决方案(按推荐顺序):

  1. 升级软件(根本解决)

  2. 临时替代方案:改用 DeepSeek 翻译(效果更好,费用极低)

    • 到 https://platform.deepseek.com/ 注册并充值(支持自定义充值 1 元)
    • 获取 API Key,填入 菜单 → 翻译设置 → DeepSeek 的密钥中
    • 在字幕翻译渠道下拉中选择 DeepSeek
    • 在 DeepSeek 设置面板中可取消勾选 Thinking 关闭思考模式(思考模式需较大 max_token,否则会被截断)
  3. 其他免费替代

    • 改用 Google(免费)(国内需代理,你已配了 127.0.0.1:7890,可尝试)
    • 或使用 M2M100(内置) 本地翻译(首次使用需在线下载模型)
提示:你使用的 v4.03 版本较旧,模型下载、断句、对齐等多个环节都存在已知问题,建议整体升级到最新版本,避免后续其他报错。

请查阅相关文档:

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