This repository was archived by the owner on Jan 6, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 898
Building Android
Taner Sener edited this page Apr 7, 2019
·
3 revisions
MobileFFmpeg 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
Autotoolsand/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 of MobileFFmpeg library. Before initiatingndk-build, Application.mk file is created with enabled architectures configured inside. -
The Third phase compiles MobileFFmpeg sources and builds Android Archive (.aar) file using
gradle wrapper.
Copyright (c) 2018-2021 MobileFFmpeg