Swift basics-ijkplayer Compilation
This article has nothing to do with Swift, but it will be used later. This compilation uses Mac to compile the IOS version. below is the compilation process, and finally the entire project, because the download is too slow.
1. Download source code
Git clone https://github.com/bbcallen/ijkplayer.git
2. Compile
Cd ijkplayer-ios-stable
./Init-ios.sh // download dependency package here
./Compile-ffmpeg.sh // compile here, there are several options, I chose all
3. Compilation result
lipo archs: armv7 armv7s arm64 i386 x86_64Architectures in the fat file: /Users/jiezhang/ijkplayer-ios-stable/ios/build/universal/lib/libavcodec.a are: armv7 armv7s i386 x86_64 arm64 Architectures in the fat file: /Users/jiezhang/ijkplayer-ios-stable/ios/build/universal/lib/libavformat.a are: armv7 armv7s i386 x86_64 arm64 Architectures in the fat file: /Users/jiezhang/ijkplayer-ios-stable/ios/build/universal/lib/libavutil.a are: armv7 armv7s i386 x86_64 arm64 Architectures in the fat file: /Users/jiezhang/ijkplayer-ios-stable/ios/build/universal/lib/libswscale.a are: armv7 armv7s i386 x86_64 arm64 Architectures in the fat file: /Users/jiezhang/ijkplayer-ios-stable/ios/build/universal/lib/libswresample.a are: armv7 armv7s i386 x86_64 arm64
4,
The entire compressed package is also relatively large, more than 800 M, 360 cloud disk http://yunpan.cn/csy5xsjtTR2e6 extraction code 1838
5. Test Results