FFI bindings to FFmpeg.
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Opens an input file using FFmpeg.
use ffmpeg_sys::*;
fn main() {
unsafe {
av_register_all();
let mut fmt_ctx: *mut AVFormatContext = std::ptr::null_mut();
avformat_open_input(&mut fmt_ctx, b"input.mp4\0" as *const u8, std::ptr::null(), std::ptr::null_mut());
}
}
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.