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
FFmpegand external libraries usingAutotoolsand/orCMake. Build scripts use Android NDK'sllvmtoolchain to cross-compile the sources. When compilation ends, compiled libraries are stored under theprebuiltfolder. -
The Second phase invokes
ndk-buildwhich builds native parts ofFFmpegKitlibrary. Before initiatingndk-build,Application.mkfile is created with enabled architectures configured inside. -
The Third phase compiles
FFmpegKitsources and builds Android Archive (.aar) file usinggradle wrapper.