Building - tanersener/ffmpeg-kit GitHub Wiki
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