Crates.io | ffms2-sys |
lib.rs | ffms2-sys |
version | 0.2.0 |
source | src |
created_at | 2020-12-02 17:56:50.117935 |
updated_at | 2021-05-18 10:12:45.360854 |
description | FFI bindings to ffms2 |
homepage | |
repository | https://github.com/rust-av/ffms2-rs |
max_upload_size | |
id | 318968 |
size | 5,856 |
Automatically generated bindings for FFMS2.
This crate requires an installed version of FFMS2 on the build system. If possible, it will use pkg-config to locate and link the libraries. Otherwise, it could utilize the environment variables FFMS_INCLUDE_DIR and FFMS_LIB_DIR to locate the required files specified by the user.
The strategy with the environment variables is especially helpful on Microsoft Windows. In this case, one does not even have to compile the library at all. Instead, developers could refer to the official releases. FFMS_INCLUDE_DIR corresponds to the "include" directory while FFMS_LIB_DIR must point to "x64" or "x32", respectively. For the distribution of the final artifact, the corresponding *.dll must be shipped with the executable.