[FFmpeg-devel] ffmpeg based video player for ios devices.

Michael Niedermayer michaelni at gmx.at
Tue Apr 17 15:08:10 CEST 2012

On Tue, Apr 17, 2012 at 01:28:53PM +0100, Gavin Kinsey wrote:
> On Monday 16 April 2012 14:20:59 compn wrote:
> > 
> > actually i think ffmpeg/ffplay/ffserver already builds for iphone.
> > some documentation on how to build it would be nice for users.
> It needs a minor patch to disable assembler optimized versions of a couple 
> of functions, and truly horrendous configure opts, but other than that 
> compiles fine.
> libavutil/arm/intmath.h:
> av_clip_uintp2_arm
> av_clipl_int32_arm
> Those are the two functions that the ancient Apple gcc + latest gas-
> preprocessor fall over on.
> Flags:
> --enable-static --disable-shared --enable-pic --
> sysroot="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk" 
> --extra-ldflags="-arch armv7 -isysroot 
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -
> miphoneos-version-min=4.0" --enable-cross-compile --arch=arm --target-
> os=darwin --
> cc="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc" --
> cpu=cortex-a8 --extra-cflags="-arch armv7 -mfpu=neon -miphoneos-version-
> min=4.0" --disable-debug --enable-small

Please document all this on our wiki, so other people can easily find

(its editable by anyone who creates himself an account)


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120417/02e87a64/attachment.asc>

More information about the ffmpeg-devel mailing list