Traceback (most recent call last):
File "videotrans\translator\_runner.py", line 20, in _check_gorm
File "requests\api.py", line 100, in head
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 665, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(, 'Connection to translate.google.com timed out. (connect timeout=5)'))
[WARNING] 未设置代理并且检测google失败,改为使用微软翻译
[DEBUG] 以纯文本行形式翻译,每次翻译10行,翻译后暂停0.0s
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator.
......
]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Microsoft]返回:response=
[DEBUG] 原始行数:204,翻译后行数:204
[DEBUG] 原始语言字幕和目标语言字幕行数一致,均为 source_len=204
[DEBUG]
==准备要嵌入的字幕:self.cfg.subtitle_type=1
self.cfg.target_sub='E:/迅雷下载/Marc Dorcel/_video_out/La Ruee Vers Laure(Amnesia) 1996 (1080P)-mkv/zh-cn.srt'=
[DEBUG] 最终确定字幕嵌入类型:1 ,目标字幕语言:zho, 字幕文件:D:/My Softwares/Pyvideotran 4.12-0913/tmp/8460/24cee989fc/end.srt
[DEBUG] [set_ass_font] 未修改硬字幕样式,跳过样式替换
[DEBUG] 返回缓存的编解码器 Windows-264: h264_nvenc
[DEBUG] 原始hw_type='h264_nvenc'
[DEBUG] 整理后hw_type='nvenc'
[DEBUG] [尝试硬件编解码执行命令]
-y -progress compose1789392149.2359533.txt -i novoice.mp4 -i will_embed.m4a -filter_complex [0:v]subtitles=filename='end.ass'[v_out] -map [v_out] -map 1:a -c:v h264_nvenc -c:a copy -cq 23 -preset p7 -movflags +faststart -shortest laste_target.mp4