/SVT-AV1-Xcode

A wrapper for SVT-AV1 + Xcode project. Support SwiftPM && CocoaPods.

Primary LanguageRuby

svt-av1 + Xcode

CI Status Version License Platform SwiftPM compatible

A wrapper for svt-av1 + Xcode project. This enables CocoaPods && SwiftPM support.

This repo also including the CocoaPods's spec file to use svt-av1.

Requirements

  • iOS 8
  • macOS 10.10
  • tvOS 9.0
  • watchOS 2.0

Installation

CocoaPods

svt-av1 is available through CocoaPods.

pod 'svt-av1'

SwiftPM

svt-av1 is available through Swift Package Manager.

let package = Package(
    dependencies: [
        .package(url: "https://github.com/SDWebImage/svt-av1-Xcode", from: "0.8.7")
    ],
    // ...
)

Usage

Use svt-av1 as you would normally, this is just a repo that adds an Xcode proj.

For Swift Package Manager user, it's recommended to use the modular import instead of C headers.

Note you should use svt_av1 instead of svt-av1 when using modular import.

  • Objective-C
@import svt-av1;
// or if you don't use module
#import <svt-av1/EbSvtAv1.h>
  • Swift
import svt_av1

License

svt-av1 is available under the BSD 3-Clause Clear License.