FFMPEG的机器人(使用教程:" ffmpeg的和Android.mk") [英] ffmpeg for a android (using tutorial: "ffmpeg and Android.mk")

查看:208
本文介绍了FFMPEG的机器人(使用教程:" ffmpeg的和Android.mk")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编译的ffmpeg的机器人。我发现这个主题的几个职位,但非这些似乎工作。如果试图建立的ffmpeg像它张贴在[1]。有没有人用论文教程成功编译的ffmpeg? 我不知道如何实现的步骤4〜5。

I am trying to compile ffmpeg for a android. I have found several posts on this theme but non of these seems to work. If tried to build ffmpeg like it is posted on [1]. Did anybody successfully compile ffmpeg using theses tutorial? I am not sure how to realize step 4 to 5.

第四步:配置...

第5步:cd到你的NDK根目录,输入make TARGET_ARCH =手臂APP = ffmpeg的,组织

STEP5: cd to your NDK root dir, type make TARGET_ARCH=arm APP=ffmpeg-org

在我看来,建立一个应用程序就像是在教程中介绍的步骤5需要一些previous步骤。不幸的是我的文件夹中没有应用程序,使。我现在用的是目前Android NDK版本3,并检查了实际的ffmpeg版本的[3] [4]。我很感谢每一个建议。

It seems to me that building an application like it is explained in the tutorial in step 5 need some previous steps. Unfortunately I have no app in the folder to make. I am using the current android ndk release 3 and checked out the actual ffmpeg releases from [3] and [4]. I am thankful for every advice.

[1] HTTP://slworkthings.word$p$pss.com/
[2] <一个href="http://gitorious.org/~olvaffe/ffmpeg/ffmpeg-android">http://gitorious.org/~olvaffe/ffmpeg/ffmpeg-android
[3] http://ffmpeg.org/download.html

[1] http://slworkthings.wordpress.com/
[2] http://gitorious.org/~olvaffe/ffmpeg/ffmpeg-android
[3] http://ffmpeg.org/download.html

推荐答案

在环视净。唯一的解决办法的工作,我发现被Bambuser其移植的ffmpeg在他们的Andr​​oid应用程序中使用提供的。

After looking around the net. The only working solution I found is supplied by Bambuser which ported ffmpeg to use in their android application.

code是在这里: http://bambuser.com/opensource

Code is here: http://bambuser.com/opensource

基本上你的.so文件复制到你的JNI / lib目录,以及您可能需要,通过创建javah的JNI封装任何.h文件,和它的作品。

Basically you copy the .so files to your jni/lib directory, along with any .h files you might need, create a JNI wrapper through javah, and it works.

修改

由于这篇文章写了几个包装的ffmpeg项目为Android浮出水面,最简单的人之一,编译和使用是在这里:的 https://github.com/guardianproject/android-ffmpeg

Since this post was written a few packaged ffmpeg projects for android surfaced, one of the easiest ones to compile and use is here: https://github.com/guardianproject/android-ffmpeg .

它采用了静态编译的二进制(而不是库)的方法,通过shell命令在运行时跑了。搜索github上的安卓的ffmpeg 的叉子和相关项目。

It takes the approach of statically compiling a binary (not a library) that is ran through shell command in run time. Search github for 'android ffmpeg' for forks and related projects.

没有找到一个很好的包装基础的方法JNI的实现,虽然。

Did not find a well packaged method based JNI implementation, though.

这篇关于FFMPEG的机器人(使用教程:&QUOT; ffmpeg的和Android.mk&QUOT;)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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