Swift基礎--ijkplayer編譯

來源:互聯網
上載者:User

標籤:效果   universal   rsa   依賴包   orm   mat   沒有   mpeg   .com   

這篇與Swift基本上沒有什麼關係,只是之後會用到,這次編譯是使用Mac編譯IOS版本號碼的。以下是編譯流程,最後是整個項目的。由於下載太慢了。

1、下載原始碼

git clone https://github.com/bbcallen/ijkplayer.git 

2、編譯

cd  ijkplayer-ios-stable

./init-ios.sh//這裡下載依賴包

./compile-ffmpeg.sh//這裡編譯。會有幾個選項,我選的是all

3、編譯結果

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、

整個壓縮包也比較大,800多M,360雲端硬碟 http://yunpan.cn/csy5xsjtTR2e6  提取碼 1838


5、實驗效果




Swift基礎--ijkplayer編譯

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.