Ponyboy47 / FFProbe

A Swift library for processing output from the ffprobe utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Swift library for processing output from the ffprobe utility

License:MIT License


Languages

Language:Swift 100.0%