PkuTeaboss / ffmpeg-ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FFmpeg iOS build script

Build Status Flattr this git repo

This is a shell script to build FFmpeg libraries for iOS and tvOS apps.

Tested with:

  • FFmpeg 2.8.5
  • Xcode 7.2

Requirements

Usage

Use build-ffmpeg-tvos.sh for tvOS.

  • To build everything:

      ./build-ffmpeg.sh
    
  • To build arm64 libraries:

      ./build-ffmpeg.sh arm64
    
  • To build fat libraries for armv7 and x86_64 (64-bit simulator):

      ./build-ffmpeg.sh armv7 x86_64
    
  • To build fat libraries from separately built thin libraries:

      ./build-ffmpeg.sh lipo
    

Download

You can download a binary for FFmpeg 2.8.5 release at https://downloads.sourceforge.net/project/ffmpeg-ios/ffmpeg-ios-master.tar.bz2

External libraries

You should link your app with

  • libz.dylib
  • libbz2.dylib
  • libiconv.dylib

Influences

About


Languages

Language:C 56.5%Language:Makefile 36.6%Language:Assembly 3.4%Language:C++ 3.4%Language:Objective-C 0.1%Language:Shell 0.1%Language:Perl 0.0%Language:CSS 0.0%Language:Python 0.0%Language:HTML 0.0%Language:Verilog 0.0%Language:Groff 0.0%