focuseyes360 / ijkplayer-android

基于b站的https://github.com/bilibili/ijkplayer 升级到FFmpeg5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ijkplayer

构建环境

构建前配置

# install homebrew, git, yasm
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install yasm

# add these lines to your ~/.bash_profile or ~/.profile
# export ANDROID_SDK=<your sdk path>
# export ANDROID_NDK=<your ndk path>

# on Cygwin (unmaintained)
# install git, make, yasm

拉取源码

git clone https://github.com/ShikinChen/ijkplayer-android --recursive

构建和导入

git clone https://github.com/ShikinChen/ijkplayer-android
cd ijkplayer-android

#编译ffmpeg一定要使用ndk r25
export ANDROID_NDK=NDK r25的路径

cd android/contrib
./compile-ffmpeg.sh arm64

#执行完compile-ffmpeg.sh arm64 编译完ffmpeg的arm64动态库后 直接将 ./android/ijkplayer 导入整个项目

About

基于b站的https://github.com/bilibili/ijkplayer 升级到FFmpeg5

License:GNU General Public License v2.0


Languages

Language:Java 60.6%Language:C 26.8%Language:Objective-C 8.2%Language:Shell 3.1%Language:C++ 0.8%Language:Makefile 0.5%Language:CMake 0.1%Language:Ruby 0.0%