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

Building

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

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

Use these scripts to build FFmpegKit for each platform. For Android, you will also need to set ANDROID_SDK_ROOT and ANDROID_NDK_ROOT environment variables. After a successful build, compiled FFmpeg and FFmpegKit 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, macos.sh and tvos.sh to see all available build options.

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