[英]Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal
I have seen several scripts to build FFmpeg API for armv7, 7s and i386 but couldn't find anything which would work for armv64 as well. 我见过几个为armv7,7s和i386构建FFmpeg API的脚本,但是找不到任何适用于armv64的脚本。 Some of the answers on other threads of this forum suggested to prepare a separate library for arm64 but it does not work well with rest of the architectures.
本论坛其他主题的一些答案建议为arm64准备一个单独的库,但它与其他架构不兼容。 Hence I need a script which can work for all the supported architectures for iOS including armv7, armv7s, armv64 and i386.
因此,我需要一个适用于iOS所有支持架构的脚本,包括armv7,armv7s,armv64和i386。
I have use below scripts for making FFmpeg build for arm64 我使用下面的脚本为arm64制作FFmpeg
https://github.com/kewlbear/FFmpeg-iOS-build-script https://github.com/kewlbear/FFmpeg-iOS-build-script
https://github.com/bbcallen/ijkplayer/blob/fc70895c64cbbd20f32f1d81d2d48609ed13f597/ios/tools/do-compile-ffmpeg.sh#L7 https://github.com/bbcallen/ijkplayer/blob/fc70895c64cbbd20f32f1d81d2d48609ed13f597/ios/tools/do-compile-ffmpeg.sh#L7
You have to add libbz2.dylib and libiconv.dylib framework in your xCode project. 您必须在xCode项目中添加libbz2.dylib和libiconv.dylib框架。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.