video-rs 0.10.4

High-level video toolkit based on ffmpeg.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate ffmpeg_next as ffmpeg;

use crate::ffi::init_logging;

/// Initialize global ffmpeg settings. This also intializes the
/// logging capability and redirect it to `tracing`.
pub fn init() -> Result<(), Box<dyn std::error::Error>> {
    ffmpeg::init()?;

    // Redirect logging to the Rust `tracing` crate.
    init_logging();

    Ok(())
}