mac下编译ijkplayer

brew install yasm
配置环境变量
export ANDROID_SDK=/Users/wuzongheng/Library/Android/sdk
export ANDROID_NDK=/Users/wuzongheng/Library/Android/sdk/ndk/android-ndk-r10e/
配置
cd config
rm module.sh
ln -s module-lite.sh module.sh
下载编译ffmpeg
cd ..
./init-android.sh
cd android/contrib
./compile-ffmpeg.sh clean
./compile-ffmpeg.sh armv7a
./compile-ffmpeg.sh arm64
编译ijk
cd ..
./compile-ijk.sh clean
./compile-ijk.sh armv7a
./compile-ijk.sh arm6
ndk r10e下载地址:
https://developer.android.google.cn/ndk/downloads/older_releases
https://dl.google.com/android/repository/android-ndk-r10e-darwin-x86_64.zip?hl=zh_cn
添加trsp、录屏、截屏:
https://github.com/fly7632785/ijkplayer
https://www.jianshu.com/p/f0f8b734c144
https://github.com/fly7632785/Player
https://www.jianshu.com/p/71c7378c637e
https://www.jianshu.com/p/8078446fdbe6
http://wuhongsheng.top/2020/08/22/ijkplayer-%E6%89%A9%E5%B1%95%E6%88%AA%E5%B1%8F%E5%92%8C%E5%BD%95%E5%83%8F%E6%96%B9%E6%B3%95/
https://blog.csdn.net/qq_37382732/article/details/109101681
编译:
https://www.jianshu.com/p/7c16b5296133
https://github.com/Bilibili/ijkplayer/issues/2752
https://www.pianshen.com/article/390141993/
Share

You may also like...

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注