我是靠谱客的博主 贤惠咖啡豆,这篇文章主要介绍ffmpeg交叉编译,现在分享给大家,希望可以做个参考。

make clean
TOOL=arm-himix200-linux
#TOOL=gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf
./configure --enable-shared --arch=arm --cross-prefix=/home/ctools/$TOOL/bin/arm-himix200-linux- --enable-cross-compile --target-os=linux --enable-libx264 --enable-gpl --enable-libfreetype --enable-filter=drawtext --extra-cflags="-I/opt/mylibs/$TOOL/zlib-1.2.11/include -I/opt/mylibs/$TOOL/x264/include -I/opt/mylibs/$TOOL/freetype-2.10.2/include/freetype2" --extra-ldflags="-L/opt/mylibs/$TOOL/zlib-1.2.11/lib -L/opt/mylibs/$TOOL/x264/lib -L/opt/mylibs/$TOOL/freetype-2.10.2/lib" --prefix=/opt/nrjd/osl/bbuild_ffmpeg-4.4 --extra-cflags="-mcpu=cortex-a7 -mfloat-abi=softfp -mfpu=neon-vfpv4" --extra-cxxflags="-mcpu=cortex-a7 -mfloat-abi=softfp -mfpu=neon-vfpv4"
make -j12
make install

最后

以上就是贤惠咖啡豆最近收集整理的关于ffmpeg交叉编译的全部内容,更多相关ffmpeg交叉编译内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(65)

评论列表共有 0 条评论

立即
投稿
返回
顶部