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
现在我不明白我应该做什么来将其集成到我的 Android 项目中,我也检查过,
如何在android studio中使用Ffmpeg?
如何在android中使用ffmpeg?
Android 上的 FFmpeg
主要是这个,
http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/
https://github.com/roman10/android-ffmpeg-tutorial
但它不起作用并且出现错误,无法解决此问题。任何人都可以提及使用 FFMPEG .so 文件应遵循的一些步骤,如附图所示。
有一个非常简单的解决方案,有一个适用于 android 的预编译库,如下所示https://github.com/WritingMinds/ffmpeg-android-java只需将其作为 gradle 项目包含在您的代码中,并根据其文档添加一些方法,您就可以在 android 中使用 FFMPEG 命令了。
这个库不是很更新,并且缺少一些功能,但仍然可以很好地用于许多简单的任务。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)