#5124 videotrans.util.help_ffmpeg._FFprobeInternalError: Command not found: ffmpeg. Ensure FFmpeg is installed and in your PAT

218.201* Posted at: 3 hours ago

Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 265, in _run_ffprobe_internal
File "subprocess.py", line 503, in run
File "subprocess.py", line 971, in init
File "subprocess.py", line 1456, in _execute_child
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

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

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 42, in run
File "videotrans\task\trans_create.py", line 173, in prepare
File "videotrans\util\help_ffmpeg.py", line 318, in get_video_info
File "videotrans\util\help_ffmpeg.py", line 290, in runffprobe
File "videotrans\util\help_ffmpeg.py", line 278, in _run_ffprobe_internal
videotrans.util.help_ffmpeg._FFprobeInternalError: Command not found: ffmpeg. Ensure FFmpeg is installed and in your PATH.


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:C:/Users/86181/Desktop

1 Replies

这是由于软件运行时未找到 ffmpeg 组件导致的。Windows 预打包版应自带 ffmpeg,出现此错误通常与解压方式或文件路径有关。

解决方案:

  1. 确认解压方式:请从官网重新下载 完整版压缩包.7z),必须解压到非系统盘且路径不含中文、空格或特殊符号的目录(如 D:\pyVideoTrans),不要右键 → 解压到当前文件夹,建议使用 7-Zip 或 Bandizip 全路径解压。
  2. 检查 ffmpeg/ 目录:解压后确认软件根目录下存在 ffmpeg/ 文件夹,且内部包含 ffmpeg.exeffprobe.exe 等文件。
  3. 移动位置:如果当前解压在桌面(C:\Users\86181\Desktop),请移动到 D:\pyVideoTrans 后重新运行。

如果仍报错,请手动将 ffmpeg/ 目录路径添加到系统 PATH 环境变量,或直接使用源码部署(详见知识库 2.2 节)。

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. Dondate: ko-fi.com/jianchang512

Related resource

Similar issues already exist