Overview

Created by Renato Cunha <http://twitter.com/trovao>;

Overview

There seems to be too many sources of (mis)information around the Internet regarding the building of FFmpeg for Android. This very simple script is my take on that issue. Hopefully, this will enable more people to test and start developing with FFmpeg for Android.

If you just want to get started and don't want to build anything else, check the download page.

Setup

You will need the Android NDK version r8 or later to use this script. In addition to that, you will need mercurial to clone this repository and git to download the source code of FFmpeg and libx264.

  • On Debian/Ubuntu, "apt-get install git mercurial yasm bash make gawk" should get you going.
  • On Arch Linux, you can install the NDK from the AUR. If you use yaourt, "yaourt -S android-ndk git mercurial yasm bash make gawk" should do the trick.

Once the dependencies are installed, just enter this directory and type:

$ ./build.sh

If everything goes well, you should have the latest version of FFmpeg for ARMv6, ARMv7a, and ARMv7a with NEON support in the dist directory.

Features

There aren't many, really. Here they are:

  • All you get is FFmpeg + libx264 for Android ARM;
  • The script only downloads the last version of FFmpeg and libx264;
  • The script is straightforward.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.