美文网首页Des's iOS
对本地的ijkplayer进行更新

对本地的ijkplayer进行更新

作者: zjunchao | 来源:发表于2015-12-01 14:16 被阅读346次

对本地的ijkplayer进行更新

删除本地修改

git clean -df 
git reset --hard

更新服务器代码

git pull 

运行报错

ijk_error_shot.png

查看FFmpeg中的头文件缺失,需要更新FFmpeg的版本。

ijkplayer下载地址: https://github.com/Bilibili/ijkplayer

编译方法

build for iOS

git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-ios
cd ijkplayer-ios
git checkout -B latest k0.4.4

./init-ios.sh

cd ios
./compile-ffmpeg.sh clean
./compile-ffmpeg.sh all

# import ios/IJKMediaPlayer for MediaPlayer.framework-like interface (recommended)
# open ios/IJKMediaDemo/IJKMediaDemo.xcodeproj with Xcode

相关文章

网友评论

    本文标题:对本地的ijkplayer进行更新

    本文链接:https://www.haomeiwen.com/subject/ehvjhttx.html