小编Jim*_*Jim的帖子

为iOS6.0 ARMv7处理器构建FFMPEG库

警告:

我刚刚被其他用户告知,有一些法律问题围绕着使用FFMPEG for iOS,请点击这里链接http://multinc.com/2009/08/24/compatibility-between-the-iphone-app-store-和最LGPL /

当我第一次感到慌乱的时候,我写了一下这个问题.现在我可以在休息一下后更清楚.

编辑:了解到你必须为ARMv7,ARMv7s和iOS6.0构建

我正在尝试在XCode 4.5.1项目中使用FFMPEG库.我正在尝试为ARMv7构建它.我正在寻找的是确切的过程和一些解释.我知道这不是一个记录良好的问题.但我知道其他人和我有同样的问题.

我能做什么.

我已经能够构建用于测试的库.

1)我已经能够克隆ffmpeg.对于初学者,这将通过使用ffmpeg源创建目录来开始.(感谢写这篇文章的人)

git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

2)我已经能够编写一个没有任何错误的配置文件.我们稍后会回到这一部分.这是我附加到./configure的命令

./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch = arm --target-os = darwin --cc =/Applications/Xcode .应用程序/内容/开发/平台/ iPhoneOS.platform /开发人员的/ usr/LLVM-GCC-4.2 /斌/ ARM-苹果darwin10-LLVM-GCC-4.2

--as ='气体预处理器/ gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm -GCC-4.2'

--sysroot = /应用/ xcode.app /内容/开发商/平台/ iPhoneOS.platform /开发商/软件开发工具包/ iPhoneOS6.0.sdk

--cpu =皮质-A8 --extra-LDFLAGS = ' - 拱= ARMv7的-isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk' --enable -pic --disable-bzlib --disable-gpl --disable-shared --enable-static --disable-mmx --disable-debug --disable-neon --extra-cflags =' - pipe -Os -gdwarf -2 -isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -m $ …

iphone gcc ffmpeg armv7 ios6

13
推荐指数
1
解决办法
1万
查看次数

标签 统计

armv7 ×1

ffmpeg ×1

gcc ×1

ios6 ×1

iphone ×1