ffmpeg+libopus出错:ERROR: opus not found

嵌入式乌托邦 2013-12-16 05:07:40
在编译含有libopus的ffmpeg时,出错了,ERROR: opus not found
libopus编译:
./configure --host=arm-linux --prefix=/usr/local/ffmpeg/ --enable-fixed-point --enable-shared --disable-static
/usr/local/ffmpeg下也能看到各种库生成了,
ffmpeg编译:
./configure --prefix=/usr/local/ffmpeg --enable-version3 --cross-prefix=arm-linux- --enable-cross-compile --target-os=linux --cc=arm-linux-gcc --arch=arm --prefix=/usr/local/ffmpeg --enable-shared --disable-static --enable-gpl --enable-nonfree --enable-ffmpeg --disable-ffplay --disable-ffserver --enable-pthreads --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-yasm --disable-stripping --enable-swscale --enable-indev=oss --enable-libfaac --enable-libvo-aacenc --enable-libtwolame --enable-libvo-amrwbenc --enable-libopus --extra-cflags=-I/usr/local/ffmpeg/include --extra-ldflags=-L/usr/local/ffmpeg/lib


ERROR: opus not found

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
solving the problem.

google了一下,说是要export PKG_CONFIG_PATH=/usr/local/ffmpeg/lib/pkgconfig,我试了,还是不行。
...全文
754 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
嵌入式乌托邦 2013-12-17
  • 打赏
  • 举报
回复
这里有个一样的情况,我export PKG_CONFIG_PATH后却还是不行,只要编译选项内去掉这个--enable-libopus就没问题了。
WO浣熊OW 2013-12-17
  • 打赏
  • 举报
回复
表示关注,帮你顶!
嵌入式乌托邦 2013-12-17
  • 打赏
  • 举报
回复 1
有没有碰到过这个问题的?

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧