[FFmpeg-devel] ffmpeg based video player for ios devices.
Gavin Kinsey
gkinsey at ad-holdings.co.uk
Tue Apr 17 14:28:53 CEST 2012
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
--
Gavin Kinsey
AD Holdings Plc
This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system; you may not copy this message or disclose its contents to anyone. The recipient should check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. Contact Customer Services for details customerservices at dmicros.com
More information about the ffmpeg-devel
mailing list