Khang-NT / ffmpeg-binary-android

FFmpeg Prebuilt Android
194 stars 72 forks source link
ffmpeg-android

Android Arsenal

Prebuilt FFmpeg Android

This repo contains build scripts to build FFmpeg executable binary for Android and also publish prebuilt files here. There are two build flavors: FULL and LITE

Download

Latest build: Latest build

Build

Prerequisites:

Build:

export NDK=path/to/android-ndk
cd build_scripts

FLAVOR=full       # or "lite"
TARGET=armv7-a    # Support targets: "arm", "armv7-a", "arm-v7n", "arm64-v8a", "i686", "x86_64"
BUILD_DIR=$(pwd)/build_dir
FINAL_DIR=$(pwd)/final/$TARGET

./build_ffmpeg.sh $TARGET $FLAVOR $BUILD_DIR $FINAL_DIR

The ffmpeg binary should in folder $FINAL_DIR/$TARGET/$FLAVOR/ffmpeg after build succeed.

References

FFmpeg license

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

App using this repo:

MediaConverterAndroid
Media Converter Android: