如何在Android工作室使用Ffmpeg? [英] How to use Ffmpeg in android studio?

查看:155
本文介绍了如何在Android工作室使用Ffmpeg?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想压缩视频,只找到一个解决方案来使用ffmpeg。

I want to compress video and found only one solution to use ffmpeg.

我发现这个尝试使用FFMPEG进行安卓。编译但仍然不工作,但不能得到他如何编译它。

I found this Trying to use FFMPEG for android. Compiling but still not working but not able to get how he compiled it.

推荐答案

您可以使用预编译的库 JavaCPP预设以及 FFmpegFrameRecorder JavaCV 压缩图像,如 RecordActivity示例,例如。

You could use precompiled libs from the JavaCPP Presets along with FFmpegFrameRecorder from JavaCV to compress images, as shown in the RecordActivity sample, for example.

这篇关于如何在Android工作室使用Ffmpeg?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆