How to use latest FFMPEG in Android Studio project?


I have a simple task to make a video from multiple images and an audio file, After searching a lot found that its possible with FFMPEG, Unfortunately there are no updated tutorials for FFMPEG, there are few but outdated and most of them are not working. As I have compiled FFMPEG for Android using NDK android-ndk-r10e and ffmpeg-2.8.6 on my MAC with Android Studio following the tutorial It makes the .so files as files generated from ffmpeg

Now I can’t understand what should I do to integrate this in my Android project, I have also checked,

How to use Ffmpeg in android studio?

how to use ffmpeg in android?

FFmpeg on Android

and mainly this,

But its not working and having errors with no way to resolve this. Can anyone please mention some steps that should be followed to use FFMPEG .so files as in image attached.


There’s a very easy solution for this, There’s a precompiled library for android, as below Simply include this as a gradle project in your code and add few methods as per their documentation and you are done with FFMPEG commands in android. This library is not very updated and have some missing features but still its good to use for many simple tasks.

Answered By – arslan haktic

Leave a Comment