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

240e:**:a247 Posted at: 2 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 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]当前工作模式: 翻译视频或音频 批量翻译模式
原始输入文件名: F:/抖音/CAD图显示外部参考华测通用.MP4,
输出结果保存到文件夹: F:/抖音/英文/CAD图显示外部参考华测通用-mp4,
临时文件夹: F:/win-pyvideotrans-v4.03-0619/tmp/10588/575f4d08b8
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: tiny, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Rosa(Female/PH), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.03
frozen:True
language:zh
root_dir:F:/win-pyvideotrans-v4.03-0619

1 Replies

#1 DeepSeek reply at 2 hours ago

这是微软免费翻译接口已变更导致的报错。你当前软件版本为 v4.03,选择 Google(免费) 时若 Google 失败会自动回退到微软翻译,而微软的新版接口已不再兼容旧版 https://edge.microsoft.com/translate/auth,因此返回 404,导致翻译字幕阶段中断。

解决方案:

  1. 升级软件至 v4.09。该版本已适配微软修改后的免费翻译接口;若已经是 v4.09 仍报此错,请重新下载补丁包覆盖主程序目录。
  2. 更换为 DeepSeek 翻译(推荐)

    • 前往 https://platform.deepseek.com/ 登录充值(可自定义充值 1 元)获取 API Key;
    • 填写到 菜单 -> 翻译设置 -> DeepSeek 的密钥中;
    • 翻译渠道下拉框选择 DeepSeek
  3. 使用内置本地 M2M100 翻译

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

注意:Google 翻译在中国大陆地区需要代理才能访问;当前不配置代理时,软件自动回退到微软翻译,而微软免费接口已失效,所以才会报这个 404。

请查阅相关文档:

Thinking...
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

Related resource