gpt4 book ai didi

shell - 更新到 Mavericks 后 ffmpeg 无法正常工作

转载 作者:行者123 更新时间:2023-12-04 13:22:57 27 4
gpt4 key购买 nike

最近更新到 Mavericks 10.9.5 后,我安装的 ffmpeg 一直在窃听

错误:

dyld: Library not loaded: /usr/local/lib/libx264.142.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: image not found
Trace/BPT trap: 5

有什么想法吗?我对手动编译不是很熟悉,我通过 Homebrew 安装了 ffmpeg。

我尝试卸载并执行以下操作:
brew install ffmpeg --HEAD
brew install ffmpeg --build-from-source

但它会吐出一个 ./configure 错误
==> ./configure --prefix=/usr/local/Cellar/ffmpeg/2.4.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

These open issues may also help:
gpac 0.5.0 doesn't build against ffmpeg 2.4.1 (https://github.com/Homebrew/homebrew/issues/32978)

最佳答案

经过一番摆弄后我的解决方案。

brew uninstall ffmpeg
brew doctor

然后它告诉我我有一个未链接的 ffmpeg 并且我有一些依赖项
brew install faac lame xvid
brew doctor

然后它告诉我我只是有一个未链接的项目。
brew install ffmpeg

它奏效了。

关于shell - 更新到 Mavericks 后 ffmpeg 无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26431918/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com