Registry / other / mpv
library0.2.3rscratesunverified

Safe mpv bindings for Rust.

# Cargo.toml [dependencies] mpv = "0.2.3"
INSTALL
IMPORT
SIG · MPV
M
mpv
otherrustv0.2.3
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.

Mpv
use mpv::Mpv;

Creates an mpv instance and loads a video file.

use mpv::Mpv; fn main() { let mpv = Mpv::new().unwrap(); mpv.command("loadfile", &["video.mp4"]).unwrap(); println!("Playing video"); }
Debug
Known issues
gotchaRequires libmpv to be installed on the system.
fix
Install libmpv-dev (Linux) or mpv (macOS/Windows) via package manager.
affects: >=0.2.0
Upgrade
Version history
0.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mpv — cargo add mpv · libregistry