Swiftpack.co - SDWebImage/libvmaf-Xcode as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by SDWebImage.
SDWebImage/libvmaf-Xcode 2.3.1
A wrapper for libvmaf + Xcode project. Support Carthage && CocoaPods.
⭐️ 2
🕓 3 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/SDWebImage/libvmaf-Xcode.git", from: "2.3.1")

libvmaf + Xcode

CI Status Version License Platform Carthage compatible SwiftPM compatible

A wrapper for libvmaf + Xcode project. This enables Carthage support.

This repo also including the CocoaPods's spec file to use libvmaf.


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


This Carthage and CocoaPods support, disable the architecture specify assembly code, and use the pure C implementation instead. This because both the lack support for CocoaPods and Xcode NASM compiler.

If you want the best performance for specify architecture, try to read the README from vmaf to build the pre-built with Meson and Ninja by your own.



libvmaf is (via this repo) available through Carthage.

github "SDWebImage/libvmaf-Xcode"


libvmaf is available through CocoaPods.

pod 'libvmaf'

Swift Package Manager (Xcode 11+)

libvmaf is available through Swift Package Manager.

let package = Package(
    dependencies: [
        .package(url: "https://github.com/SDWebImage/libvmaf-Xcode.git", from: "2.2.0")


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


libvmaf is available under the BSD-2-Clause-Patent License.


Stars: 2
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics