#7737 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/authTraceback (most recent call last):

113.58**6 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\only_one.py", line 67, in run
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/75918/Videos/视频/直播9.30 .mp4,
输出结果保存到文件夹: C:/Users/75918/Videos/_video_out/视频/直播9.30 -mp4,
临时文件夹: C:/Users/75918/Downloads/pyVideoTrans_4.03/tmp/21252/25db66df5f
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: tiny, 发音语言: 泰国语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:泰国语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:C:/Users/75918/Downloads/pyVideoTrans_4.03

1 Replies

#1 DeepSeek reply at 1 hour ago

微软免费翻译 API 已更改,旧版本调用的接口 https://edge.microsoft.com/translate/auth 返回 404,导致翻译失败。

同时注意两个问题:

  1. 你使用的版本 v4.03 过旧,请升级到最新版。

  2. 翻译渠道: 虽然显示 Google(免费),但报错实际来自 _microsoft.py,说明 Google 翻译失败后自动回退到了微软翻译,而微软接口已失效。

解决方案(任选其一):

方案一:升级软件(推荐)

  1. 下载最新完整包和补丁包,覆盖到 v4.03 目录,确保 sp.exe、_internal、videotrans 全部覆盖。

  2. 升级后微软翻译接口问题已修复。

方案二:改用 DeepSeek(翻译质量更佳)

  1. 访问 https://platform.deepseek.com/ 登录充值(可自定义充值1元),获取 API key。

  2. 填写到软件 菜单 → 翻译设置 → DeepSeek 的密钥中。

  3. 主界面翻译渠道下拉选择 DeepSeek。

  4. 注意 DeepSeek 支持思考模式,需在设置面板取消选中 Thinking 复选框,否则需较大的 max token。

方案三:改用本地 M2M100

  1. 翻译渠道选择 M2M100(内置),首次使用会自动在线下载模型到 软件目录/models/m2m100_12b。

补充建议:你不配音、嵌入硬字幕,视频文件名含空格(直播9.30 .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