Shell scripts to build FFmpeg for iOS and tvOS
Switch branches/tags
Clone or download

FFmpeg iOS build script

Build Status

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

Tested with:

  • FFmpeg 3.4
  • Xcode 9



Use for tvOS.

  • 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 3.4 release at

External libraries

You should link your app with

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