Skip to content
Shell script to build FFmpeg for iOS. The version to try to minimize the final library size.
Shell
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 54 commits behind kewlbear:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.sf
.travis.yml
README.md
build-ffmpeg.sh

README.md

FFmpeg iOS build script

Build Status

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

Tested with:

  • FFmpeg 2.4.1
  • Xcode 6

Requirements

Usage

  • 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.4.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

Stack Exchange Q&A site proposal: Stack Overflow (in Korean)

You can’t perform that action at this time.