Ios AAC ffmpeg编码

Ios AAC ffmpeg编码,ios,ffmpeg,h.264,flv,aac,Ios,Ffmpeg,H.264,Flv,Aac,因此,我花了一天的大部分时间为iOS编写FFMPEG客户端,在尝试将硬件编码的h.264/aac mov文件转换为h.264/aac flv时遇到了问题。我借用了muxing.c示例代码,并将其转换为现代objective-c。我的aac编码器有问题,它说 我想知道是否可以在运行时添加-strict-2命令,或者在启用实验编码器的情况下编译库? 此外,我的库似乎缺少一些编码器(我只尝试了speex和mp3)。我用以下方法汇编: ./configure \ --prefix=armv7 \ --

因此,我花了一天的大部分时间为iOS编写FFMPEG客户端,在尝试将硬件编码的h.264/aac mov文件转换为h.264/aac flv时遇到了问题。我借用了
muxing.c
示例代码,并将其转换为现代objective-c。我的aac编码器有问题,它说

我想知道是否可以在运行时添加
-strict-2
命令,或者在启用实验编码器的情况下编译库?
此外,我的库似乎缺少一些编码器(我只尝试了speex和mp3)。我用以下方法汇编:

./configure \
--prefix=armv7 \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--enable-avresample \
--enable-cross-compile \
--sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk" \
--target-os=darwin \
--cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc" \
--extra-cflags="-arch armv7 -mfpu=neon -miphoneos-version-min=6.1" \
--extra-ldflags="-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=6.1" \
--arch=arm \
--cpu=cortex-a9 \
--enable-pic 
以及其他变化,取决于架构。如果有人能为我的问题提供见解,我将不胜感激