Building Android - tanersener/ffmpeg-kit GitHub Wiki
FFmpegKit
build process for Android
platform consists of three phases. These phases are initiated and controlled by the top level build script android.sh
.
-
The First phase compiles
FFmpeg
and external libraries usingAutotools
and/orCMake
. Build scripts use Android NDK'sllvm
toolchain to cross-compile the sources. When compilation ends, compiled libraries are stored under theprebuilt
folder. -
The Second phase invokes
ndk-build
which builds native parts ofFFmpegKit
library. Before initiatingndk-build
,Application.mk
file is created with enabled architectures configured inside. -
The Third phase compiles
FFmpegKit
sources and builds Android Archive (.aar) file usinggradle wrapper
.