{"id":72440,"library":"ffmpeg-sys","title":"FFmpeg Sys","description":"FFI bindings to FFmpeg.","status":"active","version":"4.3.3","language":"rust","source_language":null,"source_url":"https://github.com/meh/rust-ffmpeg-sys","tags":["ffmpeg","ffi","bindings","multimedia","video"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nffmpeg-sys = \"4.3.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add ffmpeg-sys","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"avformat_open_input","correct":"use ffmpeg_sys::*;"}],"quickstart":{"code":"use ffmpeg_sys::*;\n\nfn main() {\n    unsafe {\n        av_register_all();\n        let mut fmt_ctx: *mut AVFormatContext = std::ptr::null_mut();\n        avformat_open_input(&mut fmt_ctx, b\"input.mp4\\0\" as *const u8, std::ptr::null(), std::ptr::null_mut());\n    }\n}","lang":"rust","description":"Opens an input file using FFmpeg."},"warnings":[{"fix":"Install FFmpeg development libraries (e.g., libavformat-dev, libavcodec-dev)","message":"Requires FFmpeg libraries installed on the system","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Ensure proper memory management and follow FFmpeg API conventions","message":"Unsafe code; incorrect usage can cause undefined behavior","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'bind':4,9 'ffi':3,8 'ffmpeg':1,6,7 'multimedia':10 'sys':2 'video':11","created_at":"2026-06-17T18:39:10.003956+00:00","updated_at":"2026-06-17T18:39:10.003956+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/meh/rust-ffmpeg-sys","github":"https://github.com/meh/rust-ffmpeg-sys","docs":"https://docs.rs/ffmpeg-sys/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}