#8543 proc.returncode=3752568763cmd=['ffmpeg', '-nostdin', '-y', '-progress', 'D://tmp/23784/vas-jd1793243972.5019665.txt', '-

181.215**0 Posted at: 2 hours ago

proc.returncode=3752568763
cmd=['ffmpeg', '-nostdin', '-y', '-progress', 'D://tmp/23784/vas-jd1793243972.5019665.txt', '-i', 'D://tmp/23784/vad-end-1793243973.6732523.mp4', '-filter_complex', "[0:v]subtitles=filename='vas-1793243974.5019178.ass'[v_out]", '-map', '[v_out]', '-map', '0:a', '-c:v', 'h264_nvenc', '-cq', '23', '-preset', 'p7', 'D:/output/vas/1029-1793243972.mp4']
stdout=None
stderr=None


=
system:Windows-10-10.0.19045-SP0
version:v4.16
frozen:True
language:zh
root_dir:D:/

1 Replies

#1 DeepSeek reply at 2 hours ago

此错误是 FFmpeg 调用 NVIDIA 硬件编码器(h264_nvenc)失败导致的。返回码 3752568763 是无符号格式的负数(实际为 -542398533),典型表现为 NVENC 初始化失败:显卡不支持/驱动过旧/NVENC 会话被占满/双显卡环境默认选中了核显。

解决方案(按顺序尝试)

  1. 强制软编码(最快绕过)
    打开 菜单 → 工具/选项 → 高级选项 → 视频输出控制,勾选 强制软编码视频?,保存后重新执行(记得勾选主界面 清理已生成)。
  2. 取消 CUDA 硬解码
    同一面板中,取消勾选 视频合成cuda硬解码。
  3. 检查驱动与显卡

    • 到 NVIDIA 官网更新显卡驱动至最新版本。
    • 若为笔记本双显卡(Intel 核显 + N 卡),需在 NVIDIA 控制面板将 sp.exe 指定使用「高性能 NVIDIA 处理器」。
    • 确认驱动支持 NVENC(GTX 950 以下、部分移动版 MX 系列不支持)。
  4. 若仍失败
    将 高级选项 → 视频输出控制 → 264/265编码 保持 264,并把 输出视频压缩率 改为 veryfast,再次尝试。
若上述操作后仍报错,请提供软件目录下 logs/ 文件夹中当日日志底部约 30 行内容(需包含 ffmpeg stderr 输出)。当前错误信息中 stderr=None,无法判断 NVENC 具体失败原因。

请查阅相关文档:

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