#8036 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: Goo

240e**bd07 Posted at: 1 hour ago

404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: Google(免费), 配音阶段出错:Edge-TTS(免费)
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 69, in run
File "videotrans\translator\_base.py", line 98, 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 68, in run
File "videotrans\task\trans_create.py", line 585, in trans
File "videotrans\translator\__init__.py", line 858, in run
File "videotrans\translator\_base.py", line 75, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py
......
煮锅1.8L多功能学生宿舍寝室煮面锅电锅蒸煮一体小锅自煮', noextname='视频-1', basename='视频-1.mp4', ext='mp4', target_dir='D:/素材库/马来-厨具/小黄鸭电锅/小黄鸭电煮锅1.8L多功能学生宿舍寝室煮面锅电锅蒸煮一体小锅自煮/视频/视频-1-mp4', cache_folder='D:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/19140/d1f2fefaf4', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='D:/素材库/马来-厨具/小黄鸭电锅/小黄鸭电煮锅1.8L多功能学生宿舍寝室煮面锅电锅蒸煮一体小锅自煮/视频/视频-1-mp4/zh-cn.srt', source_wav='D:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/19140/d1f2fefaf4/zh-cn.wav', source_wav_output='D:/素材库/马来-厨具/小黄鸭电锅/小黄鸭电煮锅1.8L多功能学生宿舍寝室煮面锅电锅蒸煮一体小锅自煮/视频/视频-1-mp4/zh-cn.m4a', target_language='马来西亚语', target_language_code='ms', target_sub='D:/素材库/马来-厨具/小黄鸭电锅/小黄鸭电煮锅1.8L多功能学生宿舍寝室煮面锅电锅蒸煮一体小锅自煮/视频/视频-1-mp4/ms.srt', target_wav='D:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/19140/d1f2fefaf4/target.wav', target_wav_output='D:/素材库/马来-厨具/小黄鸭电锅/小黄鸭电煮锅1.8L多功能学生宿舍寝室煮面锅电锅蒸煮一体小锅自煮/视频/视频-1-mp4/ms.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Osman(Male/MY)', voice_autorate=True, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='D:/素材库/马来-厨具/小黄鸭电锅/小黄鸭电煮锅1.8L多功能学生宿舍寝室煮面锅电锅蒸煮一体小锅自煮/视频/视频-1-mp4/视频-1.mp4', novoice_mp4='D:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/19140/d1f2fefaf4/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='D:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602/tmp/19140/d1f2fefaf4/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=True, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.19045-SP0
version:v4.01
frozen:True
language:zh
root_dir:D:/BaiduNetdiskDownload/win-pyvideotrans-v4.01-0602

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:这是 Microsoft 免费翻译 API 地址变更导致的失败。即使您在界面选择了 Google(免费),当 Google 请求失败时软件会自动切换至 Microsoft 翻译,而您的软件版本 v4.01 仍在使用已被微软废弃的旧地址 https://edge.microsoft.com/translate/auth,因此返回 404。

解决方案:

  1. 升级软件至最新 v4.15——v4.09 起已适配微软新翻译 API,旧版本无法通过修改配置绕过。

    • 下载完整包(约2.7GB)或补丁包(约360MB)覆盖到现有目录,注意保留 videotrans/ 下的 cfg.json、params.json 等配置文件。
    • 下载地址:https://pyvideotrans.com/downpackage
  2. 暂时改用其他翻译渠道(若暂不方便升级):

    • DeepSeek 翻译(推荐,质量好,需在 https://platform.deepseek.com 获取 API key)
    • M2M100 本地离线翻译(首次使用需下载模型,模型位置 软件目录/models/m2m100_12b)
  3. 若同时遇到 Edge-TTS 配音报错(403 等),那是因为微软改变了免费接口验证逻辑,需升级到 v4.15 并等待后续 v4.16 修复,期间可改用其他配音渠道。

请查阅相关文档:

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