libfdk-aac和x264安装编译
作者:互联网
//使用libfdk-aac库编码支持(s16)
sudo apt-get install libfdk-aac-dev
在编译ffmpeg时需要增加–enable-nonfree --enable-libfdk-aac编译选项
//编译x264,获取网站
http://www.videolan.org/developers/x264.html
//打开下载的x264源码,执行./configure --enable-shared --enable-static --disable-asm
make,make install
编译ffmpeg命令:这里增加了h264编码和解码
cd ffmpeg-4.3
make uninstall
./configure --disable-x86asm --enable-shared --enable-libx264 --enable-swscale --enable-avresample --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-decoder=h264 --prefix=/usr/local
make clean
make -j20
make install
标签:enable,aac,--,make,libfdk,x264 来源: https://blog.csdn.net/weixin_43466192/article/details/120843342