Shell scripts to build FFmpeg for iOS and tvOS
Last updated Jun 27, 2026
3.1k
Stars
895
Forks
12
Issues
0
Stars/day
Attention Score
78
Language breakdown
No language data available.
โธ Files
click to expand
README
FFmpeg iOS build script
See the following repository for Swift package, .xcframeworks and more:
https://github.com/kewlbear/FFmpeg-iOS
This is a shell script to build FFmpeg libraries for iOS and tvOS apps.
Tested with:
- FFmpeg 4.3.1
- Xcode 12.2
Requirements
- https://github.com/libav/gas-preprocessor
- yasm 1.2.0
Usage
Use build-ffmpeg-tvos.sh for tvOS.
- To build everything:
- To build arm64 libraries:
- To build fat libraries for armv7 and x86_64 (64-bit simulator):
- To build fat libraries from separately built thin libraries:
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
๐ More in this category