d-fal / ffmpeg4Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a painless ffmpeg building with libx264 support.

Before you start

get all the prject files and submodules

git clone --recursive https://github.com/falahati1987/ffmpeg4Android


cd to the clonned project: cd ffmpeg4Android

open buid_ffmpeg_for_android.sh in a editor and edit the following function in line 6, so as to it target to your NDK

getNDK(){
echo "$HOME/Android/ndk" #root to your NDK
}

Now, all you need to do is :

./build_ffmpeg_for_android.sh

The shared libraries will be placed in build-ffmpeg folder.


Note: This project support the latest head of FFMPEG(3.4.1)


Enjoy!


Inspired from https://github.com/WritingMinds/ffmpeg-android

About


Languages

Language:C 98.3%Language:C++ 1.0%Language:Shell 0.3%Language:Objective-C 0.2%Language:Makefile 0.1%