FFmpeg iOS build script
This is a shell script to build FFmpeg libraries for iOS and tvOS apps.
- FFmpeg 4.2
- Xcode 10.1
- yasm 1.2.0
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):
./build-ffmpeg.sh armv7 x86_64
To build fat libraries from separately built thin libraries:
You can download a binary for FFmpeg 4.2 release at https://downloads.sourceforge.net/project/ffmpeg-ios/ffmpeg-ios-master.tar.bz2
You should link your app with