如何修复 Mac Mojave 上“ffprobe”的安装

如何修复 Mac Mojave 上“ffprobe”的安装

我正在使用 Mac Mojave,但在使用时遇到了麻烦ffprobe。我收到以下错误:

$ ffprobe
dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.179.dylib
  Referenced from: /usr/local/bin/ffprobe
  Reason: image not found
Abort trap: 6

我尝试卸载它,但也没有用:

$ brew uninstall ffprobe
Error: No such keg: /usr/local/Cellar/ffprobe

我也运行了,brew doctor但没有帮助。我尝试安装该工具,但得到的输出如下:

$ brew install ffprobe
Updating Homebrew...
Error: No available formula with the name "ffprobe" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

那么如何解决这个问题ffprobe

答案1

看来这ffprobe是软件包的一部分ffmpeg!我想你需要知道这一点(brew并不关心告诉你这些重要信息!)。因此,要解决此问题,只需重新安装ffmpeg

brew uninstall ffmpeg
brew install ffmpeg

相关内容