* Please note that this link contains UNOFFICIAL codecs and we disclaim any responsibility on it.
First, ffmpeg source codes should be download from download page.
And then shell scripts need to be modified to fix up paths:
ifneq ($(filter $(TARGET_ARCH_ABI), armeabi-v7a armeabi-v7a-hard),)
You don't need to touch setup.mk for x86 and mips toolchains.
And then run "build-ffmpeg.sh" with one of following arguments: (or rebuild-ffmpeg.sh to build for all architectures)
After this, all library files should be generated on TARGET directories.
CPU architecture code is one of followings:
neon, tegra3, tegra2, v6_vfp, v6, v5te, x86, mips
Version number is similar one to MX Player's such as 1.7.29, 1.7.30. But please note that codec version and MX Player version is not exactly same. Sometimes MX Player will be upgraded without upgrading codec.
For example, if you are building ARMv7 NEON codec for version 1.7.29, its file name should be libffmpeg.mx.so.neon.1.7.29
If codec is compressed on a .zip container, it does not need to be decompressed any more. MX Player itself extract codec file from .zip file when loading codec. Also multiple codec files can be compressed on single .zip file and then MX Player loads correct codec file automatically.
MX Player will recognize zipped codec files on SDCard root and Download directory automatically if file name contains version code.
* This build instruction is applicable after version 1.8
* From version 1.7.6, file names are changed to libavutil.mx.so, libavformat.mx.so.. so forth to resolve conflict with system library files.
* From version 1.7.16, it generates single file; libffmpeg.mx.so.