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

141.11**4 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]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/紫鸟文件/Super Browser/ROJECO德国站/视频/cat toys new.mp4,
输出结果保存到文件夹: D:/产品视频/cat toys new-mp4,
临时文件夹: D:/videoTool/win-pyvideotrans-v4.03-0623_20260624_101318/tmp/41500/72ca43a6ea
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 匈牙利语, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:匈牙利语,目标语言:德语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Katja(Female/DE), 配音语言:德语, 已选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕
已选 仅输出mp4
代理地址:


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

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:微软免费翻译接口的验证地址已变更,你使用的 v4.03 内置的旧地址 https://edge.microsoft.com/translate/auth 已失效并被返回 404,与你的视频、语言、代理设置无关。

解决方案(二选一或同时执行):

  1. 升级软件(推荐,彻底修复)

    • 你的版本为 v4.03,该问题在后续版本已修复。
    • 先到官网下载 2.7GB+ 的完整包解压,再用最新补丁包整包覆盖(必须覆盖 sp.exe、_internal 文件夹、videotrans 文件夹,不能只覆盖 sp.exe)。
    • 覆盖不会丢失配置,videotrans/params.json、cfg.json 会保留。
  2. 临时绕过:更换字幕翻译渠道

    • 首选:DeepSeek(翻译质量最佳,需到 platform.deepseek.com 充值约 1 元获取 API Key,填入 菜单 → 翻译设置 → DeepSeek)。
    • 免费替代:Google(免费)(国内必须填写网络代理,如 http://127.0.0.1:7890;失败时会自动回退微软,等于无效)。
    • 完全离线:M2M100(内置),首次使用需在线下载模型。
    • 匈牙利语 → 德语属常见语种,以上渠道均支持。
  3. 若升级后仍报同样 404,说明补丁包未覆盖完整(缺 _internal 或 videotrans 目录),请整包覆盖后重试;若覆盖后出现“模块版本过低”提示,请删除旧目录中所有 __pycache__ 文件夹后再覆盖一次。

补充提醒:你当前“未选 音频加速、未选 视频慢速”,翻译成德语后配音时长大概率超出原时长,建议至少勾选 配音加速,否则即便翻译成功,成片音画对齐也会较差。

请查阅相关文档:

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