Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Building Android

Taner Sener edited this page Sep 27, 2022 · 1 revision

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 using Autotools and/or CMake. Build scripts use Android NDK's llvm toolchain to cross-compile the sources. When compilation ends, compiled libraries are stored under the prebuilt folder.

  • The Second phase invokes ndk-build which builds native parts of FFmpegKit library. Before initiating ndk-build, Application.mk file is created with enabled architectures configured inside.

  • The Third phase compiles FFmpegKit sources and builds Android Archive (.aar) file using gradle wrapper.

Clone this wiki locally