[Libav-user] Reference app with ffmpeg n1.2 libs that works on IOS ?

Lars Hammarstrand lars.hammarstrand at gmail.com
Sat Mar 30 07:18:14 CET 2013


2013/3/30 Alex Cohn <alexcohn at netvision.net.il>

> On 30 Mar 2013 02:32, "Lars Hammarstrand" <lars.hammarstrand at gmail.com>
> wrote:
> > 1. XBMC is stopping at:
> > ff_pred8x8_128_dc_neon: (libavcodec/arm/h264pred_neon.S)
> > 0x5bc84:  cdpeq  p15, #5, c15, c0, c0, #4 <-- Thread 3:
> EXC_BAD_INSTRUCTION (code=EXC_ARM_UNDEFINED, subcode=0xe50ff80)
> > 0x5bc88:  svclt  #57436
>
> Not all iOS devices are born equal in terms of their ARM core. Which
> device crashed for you with bad instruction at
>
> >         vmov.i8         q0,  #128
>
> BR,
> Alex
>

Ipad 1st gen, ios 5.0. FFmpeg libs built with the following config flags:

# ./configure
--target-os=darwin
--disable-muxers
--disable-encoders
--disable-devices
--disable-doc
--disable-ffplay
--disable-ffmpeg
--disable-ffprobe
--disable-ffserver
--disable-vda
--disable-crystalhd
--disable-decoder=mpeg_xvmc
--cpu=cortex-a8
--arch=arm
--enable-cross-compile
--enable-pic
--disable-armv5te
--disable-armv6t2
--enable-neon
--disable-libvorbis
--enable-gpl
--enable-postproc
--enable-static
--enable-pthreads
--enable-muxer=spdif
--enable-muxer=adts
--enable-encoder=ac3
--enable-encoder=aac
--enable-protocol=http
--enable-runtime-cpudetect
--cc=clang
--as='/Users/Shared/xbmc-depends/buildtools-native/bin/gas-preprocessor.pl/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2'
--extra-cflags='-O2
                -mcpu=cortex-a8
                -mfpu=neon
                -ftree-vectorize
                -mfloat-abi=softfp
                -pipe
                -Wno-trigraphs
                -fpascal-strings
                -Wreturn-type
                -Wunused-variable
                -fmessage-length=0
                -gdwarf-2
                -arch armv7
                -miphoneos-version-min=4.2
                -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk

-I/Users/Shared/xbmc-depends/iphoneos6.1_armv7-target/include
                -mcpu=cortex-a8
                -mfpu=neon
                -ftree-vectorize
                -mfloat-abi=softfp
                -pipe
                -Wno-trigraphs
                -fpascal-strings
                -Wreturn-type
                -Wunused-variable
                -fmessage-length=0
                -gdwarf-2
                -arch armv7
                -miphoneos-version-min=4.2
                -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk

-I/Users/Shared/xbmc-depends/iphoneos6.1_armv7-target/include
                -O3
                -g
                -D_DEBUG
                -Wall
                -w
                -D_DARWIN_C_SOURCE
                -Dattribute_deprecated='
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130330/cff94ab2/attachment.html>


More information about the Libav-user mailing list