Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 67c9e62

Browse files
committed
README
1 parent 1e4515c commit 67c9e62

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "ffmpeg-sys"
33
version = "4.0.2"
44
build = "build.rs"
55
links = "ffmpeg"
6-
6+
readme = "README.md"
77
authors = ["meh. <[email protected]>"]
88
license = "WTFPL"
99

Diff for: README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Rust FFI bindings for ffmpeg
2+
3+
Low-level bindings for ffmpeg autogenerated with bindgen. This crate supports cross-compilation automatically.
4+
5+
For higher-level library, see [ffmpeg crate](https://lib.rs/ffmpeg).
6+
7+
## Building
8+
9+
By default, the crate will search for ffmpeg v4 installed on the system.
10+
11+
This crate can also download, build and statically link its own copy of ffmpeg if you enable `build` feature:
12+
13+
```toml
14+
[dependencies]
15+
ffmpeg-sys = { version = "4", features = ["build"] }
16+
```
17+
18+
See [Cargo features](https://github.com/meh/rust-ffmpeg/blob/HEAD/Cargo.toml) to control which codecs are included.
19+

0 commit comments

Comments
 (0)