#3160 videotrans.util.help_ffmpeg._FFprobeInternalError: Unknown error (empty stderr)

111.14* Posted at: 14 hours ago 👁10

预处理阶段出错:操作失败,请稍后重试('Unknown error (empty stderr)',):
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 487, in _run_ffprobe_internal
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', 'E:/f.mp4']' returned non-zero exit status 3221225501.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\job.py", line 63, in run
File "videotrans\task\trans_create.py", line 205, in prepare
File "videotrans\util\help_ffmpeg.py", line 544, in get_video_info
File "videotrans\util\help_ffmpeg.py", line 517, in runffprobe
File "videotrans\util\help_ffmpeg.py", line 504, in _run_ffprobe_internal
videotrans.util.help_ffmpeg._FFprobeInternalError: Unknown error (empty stderr)


=
system:Windows-10-10.0.22000-SP0
version:v3.82
frozen:True
language:zh
root_dir:E:/win-videotrans-v3.82

1 Replies

这是由于 FFmpeg/FFprobe 无法处理视频文件或路径问题导致的。

  1. 检查视频文件路径:确保视频文件路径 E:/f.mp4 不存在中文、空格或特殊符号。建议将视频文件移动到纯英文路径下(例如 E:\video\f.mp4)。
  2. 检查视频文件完整性:确认 E:/f.mp4 文件没有损坏,可以尝试用其他播放器(如 VLC)正常打开。
  3. 检查 FFmpeg 组件

    • 如果你是 Windows 预打包版用户,请确保软件是从 sp.exe 启动,且 ffmpeg/ 目录完整存在于软件根目录下。
    • 尝试在软件根目录下打开命令行,输入 .\ffmpeg\ffprobe.exe -v quiet -print_format json -show_format -show_streams "E:/f.mp4" 手动测试 FFprobe 命令是否能成功获取视频信息。
  4. 以管理员身份运行:如果视频文件位于受保护的系统目录,尝试以管理员身份运行 sp.exe
  5. 更新软件版本:你当前使用的是 v3.82 版本,建议更新到最新版本(如 v3.95),可能已修复相关兼容性问题。

请查阅相关文档:

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