Giter Site home page Giter Site logo

ffmpeg-iphone-build's Introduction

Build scripts for ffmpeg on iPhone SDK 3.0 (and iPhone Simulator SDK).

Scripts

  • build-[arch]: Build scripts for each arch; Run these first and then combine-ffmpeg-libs

  • combine-libs: Creates universal binaries; Runs lipo -create on each of the ffmpeg static libs

  • build-x264-[arch]: x264 build scripts for each arch; Run these before normal build script to include x264 support

  • combine-x264-libs: Creates universal binaries; Runs lipo -create on each of the x264 static libs

  • build-xvid-[arch]: xvid build scripts for each arch; Run these before normal build script to include xvid support

Revision

The current ffmpeg trunk doesn't build with arm, so had to go back to r22404 in order to build arm targets. The i386 build does work on trunk (r22610) when I tried last.

The changes that broke compilation are from: http://git.ffmpeg.org/?p=ffmpeg;a=commitdiff;h=af29d08a05d35c3b74e48d5f6c5cd56f1770eeca

The gas-preprocessor breaks because of nested macros in arm/asm.S; I believe there are other issues as well though.

Background

For background, follow this thread: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/076618.html

To make lipo'able libraries, you need to use gcc-4.2 with extra cflags instead of the specific arm-apple-darwin10-gcc-4.2.1 compiler.

The armv6 arch doesn't seem to be working properly so you can force building via armv7 on your 3GS until we figure that out.

X264

For x264 support in ffmpeg, run those build scripts first, and the ffmpeg build scripts will include it.

Gas preprocessor

Uses a modified gas preprocessor via http://github.com/yuvi/gas-preprocessor/

ffmpeg-iphone-build's People

Contributors

gabriel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.