Swiftpack.co - Ponyboy47/FFProbe as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Ponyboy47.
Ponyboy47/FFProbe 0.2.1
A Swift library for processing output from the ffprobe utility
⭐️ 3
🕓 4 years ago
.package(url: "https://github.com/Ponyboy47/FFProbe.git", from: "0.2.1")

FFProbe

A utility for processing output from the ffprobe command that comes with ffmpeg

Installation

Swift Package Manager

.package(url: "https://github.com/Ponyboy47/FFProbe.git", from: "0.2.0")

Usage

import FFProbe

let probe = try FFProbe(from: "/path/to/media/file")

// [VideoStream]
print(probe.video)

// [AudioStream]
print(probe.audio)

// [SubtitleStream]
print(probe.subtitle)

// [DataStream]
print(probe.data)

License

MIT

GitHub

link
Stars: 3
Last commit: 4 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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