android ffmpeg .so 下载 [英] android ffmpeg .so download

查看:42
本文介绍了android ffmpeg .so 下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道从哪里可以得到编译的 Android .so FFMPEG 库吗?

Anybody knows from where to get compiled .so FFMPEG library for Android?

我尝试了数千次在 windows-7 上使用 Android NDK 手动编译 FFMPEG但从未成功.

I tried thousand of times to compile the FFMPEG manually on windows-7 using Android NDK but never succeeded.

所以我认为最好使用预编译的库,因为我已经使用了与以下相同的技术:https://github.com/guardianproject/SSCVideoProto

So I think it's better to use precompiled lib as I'm already using the same same technolgy that used in: https://github.com/guardianproject/SSCVideoProto

但是这个项目中的ffmpeg lib已经很老了.

But the ffmpeg lib in this project is very old.

非常感谢任何帮助......

Any help is much appreciated.......

推荐答案

它是为 ffmpeg 2.0 构建的,因为它与 android-ndk-r9b 集成 下载预建的*.so.

It was built to ffmpeg 2.0 since integrate with android-ndk-r9b Download the prebuilt *.so.

设置*.so文件:

1 - 添加文件夹 jni/libs/*.so

1 - Add folder jni/libs/*.so

2 - 使用鼠标右键";->安卓工具 ->添加原生支持 ->设置文件名*.cpp

2 - Use "Right-click mouse" -> Android Tools -> Add native support -> Set name of file *.cpp

3 - 出现了两个文件:*.cpp 和 Android.mk.

3 - Two files : *.cpp and Android.mk appeared.

4 - 使用 Cygwin 构建 &将 *.so 编译到项目中.

4 - Use Cygwin to build & compile *.so into the project.

如何在你的 android 项目中加载另一个 .so 文件?.

@Sanket Excute 命令在将参数传递给 C++ 方法之前需要先知道这一点:

@Sanket Excute command need know this first before transfer parameters to the C++ method :

调用Java文件中C++文件中的C++方法

这篇关于android ffmpeg .so 下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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