Home

Awesome

FFmpeg2AndroidDemo

This is a compilation of Android available under the FFmpeg project, containing code examples.<br>

中文说明

The project includes:

Script directory structure

Compile

  1. 、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.<br>

  2. 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.<br>

  3. 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.

Run this project:

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.

Announcements

More

You can visit some of my related articles to access my ideas. Related articles are:编译Android下可用的FFmpeg(包含libx264与libfdk-aac)编译Android下可执行命令的FFmpeg