ffmpeg+libopus出错:ERROR: opus not found
在编译含有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,我试了,还是不行。