easy-ffprobe

Crates.ioeasy-ffprobe
lib.rseasy-ffprobe
version0.5.2
sourcesrc
created_at2024-10-27 13:43:15.966193
updated_at2024-10-30 09:55:11.777906
descriptionTyped wrapper for the ffprobe CLI. This is a fork of the original ffprobe-rs crate, which is no longer maintained.
homepage
repositoryhttps://github.com/frederik-uni/ffprobe-rs
max_upload_size
id1424636
size56,274
(frederik-uni)

documentation

README

ffprobe-rs

crates.io Documentation

Simple wrapper for the ffprobe CLI utility, which is part of the ffmpeg tool suite.

This crate allows retrieving typed information about media files (images and videos) by invoking ffprobe with JSON output options and deserializing the data into convenient Rust types.

Example

fn main() {
    match ffprobe::ffprobe("path/to/video.mp4") {
        Ok(info) => {
	    dbg!(info);
        },
	Err(err) => {
	    eprintln!("Could not analyze file with ffprobe: {:?}", err);
	}
    }
}
Commit count: 49

cargo fmt