mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-07-10 21:18:39 -07:00
README
This commit is contained in:
committed by
Till Höppner
parent
3a3b06db1d
commit
e0f9c6805e
+1
-1
@@ -3,7 +3,7 @@ name = "ffmpeg-sys"
|
||||
version = "4.0.2"
|
||||
build = "build.rs"
|
||||
links = "ffmpeg"
|
||||
|
||||
readme = "README.md"
|
||||
authors = ["meh. <meh@schizofreni.co>"]
|
||||
license = "WTFPL"
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# Rust FFI bindings for ffmpeg
|
||||
|
||||
Low-level bindings for ffmpeg autogenerated with bindgen. This crate supports cross-compilation automatically.
|
||||
|
||||
For higher-level library, see [ffmpeg crate](https://lib.rs/ffmpeg).
|
||||
|
||||
## Building
|
||||
|
||||
By default, the crate will search for ffmpeg v4 installed on the system.
|
||||
|
||||
This crate can also download, build and statically link its own copy of ffmpeg if you enable `build` feature:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
ffmpeg-sys = { version = "4", features = ["build"] }
|
||||
```
|
||||
|
||||
See [Cargo features](https://github.com/meh/rust-ffmpeg/blob/HEAD/Cargo.toml) to control which codecs are included.
|
||||
|
||||
Reference in New Issue
Block a user