[FFmpeg-devel] MPEG decoding on the iPhone is buggy

Yoni Levy yonilevy
Thu Oct 1 19:02:07 CEST 2009


2009/10/1 M?ns Rullg?rd <mans at mansr.com>

> You still have generic ARM optimisations enabled.  Pass --arch=c for a
> pure C build.
>
>
Thank you for that, I'm now able to decode MPEG4 on my iPhone :)

On Thu, Oct 1, 2009 at 6:48 PM, Jason Millard <jsm174 at gmail.com> wrote:

> You'll definitely want to compile with the latest iPhone SDK and use GCC
> 4.2. If you use 4.0.1, ffmpeg libraries run extremely slow.
>

I'm aware of that, it was just for a proof of concept.


> I run into the same compile issues you are running into with
> dsputil_arm_s.S
> and a few others, so I usually just shut off ARM optimizations off all
> together.
>
> ./configure --enable-cross-compile --arch=arm --disable-armv5te
> --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-iwmmxt
> --disable-altivec --disable-neon --cc=arm-apple-darwin9-gcc-4.2.1
>
> After ./configure, I go in and manually edit config.h and config.mak:
>
> ARCH_ARM no
> HAVE_ARCH_ARM 0
>

Again, thanks for the advice, it now works :)



More information about the ffmpeg-devel mailing list