如何修復 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

相關內容