我正在尝试在 mac 中安装 ffmpeg

I am trying to install ffmpeg in mac

我正在尝试使用此命令在 mac 中安装 ffmpeg brew install ffmpeg 但是在我的 4 次尝试中我收到此消息大约 2 小时

==> Installing ffmpeg dependency: rust
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 11.3.1.

==> ./configure --prefix=/usr/local/Cellar/rust/1.56.1 --release-channel=stable
==> make

安装它被停止了 4 次,我很累这是怎么回事?

Xcode 11.3 相当过时 - 它是在 Mojave 上发布的,brew 不再支持它。我们需要知道您的 macOS 版本。从路径中的 /usr/local 判断,您似乎在使用英特尔 mac。 ffmpeg 是在您的示例中使用特定工具链构建的,这表明它不是从瓶子安装的,而是试图配置源构建。通常没有缺点——除非你的 OS 不再被 brew 支持。

  • 在 Mojave 上安装 ffmpeg 的最佳方式? 使用 ffmpeg.org 提供的 link 中的预构建二进制文件:https://evermeet.cx/ffmpeg