Build script for cross compile ffmpeg for Android. It generates libs for all platforms (except 64 bit).
Works with ffmpeg 3.1 and Android NDK r11b.
Now ffmpeg support native decoding using MediaCodec!
Example usage here: https://github.com/HausnerR/ffmpeg-android-example.
Installed Android NDK and propably that's all.
- Clone this repo
- Execute git submodule init && git submodule update
- Set ANDROID_NDK_DIR and FEATURES in build.sh
- Run ./build.sh
- Static libraries should be generated and ready to use in android-builds directory
Default defined FEATURES in build.sh are only for local mp4 video playing! If you want more features like another formats, protocols, encoding, whatever - modify this variable.