Building ffmpeg iOS libraries for armv7, armv7s, a

2020-01-31 02:31发布

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.

1条回答
仙女界的扛把子
2楼-- · 2020-01-31 02:49

I have use below scripts for making FFmpeg build for arm64

https://github.com/kewlbear/FFmpeg-iOS-build-script

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.

查看更多
登录 后发表回答