Build FFmpeg 3.2.4 as LGPL shared libraries for Android WITHOUT x264 (and other GPL libraries) and WITHOUT --enable-gpl/--enable-nonfree
FFmpeg code is unmodified here (unchanged)
- armeabi-v7a
- arm64-v8a
- x86
- x86_64
- Download NDK r14
- Set environment variable
- export NDK={Android NDK Base Path}
- Run following commands to compile FFmpeg for Android
- sudo apt-get --quiet --yes install build-essential git autoconf libtool pkg-config gperf gettext yasm python-lxml
- ./build_all.sh
- Find the shared libraries in android directory.
- Check LICENSE.md and COPYING.LGPLv2.1 files
- Also https://www.ffmpeg.org/legal.html