ptrkstr / ffmpeg-kit-spm

A Swift Pacakge version of FFmpegKit to allow embedding of FFmpeg in iOS, macOS, and tvOS applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FFmpegKit SPM

This is a Swift Package Manager compatible version of FFmpegKit. It distributes and bundles the ffmpeg-kit-https version for iOS, macOS and tvOS as a single xcframework.

Installation

Add this repo to as a Swift Package dependency to your project

https://github.com/tylerjonesio/ffmpeg-kit-spm

If using this in a swift package, add this repo as a dependency.

.package(url: "https://github.com/tylerjonesio/ffmpeg-kit-spm/", .upToNextMajor(from: "5.1.0"))

Usage

To get started, import this library: import ffmpegkit
If you are wanting to use the FFmpeg libav c libraries directly: import FFmpeg

See the FFmpegKit wiki for more info on integration and usage for FFmpeg.
For using FFmpeg directly, see the FFmpeg documentation here

Building

If you would like to build your own xcframework binaries run the build.sh script on a macOS machine.

About

A Swift Pacakge version of FFmpegKit to allow embedding of FFmpeg in iOS, macOS, and tvOS applications.

License:GNU Lesser General Public License v3.0


Languages

Language:Shell 44.1%Language:Swift 42.8%Language:C 13.1%