android ffmpeg .so download(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 下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:android ffmpeg .so 下载
基础教程推荐
- NSString intValue 不能用于检索电话号码 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
