Skip to content

liuchaogenius/FFmpeg-iOS-build-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 3.1.1
  • Xcode 7.3

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 3.1.1 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

Shell scripts to build FFmpeg for iOS and tvOS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%