The current compilation environment is

android_ndk=r21

Ffmpeg – 4.3.1

Brew install XXX, because every time you build, only one error will be reported. It will not tell you what is missing. You are advised to install all the following items that require install.

A summary of iJkPlayer compilation issues will follow

Nasm/yASM not found or too old. Use -- disable-x86ASM for a amounting build. Brew install yASMCopy the code

ERROR: aom >= 1.0.0 not found using pkg-config
brew install aom
Copy the code

ERROR: libass not found using pkg-config
brew install libass
Copy the code

ERROR: libbluray not found using pkg-config
brew install libbluray
Copy the code

ERROR: dav1d >= 0.2.1 not found using pkg-config
brew install dav1d
Copy the code

ERROR: libgsm not found
brew install libgsm
Copy the code

ERROR: libmodplug not found using pkg-config
brew install libmodplug
Copy the code

ERROR: libmp3lame >= 3.98.3 not found
brew install lame
Copy the code

ERROR: libmysofa not foundgit clone https://github.com/hoene/libmysofa.gitcd ./libmysofa/buildcmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF .. make && make insall PKG_CONFIG_PATH=/usr/local/lib/pkgconfigCopy the code

ERROR: libopencore_amrnb not found
brew install opencore-amr
Copy the code

ERROR: openh264 not found using pkg-config
brew install openh264
Copy the code

ERROR: libopenjp2 >= 2.1.0 not found using pkg-config brew install openJPEGCopy the code

ERROR: opus not found using pkg-config
brew install opus
Copy the code

ERROR: rubberband >= 1.8.1 not found using pkg-config
brew install rubberband
Copy the code

ERROR: shine not found using pkg-config
git clone https://github.com/toots/shine.git
cd ./shine
./bootstrap
./configure --prefix=/usr/local --disable-shared
make && make install
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Copy the code

ERROR: libsnappy not found
brew install snappy
Copy the code
ERROR: libsoxr not found
brew install libsoxr
Copy the code

ERROR: speex not found using pkg-config
brew install speex
Copy the code

ERROR: libtheora not found
brew install theora
Copy the code

ERROR: libtwolame not found
brew install twolame
Copy the code

ERROR: vidstab >= 0.98 not found using pkg-config
brew install libvidstab
Copy the code

ERROR: libvmaf >= 1.3.9 not found using pkg-config
brew install libvmaf
Copy the code

ERROR: libvo_amrwbenc not found # https://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz/download curl - O https://iweb.dl.sourceforge.net/project/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz tar ZXVF. - /vo-amrwbenc-0.1.3.tar.gz CD./vo-amrwbenc-0.1.3. /configure --prefix=/usr/local --disable-shared make && make install PKG_CONFIG_PATH=/usr/local/lib/pkgconfigCopy the code

libvpx enabled but no supported decoders found
brew install libvpx
Copy the code

ERROR: libwavpack not found
brew install wavpack
Copy the code

ERROR: libwebp >= 0.2.0 not found using pkg-config
brew install webp
Copy the code

ERROR: libx264 not found
brew install x264
Copy the code
ERROR: x265 not found using pkg-config
brew install x265
Copy the code

ERROR: libxavs not found
# https://sourceforge.net/projects/xavs/
svn checkout https://svn.code.sf.net/p/xavs/code/trunk xavs
cd ./xavs
./configure --prefix=/usr/local --host=x86_64-darwin --disable-asm
make && make install
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Copy the code

ERROR: libxvid not found
brew install xvid
Copy the code

ERROR: zimg >= 2.7.0 not found using pkg-config
brew install zimg
Copy the code

ERROR: libzmq not found using pkg-config
brew install zmq
Copy the code