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 http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/ It makes the .so files as 从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,

http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/

https://github.com/roman10/android-ffmpeg-tutorial

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 https://github.com/WritingMinds/ffmpeg-android-java 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.

链接地址: http://www.djcxy.com/p/90268.html

上一篇: Chrome Workspace源代码自动完成不起作用

下一篇: 如何在android studio项目中使用最新的FFMPEG?