ijkplayer 二次编译

2019-07-18  本文已影响0人  唯一很无敌

编译环境

步骤

git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-android
cd ijkplayer-android
git checkout -B k0.8.8

cd config
rm module.sh
ln -s module-default.sh module.sh

./init-android-openssl.sh
./init-android.sh

cd android/contrib
./compile-openssl.sh clean
./compile-ffmpeg.sh clean
./compile-openssl.sh all
// 暂停一下,这里有坑1
./compile-ffmpeg.sh all
cd ..
// 暂停一下,这里有坑2
./compile-ijk.sh all

我遇到的坑

1、linux/perf_event.h: No such file or directory
2、yasm/nasm not found or too old. Use --disable-yasm for a crippledbuild

上一篇下一篇

猜你喜欢

热点阅读