Git Product home page Git Product logo

ffmpeg-binary-android's Introduction

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

  • LITE is a version that optimized binrary size, so it only includes small set features to work with most commom formats and codecs.
    • ABI and android version supported:
      • armeabi (Android 16+)
      • armeabi-v7a, armeabi-v7a-neon, (Android 16+)
      • x86 (Android 16+)
      • arm64-v8a (Android 21+)
      • x86_64 (Android 21+)
      • mips (Android 16+) (No longer support)
      • mips64 (Android 21+) (No longer support)
    • Addition libraries: libmp3lame, libshine, libopus, libvorbis
  • FULL is a version compiled full FFmpeg feature, include https support protocol.
    • ABI and android version supported:
      • armeabi (Android 21+)
      • armeabi-v7a, armeabi-v7a-neon, (Android 21+)
      • x86 (Android 21+)
      • arm64-v8a (Android 21+)
      • x86_64 (Android 21+)
    • Include libraries in LITE version, plus with: libfdk-aac (non-free), libx264, openssl (thanks to leenjewel/openssl_for_ios_and_android)

Download

Latest build: Latest build

Build

Prerequisites:

  • Android NDK r15
  • export NDK=path/to/android-ndk

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:

ffmpeg-binary-android's People

Contributors

khang-nt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.