Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,34 @@

[![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.
This is a shell script to build FFmpeg as XCFramework

Tested with:

* FFmpeg 4.2
* Xcode 10.1
* Xcode 11

## Requirements

* https://github.com/libav/gas-preprocessor
* yasm 1.2.0

## Usage

Use build-ffmpeg-tvos.sh for tvOS.

* To build everything:
## Supported platforms

./build-ffmpeg.sh
* iOS: arm64 for device and X86_64 for simulator
* tvOS: arm64 for device and X86_64 for simulator
* macOS: X86_64
* macOS-catalyst: X86_64

* To build arm64 libraries:

./build-ffmpeg.sh arm64
## Usage

* To build fat libraries for armv7 and x86_64 (64-bit simulator):
* To build XCFramework with all platforms included, run

./build-ffmpeg.sh armv7 x86_64
./build.sh

* To build fat libraries from separately built thin libraries:
## Issues

./build-ffmpeg.sh lipo
* x86_64 binaries are built without ASM support, since ASM for x86_64 is actually x86 and that confuses `xcodebuild -create-xcframework`

## Download

Expand Down
191 changes: 0 additions & 191 deletions build-ffmpeg-iOS-framework.sh

This file was deleted.

156 changes: 0 additions & 156 deletions build-ffmpeg-tvos.sh

This file was deleted.

Loading