#4201 Application started at 2026-04-22 09:32:21 First searching GPU...[DEBUG] 返回缓存的编解码器 Windows-264: h264_nvenc[DEBUG] 返回缓存的编

240e:39e* Posted at: 18 hours ago 👁19


Application started at 2026-04-22 09:32:21

First searching GPU...
[DEBUG] 返回缓存的编解码器 Windows-264: h264_nvenc
[DEBUG] 返回缓存的编解码器 Windows-265: hevc_nvenc
NVIDIA_GPU_NUMS=1
Found 1 GPUs, cost=2s
start workers...
process_max_gpu=1
multi_gpus=False
Concurrent task_nums=1
process_max=1
start 9 jobs
ended workers
[DEBUG] 最终配置信息:self.cfg=TaskCfgVTT(is_cuda=True, uuid='bc272c369c', cache_folder='D:/sp/tmp/12372/bc272c369c', target_dir='D:/Downloads/_video_out/crvr00373.part2_8K-mp4', source_language='日语', source_language_code='ja', source_sub='D:/Downloads/_video_out/crvr00373.part2_8K-mp4/ja.srt', source_wav='D:/sp/tmp/12372/bc272c369c/ja.wav', source_wav_output='D:/Downloads/_video_out/crvr00373.part2_8K-mp4/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='D:/Downloads/_video_out/crvr00373.part2_8K-mp4/zh-cn.srt', target_wav='D:/sp/tmp/12372/bc272c369c/target.wav', target_wav_output='D:/Downloads/_video_out/crvr00373.part2_8K-mp4/zh-cn.m4a',
......
ed with url: / (Caused by ConnectTimeoutError(, 'Connection to translate.google.com timed out. (connect timeout=5)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\translator\__init__.py", line 910, in _check_google
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失败,使用微软翻译
[WARNING] ==未设置代理并且检测google失败,使用微软翻译
self.trans_thread=10,self.aisendsrt=False,self.translate_type=0
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Mircosoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Mircosoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Mircosoft]返回:response=
[INFO] Starting call to 'videotrans.translator._microsoft.Microsoft._item_task', this is the 1st time calling it.
[DEBUG] [Mircosoft]返回:response=
[DEBUG] 以普通文本行按行翻译:原始行数:36,翻译后行数:36
[DEBUG] [字幕翻译]渠道0,:共耗时:7s
[DEBUG] 本次EdgeTTS配音:重试延迟:5,出错将重试:4,并发:10
[DEBUG] 执行流程:所有配音任务结束。
[DEBUG] 开始执行事件循环的关闭流程...
[DEBUG] 事件循环已关闭。
[DEBUG] [字幕配音]渠道0:共耗时:55s
[ERROR] ffprobe command failed: [mov,mp4,m4a,3gp,3g2,mj2 @ 0000024c324ee540] moov atom not found D:/sp/tmp/12372/bc272c369c/novoice.mp4: Invalid data found when processing input
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 265, in _run_ffprobe_internal
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'error', '-select_streams', 'v:0', '-show_entries', 'stream=duration', '-of', 'default=noprint_wrappers=1:nokey=1', 'D:/sp/tmp/12372/bc272c369c/novoice.mp4']' returned non-zero exit status 1.
[ERROR] ffprobe command failed: [mov,mp4,m4a,3gp,3g2,mj2 @ 0000024c324ee540] moov atom not found D:/sp/tmp/12372/bc272c369c/novoice.mp4: Invalid data found when processing input
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 265, in _run_ffprobe_internal
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'error', '-select_streams', 'v:0', '-show_entries', 'stream=duration', '-of', 'default=noprint_wrappers=1:nokey=1', 'D:/sp/tmp/12372/bc272c369c/novoice.mp4']' returned non-zero exit status 1.
[ERROR] ffprobe command failed: [mov,mp4,m4a,3gp,3g2,mj2 @ 000001429c98d2c0] moov atom not found D:/sp/tmp/12372/bc272c369c/novoice.mp4: Invalid data found when processing input
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 265, in _run_ffprobe_internal
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', 'D:/sp/tmp/12372/bc272c369c/novoice.mp4']' returned non-zero exit status 1.
[ERROR] ffprobe command failed: [mov,mp4,m4a,3gp,3g2,mj2 @ 000001429c98d2c0] moov atom not found D:/sp/tmp/12372/bc272c369c/novoice.mp4: Invalid data found when processing input
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 265, in _run_ffprobe_internal
File "subprocess.py", line 526, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', 'D:/sp/tmp/12372/bc272c369c/novoice.mp4']' returned non-zero exit status 1.

1 Replies

日志显示在处理高分辨率视频(8192x4096)时,硬件编码器(h264_nvenc)因宽度超过4096像素而失败,导致无法生成无声视频文件(novoice.mp4),最终在合成阶段因缺少有效视频文件而报错。

解决方案:

  1. 禁用视频硬件编码:进入软件菜单栏的 工具/选项 -> 高级选项,在【视频输出控制】部分,勾选 强制软编码视频?。这将强制使用CPU进行视频编码,绕过NVIDIA编码器的分辨率限制。
  2. 检查视频慢速选项:确保主界面未勾选 视频慢速 功能。该功能会切割视频片段,在处理超高分辨率视频时极易出错且产生巨大临时文件。
  3. 后续处理:完成上述设置后,重新开始翻译任务。由于视频分辨率极高,处理时间会较长,请耐心等待。

请注意:处理8K视频对硬件性能要求极高,且输出文件体积会非常大。如果对输出质量有更高要求,可参考知识库中关于调整视频输出质量、压缩率和编码格式的说明。

请查阅相关文档:

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.

Related resource