gpt4 book ai didi

ruby-on-rails - brew安装的RoR ffmpeg

转载 作者:行者123 更新时间:2023-12-04 23:05:35 25 4
gpt4 key购买 nike

我正在开发一个需要 ffmpeg 的 Ruby on Rails 应用程序,以对我拥有的文件进行一些处理。

但是,当尝试使用 ffmpeg 时,我收到此错误

Failed encoding. Errors: no output file created. Full output: dyld: Library not loaded: /usr/local/lib/libogg.0.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0

它基本上是一个 CarrierWave 项目,可以在这里看到: http://www.freezzo.com/2010/12/23/create-ffmpeg-processor-for-carrierwave-in-rails-3/

最佳答案

看来您的 libogg 版本已过时,您应该尝试一下

brew update && brew upgrade libogg

$ otool -L /usr/local/lib/libogg.0.dylib
/usr/local/lib/libogg.0.dylib:
/usr/local/lib/libogg.0.dylib (compatibility version 9.0.0, current version 9.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)

关于ruby-on-rails - brew安装的RoR ffmpeg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11595305/

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