Prebuild ffmpeg, openssl for Android platform

This repo contains build scripts to build FFmeg-7.0, Openssl-3.3.0 libs and executable binary for Android. It also builds FFmeg with dependences Openssl in the repo.

Supported Android ABIs

  • armeabi (Android 21+)
  • armeabi-v7a (Android 21+)
  • x86 (Android 21+)
  • arm64-v8a (Android 21+)
  • x86_64 (Android 21+)

Source Version

Build

Build with:

My computer: MAC/OSX 14.4.1 (23E224) Apple M1

Run to build:

export ANDROID_NDK_HOME=path/to/android-ndk
export ANDROID_SDK_HOME=path/to/android-sdk
./build.sh

My case:

export ANDROID_NDK_HOME=/Users/lap15292-local/Android/Sdk/ndk/25.1.8937393 && \
export ANDROID_SDK_HOME=/Users/lap15292-local/Android/Sdk && \
./build.sh

Download

References

FFmpeg license

This software uses code of FFmpeg licensed under the LGPLv2.1 and its source can be downloaded here.