ez-ffmpeg 0.11.0

A safe and ergonomic Rust interface for FFmpeg integration, designed for ease of use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use ez_ffmpeg::FfmpegContext;

fn main() {
    // Build the FFmpeg context
    FfmpegContext::builder()
        // Set input file (e.g., "test.mp4")
        .input("test.mp4")
        // Set output file (e.g., "output.mov")
        .output("output.mov")
        // Build the context and return
        .build().unwrap()
        // Start the FFmpeg transcoding job
        .start().unwrap()
        // Wait for the transcoding job to complete
        .wait().unwrap();
}