Skip to content
Shell script to build FFmpeg for iOS. The version to try to minimize the final library size.
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.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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



  • To build everything:

  • To build arm64 libraries:

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

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

      ./ lipo


You can download a binary for FFmpeg 2.4.1 release at

External libraries

You should link your app with

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


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

You can’t perform that action at this time.