且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Android Studio 项目中使用最新的 FFMPEG?

更新时间:2023-10-06 14:00:16

有一个非常简单的解决方案,有一个适用于 android 的预编译库,如下 https://github.com/WritingMinds/ffmpeg-android-java只需将其作为 gradle 项目包含在您的代码中,并根据他们的文档添加一些方法,您就可以在 android 中使用 FFMPEG 命令.这个库不是很更新,有一些缺失的功能,但仍然可以很好地用于许多简单的任务.

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.