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.
armeabi
(Android 21+)armeabi-v7a
(Android 21+)x86
(Android 21+)arm64-v8a
(Android 21+)x86_64
(Android 21+)
Build with:
- Android NDK: r25c(25.2.9519653)
- HOST: MAC/OSX, Linux (Not Test)
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
Release binary
This software uses code of FFmpeg licensed under the LGPLv2.1 and its source can be downloaded here.