Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Building

Taner Şener edited this page Jul 27, 2020 · 11 revisions

There are three build scripts in the project root; android.sh for Android, ios.sh for iOS and tvos.sh for tvOS.

Use these scripts to build MobileFFmpeg for each platform. For Android you will also need to set ANDROID_HOME and ANDROID_NDK_ROOT environment variables. After a successful build, compiled FFmpeg and MobileFFmpeg libraries can be found under the prebuilt directory.

All three scripts support additional options and can be customized to enable/disable specific external libraries and/or architectures. Please refer to wiki pages of android.sh, ios.sh and tvos.sh to see all available build options.

Android
export ANDROID_HOME=<Android SDK Path>
export ANDROID_NDK_ROOT=<Android NDK Path>
./android.sh
iOS
./ios.sh
tvOS
./tvos.sh
Clone this wiki locally