Registry / other / ffmpeg-next

ffmpeg-next

JSON →
library8.1.0rscratesunverified

Safe FFmpeg wrapper (FFmpeg 4 compatible fork of the ffmpeg crate).

# Cargo.toml [dependencies] ffmpeg-next = "8.1.0"
INSTALL
IMPORT
SIG · FFMPEG-NEXT
F
ffmpeg-next
otherrustv8.1.0
harness data pending
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.

input
use ffmpeg_next::format::input;

Open a media file and print its duration.

use ffmpeg_next::format::input; fn main() -> Result<(), ffmpeg_next::Error> { ffmpeg_next::init()?; let ictx = input("input.mp4")?; println!("Duration: {}", ictx.duration()); Ok(()) }
Debug
Known issues
gotchaRequires FFmpeg 4.x system libraries installed at build time.
fix
Install FFmpeg development packages (e.g., libavformat-dev, libavcodec-dev).
affects: >=0.0.0
Upgrade
Version history
8.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
ffmpeg-next — cargo add ffmpeg-next · libregistry