this is a copy of my own ffmpeg compile script modified from writingminds's code.
- FFmpeg for Android compiled with x264, libass, fontconfig, freetype and fribidi
- Supports Android L
- FFmpeg Android Library
Supported Architecture
Instructions
- Set environment variable
- export ANDROID_NDK={Android NDK Base Path}
- Run following commands to compile ffmpeg
- sudo apt-get --quiet --yes install build-essential git autoconf libtool pkg-config gperf gettext yasm
- ./init_update_libs.sh
- ./android_build.sh
- To update submodules and libraries you can use ./init_update_libs.sh command
- Find the executable binary in build directory.
- If you want to use FONTCONFIG then you need to specify your custom fontconfig config file (e.g - "FONTCONFIG_FILE=/sdcard/fonts.conf ./ffmpeg --version", where /sdcard/fonts.conf is location of your FONTCONFIG configuration file).
- You can also download prebuilt-binaries.zip prebuilt-binaries.tar.gz here.
License
check files LICENSE.GPLv3 and LICENSE