/ffmpeg-openssl-x264-binary-android

build ffmpeg x264 openssl for android

Primary LanguageShell

Prebuild ffmpeg, openssl, H264 for Android platform

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

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

Release binary

References

FFmpeg license

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