[go: up one dir, main page]

ffmpeg-sidecar 1.1.1

Wrap a standalone FFmpeg binary in an intuitive Iterator interface.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ffmpeg_sidecar::{download::auto_download, ffprobe::ffprobe_version};

fn main() {
  // Download ffprobe from a configured source.
  // Note that not all distributions include ffprobe in their bundle.
  auto_download().unwrap();

  // Try running the executable and printing the version number.
  let version = ffprobe_version().unwrap();
  println!("ffprobe version: {}", version);
}