Swift basics-ijkplayer Compilation

Source: Internet
Author: User

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




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.