如何建立在GitHub上Android的ffmpeg的项目最新的ffmpeg [英] How to build latest ffmpeg for android-ffmpeg project on github

查看:2318
本文介绍了如何建立在GitHub上Android的ffmpeg的项目最新的ffmpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作 https://github.com/guardianproject/android-ffmpeg 项目。
在这个项目中,它使用的ffmpeg版本0.11.1。
如何建立这个项目的最新版本的ffmpeg?

I am working on https://github.com/guardianproject/android-ffmpeg project. In this project, it uses ffmpeg version 0.11.1. How can i build this project with the latest ffmpeg version?

我试图删除这个项目ffmpeg的文件夹中。收银台网址最新的ffmpeg版本:混帐://git.videolan.org/ffmpeg.git。在那之后,我跑命令./configure_make_everything.sh正常的,但我得到了错误:

I try to delete ffmpeg folder in this project. Checkout the latest ffmpeg version in url: [git://git.videolan.org/ffmpeg.git]. After that, i ran command ./configure_make_everything.sh as normal but i got error:

    File to patch: 
Skip this patch? [y] 
Skipping patch.
3 out of 3 hunks ignored
patching file libavutil/arm/intmath.h
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored
patching file configure
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored
~/workspace/android-ffmpeg/ffmpeg ~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
**ERROR: freetype2 not found**

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
~/workspace/android-ffmpeg
~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
~/workspace/android-ffmpeg/ffmpeg ~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
Makefile:2: config.mak: No such file or directory
Makefile:53: /common.mak: No such file or directory
Makefile:93: /libavutil/Makefile: No such file or directory
Makefile:93: /library.mak: No such file or directory
Makefile:95: /doc/Makefile: No such file or directory
Makefile:178: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
Makefile:2: config.mak: No such file or directory
Makefile:53: /common.mak: No such file or directory
Makefile:93: /libavutil/Makefile: No such file or directory
Makefile:93: /library.mak: No such file or directory
Makefile:95: /doc/Makefile: No such file or directory
Makefile:178: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.
~/workspace/android-ffmpeg ~/workspace/android-ffmpeg
~/workspace/android-ffmpeg
admin@ubuntu:~/workspace/android-ffmpeg$

我得到的错误:对FreeType2没有找到,但如果我与原来的ffmpeg建立包括在这个项目中,不会出现此错误。

I got error: Freetype2 not found but if i build with the original ffmpeg include in this project, this error is not occur.

我该如何解决?请帮助

推荐答案

这是将近一年前,所以我假设你不是在等待答案,但我有一个。我分叉的守护项目,并更新了子模块的条目。

This was almost a year ago, so I assume you're not waiting for answers, but I have one. I forked the guardian project and updated the submodule entries.

https://github.com/touchlab/android-ffmpeg

您需要根据顶部的音符手工编辑的ffmpeg /配置。忽略有关的ffmpeg / libavutil / ARM / intmath.h的部分。

You'll need to hand-edit the ffmpeg/configure according to the notes at the top. Ignore the part about ffmpeg/libavutil/arm/intmath.h.

我已经建立了这个NDK与R10C。

I've built this with ndk r10c.

这篇关于如何建立在GitHub上Android的ffmpeg的项目最新的ffmpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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