Skip to content

kewlbear/FFmpeg-iOS-build-script

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
.sf
 
 
 
 
 
 

FFmpeg iOS build script

See the following repository for Swift package, .xcframeworks and more:

https://github.com/kewlbear/FFmpeg-iOS

Build Status

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

Tested with:

  • FFmpeg 4.3.1
  • Xcode 12.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 4.3.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

About

Shell scripts to build FFmpeg for iOS and tvOS

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages