- 下载
具体用处不清楚,也不知道是否还需要其他库。
https://www.opus-codec.org/downloads/
- 解压
tar xf libopusenc-0.2.1.tar.gz
- 编译
BUILD_LIBS=$1 if [ "$1" == "" ]; then BUILD_LIBS=${HOME}/lib-ffmpeg fi export PATH=${BUILD_LIBS}/bin:${PATH} export PKG_CONFIG_PATH=${BUILD_LIBS}/lib/pkgconfig make clean ./configure \ --prefix=${BUILD_LIBS} make make install