#3740 TaskCfg(cache_folder='/Volumes/SSD/AI/pyvideotrans/tmp/73360/f0f04ded2c', target_dir='/Users/renxu/Downloads/JUQ-809/_vi

13.212* Posted at: 3 hours ago 👁8

预处理阶段出错 操作失败,请稍后重试("Command not found: 'ffprobe'. Ensure FFmpeg is installed and in your PATH.",)
Traceback (most recent call last):
File "/Volumes/SSD/AI/pyvideotrans/videotrans/util/help_ffmpeg.py", line 599, in _run_ffprobe_internal

p = subprocess.run(

File "/Users/renxu/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/subprocess.py", line 503, in run

with Popen(*popenargs, **kwargs) as process:

File "/Users/renxu/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/subprocess.py", line 971, in init

self._execute_child(args, executable, preexec_fn, close_fds,

File "/Users/renxu/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/subprocess.py", line 1863, in _execute_child

raise child_exception_type(errno_num, err_msg, err_filename)

FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'

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

Traceback (most recent call last):
File "/Volumes/SSD/AI/pyvideotrans/videotrans/task/job.py", line 67, in run

trk.prepare()

File "/Volumes/SSD/AI/pyvideotrans/videotrans/task/trans_create.py", line 203, in prepare

self.video_info = tools.get_video_info(self.cfg.name)

File "/Volumes/SSD/AI/pyvideotrans/videotrans/util/help_ffmpeg.py", line 653, in get_video_info

out_json = runffprobe(

File "/Volumes/SSD/AI/pyvideotrans/videotrans/util/help_ffmpeg.py", line 625, in runffprobe

stdout_result = _run_ffprobe_internal(cmd)

File "/Volumes/SSD/AI/pyvideotrans/videotrans/util/help_ffmpeg.py", line 612, in _run_ffprobe_internal

raise _FFprobeInternalError(msg) from e

videotrans.util.help_ffmpeg._FFprobeInternalError: Command not found: 'ffprobe'. Ensure FFmpeg is installed and in your PATH.

TaskCfg(cache_folder='/Volumes/SSD/AI/pyvideotrans/tmp/73360/f0f04ded2c', target_dir='/Users/renxu/Downloads/JUQ-809/_video_out/JUQ-809-mp4', remove_noise=False, is_separate=False, detect_language='ja', subtitle_language=None, source_language='日语', target_language='简体中文', source_language_code='ja', target_language_code='zh-cn', source_sub='/Users/renxu/Downloads/JUQ-809/_video_out/JUQ-809-mp4/ja.srt', target_sub='/Users/renxu/Downloads/JUQ-809/_video_out/JUQ-809-mp4/zh-cn.srt', source_wav='/Volumes/SSD/AI/pyvideotrans/tmp/73360/f0f04ded2c/ja.wav', source_wav_output='/Users/renxu/Downloads/JUQ-809/_video_out/JUQ-809-mp4/ja.m4a', target_wav='/Volumes/SSD/AI/pyvideotrans/tmp/73360/f0f04ded2c/target.wav', target_wav_output='/Users/renxu/Downloads/JUQ-809/_video_out/JUQ-809-mp4/zh-cn.m4a', subtitles='', novoice_mp4='/Volumes/SSD/AI/pyvideotrans/tmp/73360/f0f04ded2c/novoice.mp4', noextname='JUQ-809', shibie_audio=None, targetdir_mp4='/Users/renxu/Downloads/JUQ-809/_video_out/JUQ-809-mp4/JUQ-809.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=10, recogn_type=0, model_name='large-v3', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='/Users/renxu/Downloads/JUQ-809/JUQ-809.mp4', basename='JUQ-809.mp4', ext='mp4', dirname='/Users/renxu/Downloads/JUQ-809', shound_del_name=None, uuid='f0f04ded2c', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=5, rephrase=0, only_out_mp4=False)


=
system:macOS-26.3.1-arm64-arm-64bit
version:v3.91
frozen:False
language:zh
root_dir:/Volumes/SSD/AI/pyvideotrans
Python: 3.10.19 (main, Dec 17 2025, 20:54:19) [Clang 21.1.4 ]

1 Replies

这是由于系统未安装 FFmpeg 或 FFmpeg 未正确配置环境变量导致的。

pyVideoTrans 依赖 FFmpeg 进行音视频处理。您在 macOS 上通过源码部署,必须手动安装 FFmpeg 并确保其可执行文件(ffmpegffprobe)位于系统的 PATH 环境变量中。

解决方案:

  1. 安装 FFmpeg:打开终端,使用 Homebrew 包管理器安装。

    brew install ffmpeg
  2. 验证安装:安装完成后,在终端输入以下命令,如果显示版本信息则安装成功。

    ffmpeg -version
    ffprobe -version
  3. 重启软件:确保 FFmpeg 安装并验证成功后,重新启动 pyVideoTrans 即可。

请查阅相关文档:

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