Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kewlbear/ffmpeg-ios-build-script
Shell scripts to build FFmpeg for iOS and tvOS
https://github.com/kewlbear/ffmpeg-ios-build-script
ffmpeg ios tvos
Last synced: about 6 hours ago
JSON representation
Shell scripts to build FFmpeg for iOS and tvOS
- Host: GitHub
- URL: https://github.com/kewlbear/ffmpeg-ios-build-script
- Owner: kewlbear
- Created: 2013-08-19T05:25:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T06:18:06.000Z (7 months ago)
- Last Synced: 2025-01-07T18:11:52.048Z (13 days ago)
- Topics: ffmpeg, ios, tvos
- Language: Shell
- Homepage:
- Size: 54.7 KB
- Stars: 3,044
- Watchers: 155
- Forks: 891
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# FFmpeg iOS build script
See the following repository for Swift package, .xcframeworks and more:
https://github.com/kewlbear/FFmpeg-iOS
[![Build Status](https://travis-ci.org/kewlbear/FFmpeg-iOS-build-script.svg?branch=master)](https://travis-ci.org/kewlbear/FFmpeg-iOS-build-script)
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:
./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