为armv7s编译ffmpeg

时间:2014-08-14 14:13:26

标签: ios macos ffmpeg armv7

我正在尝试在OSX 10.9上编译ffmpeg。我想在使用xCode的iOS测试应用程序中使用ffmpeg框架。

我想将libfaac链接到ffmpeg并为armv7s编译它。当我在ffmpeg网站上遵循编译指南(https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX)时,它不起作用。

我使用了以下配置:

./configure  --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --arch=armv7s

我尝试的其他配置是

./configure  --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --arch=armv7s --enable-cross-compile --target-os=darwin

两种配置之间的区别在于交叉编译和目标操作系统。

两种配置都会产生以下错误消息:

GNU assembler not found, install gas-preprocessor

虽然,我已将gas-preprocessor.pl复制到目录/ usr / local / bin和/ usr / bin中,并使用chmod + x gas-preprocessor.pl

修改了文件读写道具

有人可以通过提供一个有效的示例配置来帮助我配置ffmpeg吗?

0 个答案:

没有答案
相关问题