This is a compilation of Android available under the FFmpeg project, containing code examples.
- FFmpeg Full Platform Compilation Script
- Libx264 Full Platform Compilation Script
- Libx264 Full Platform Compilation Script
- Compiled Good Version of the SO library (download in ffmpeg3.2.5 / android)
- Compiled Rich Version of the SO library (download in ffmpeg3.2.5 / android_more)
- CMake Compile FFmpeg as the script which can be command
- Android command executes the interface of FFmpeg
- Android Use Case
、Download the project, find the above scripts under ffmpeg, and then change the address which NDK variable points to the address of local ndk catalogue. If you are not using mac system, you also need to modify the words darwin-x86_64
to linux-x86_64
.
Compile Lite, cd into the ffmpeg catalogue, find the script you need to structure, and drag it into the command order if you need to implement the architecture. You can find it under “/jianxi_ffmpeg_build_all.sh
” in the android catalogue, this process is relatively long, so I recommend you to close other useless processes before execution.
Compile the enhanced version, cd into the ffmpeg catalogue, find the script you need to structure, and drag it into the command order if you need to implement the architecture. You can find it under ./jianxi_ffmpeg_build_all_more.sh
in the android catalogue, this process is relatively long, and so I recommend you to close other useless processes before execution.
Because I did not put FFmpeg into the project, so I can not specify the relative path. You need to find CMakeLists.txt
, and fill your FFmpeg source catalogue inside include_directories
.
You can visit some of my related articles to access my ideas. Related articles are:编译Android下可用的FFmpeg(包含libx264与libfdk-aac)、编译Android下可执行命令的FFmpeg