预处理阶段出错 Command not found: ffmpeg. Ensure FFmpeg is installed and in your PATH.
Traceback (most recent call last):
File "/private/tmp/pynini-fix/pynini-2.1.6.post1/pyvideotrans/videotrans/util/_ffprobe.py", line 20, in _run_ffprobe_internal
p = subprocess.run(
File "/Users/linbojun/.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/linbojun/.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/linbojun/.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 followin
......
1.6.post1/pyvideotrans/videotrans/task/job.py", line 78, in process_task
trk.prepare()
File "/private/tmp/pynini-fix/pynini-2.1.6.post1/pyvideotrans/videotrans/task/_stage_prepare.py", line 21, in prepare
self.video_info = get_video_info(self.cfg.name)
File "/private/tmp/pynini-fix/pynini-2.1.6.post1/pyvideotrans/videotrans/util/_ffprobe.py", line 52, in get_video_info
out_json = runffprobe(
File "/private/tmp/pynini-fix/pynini-2.1.6.post1/pyvideotrans/videotrans/util/_ffprobe.py", line 41, in runffprobe
stdout_result = _run_ffprobe_internal(cmd)
File "/private/tmp/pynini-fix/pynini-2.1.6.post1/pyvideotrans/videotrans/util/_ffprobe.py", line 31, in _run_ffprobe_internal
raise FFmpegError("Command not found: ffmpeg. Ensure FFmpeg is installed and in your PATH.") from e
videotrans.configure.excepts.FFmpegError: Command not found: ffmpeg. Ensure FFmpeg is installed and in your PATH.
trk=[TransCreate]: uuid='61a96a7d01', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: /Users/linbojun/Documents/EnglishPod/视频课程/未命名文件夹/1Elementary - Difficult Customer.mp4,
输出结果保存到文件夹: /Users/linbojun/Documents/EnglishPod/视频课程/_video_out/未命名文件夹/1Elementary - Difficult Customer-mp4,
临时文件夹: /private/tmp/pynini-fix/pynini-2.1.6.post1/pyvideotrans/tmp/20198/61a96a7d01
已选 清理已存在
未启用CUDA加速
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, , 数据类型:default
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕, settings.get('trans_thread')=5, settings.get('aitrans_thread')=40
输出字幕格式: 单字幕, precent=1, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=False, is_copy_video=False, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=False
=
system:macOS-15.6.1-arm64-arm-64bit
version:v4.17
frozen:False
language:zh_CN
root_dir:/private/tmp/pynini-fix/pynini-2.1.6.post1/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]