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

112.97**2 Posted at: 1 hour ago

404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth语音识别阶段出错:faster-whisper(本地), 翻译字幕阶段出错: 微软(免费), 配音阶段出错: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", l
......
D:/培训视频/01 Kawasaki 操作基础 12讲(1)/01 Kawasaki 操作基础 12讲', noextname='1.工业机器人认知', basename='1.工业机器人认知.mp4', ext='mp4', target_dir='C:/Users/xinwu2.lin/Desktop/川崎机器人培训/测试/1.工业机器人认知-mp4', cache_folder='C:/Users/xinwu2.lin/Desktop/win-pyvideotrans-v4.01-0602/tmp/31704/a0c59be412', is_cuda=True, source_language='简体中文', source_language_code='zh-cn', source_sub='C:/Users/xinwu2.lin/Desktop/川崎机器人培训/测试/1.工业机器人认知-mp4/zh-cn.srt', source_wav='C:/Users/xinwu2.lin/Desktop/win-pyvideotrans-v4.01-0602/tmp/31704/a0c59be412/zh-cn.wav', source_wav_output='C:/Users/xinwu2.lin/Desktop/川崎机器人培训/测试/1.工业机器人认知-mp4/zh-cn.m4a', target_language='西班牙语', target_language_code='es', target_sub='C:/Users/xinwu2.lin/Desktop/川崎机器人培训/测试/1.工业机器人认知-mp4/es.srt', target_wav='C:/Users/xinwu2.lin/Desktop/win-pyvideotrans-v4.01-0602/tmp/31704/a0c59be412/target.wav', target_wav_output='C:/Users/xinwu2.lin/Desktop/川崎机器人培训/测试/1.工业机器人认知-mp4/es.m4a', translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Yolanda(Female/NI)', 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='C:/Users/xinwu2.lin/Desktop/川崎机器人培训/测试/1.工业机器人认知-mp4/1.工业机器人认知.mp4', novoice_mp4='C:/Users/xinwu2.lin/Desktop/win-pyvideotrans-v4.01-0602/tmp/31704/a0c59be412/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='C:/Users/xinwu2.lin/Desktop/win-pyvideotrans-v4.01-0602/tmp/31704/a0c59be412/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26200-SP0
version:v4.01
frozen:True
language:zh
root_dir:C:/Users/xinwu2.lin/Desktop/win-pyvideotrans-v4.01-0602

1 Replies

#1 DeepSeek reply at 1 hour ago

微软免费翻译接口已失效导致404错误。

你的版本 v4.01 过旧,该接口在后续版本中已修复。

解决方案:

  1. 升级到最新版本 v4.14,下载补丁包覆盖到软件目录(注意:软件名、解压路径不要含中文/空格,你当前路径 win-pyvideotrans-v4.01-0602 没问题)
  2. 更换翻译渠道为更稳定的 AI 渠道,推荐 DeepSeek:

    • 访问 https://platform.deepseek.com/ 登录充值(可充1元)
    • 获取 API Key,填入 菜单--翻译设置--DeepSeek
    • 翻译渠道下拉选择 DeepSeek
  3. 或使用完全离线的 M2M100(内置) 本地翻译(首次使用会下载模型)

补充说明:你日志中三个渠道都报错,实际只有翻译渠道报错。

Edge-TTS 若也偶发失败,可在 高级选项--字幕配音调整 将并发数设为 1、暂停秒设为 5-10。

请查阅相关文档:

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