为 armv7、armv7s、arm64、i386 和通用构建 ffmpeg iOS 库 [英] Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal
问题描述
我看过几个脚本来为 armv7、7s 和 i386 构建 FFmpeg API,但找不到任何也适用于 armv64 的脚本.本论坛其他线程上的一些答案建议为 arm64 准备一个单独的库,但它不适用于其他体系结构.因此,我需要一个脚本,它可以适用于所有支持的 iOS 架构,包括 armv7、armv7s、armv64 和 i386.
我使用以下脚本为 arm64 构建 FFmpeg
https://github.com/kewlbear/FFmpeg-iOS-build-script>
您必须在 xCode 项目中添加 libbz2.dylib 和 libiconv.dylib 框架.
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. 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. Hence I need a script which can work for all the supported architectures for iOS including armv7, armv7s, armv64 and i386.
I have use below scripts for making FFmpeg build for arm64
https://github.com/kewlbear/FFmpeg-iOS-build-script
You have to add libbz2.dylib and libiconv.dylib framework in your xCode project.
这篇关于为 armv7、armv7s、arm64、i386 和通用构建 ffmpeg iOS 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!