A utility for processing output from the ffprobe
command that comes with ffmpeg
Swift Package Manager
.package(url: "https://github.com/Ponyboy47/FFProbe.git", from: "0.2.0")
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)
MIT