ffmpeg-sys-next

Crates.ioffmpeg-sys-next
lib.rsffmpeg-sys-next
version7.0.0
sourcesrc
created_at2020-06-02 10:36:10.729306
updated_at2024-04-02 20:22:44.982184
descriptionFFI bindings to FFmpeg
homepage
repositoryhttps://github.com/zmwangx/rust-ffmpeg-sys
max_upload_size
id249204
size82,896
(Polochon-street)

documentation

README

[![ffmpeg-sys-next on crates.io](https://img.shields.io/crates/v/ffmpeg-sys-next?cacheSeconds=3600)](https://crates.io/crates/ffmpeg-sys-next) [![build](https://github.com/zmwangx/rust-ffmpeg-sys/workflows/build/badge.svg)](https://github.com/zmwangx/rust-ffmpeg-sys/actions) This is a fork of the abandoned [ffmpeg-sys](https://github.com/meh/rust-ffmpeg-sys) crate. You can find this crate as [ffmpeg-sys-next](https://crates.io/crates/ffmpeg-sys-next) on crates.io. This crate contains low level bindings to FFmpeg. You're probably interested in the high level bindings instead: [ffmpeg-next](https://github.com/zmwangx/rust-ffmpeg). A word on versioning: major and minor versions track major and minor versions of FFmpeg, e.g. 4.2.x of this crate has been updated to support the 4.2.x series of FFmpeg. Patch level is reserved for bug fixes of this crate and does not track FFmpeg patch versions. ## Feature flags In addition to feature flags declared in `Cargo.toml`, this crate performs various compile-time version and feature detections and exposes the results in additional flags. These flags are briefly documented below; run `cargo build -vv` to view more details. - `ffmpeg__` flags (new in v4.3.2), e.g. `ffmpeg_4_4`, indicating the FFmpeg installation being compiled against is at least version `.`. Currently available: - `ffmpeg_3_0` - `ffmpeg_3_1` - `ffmpeg_3_2` - `ffmpeg_3_3` - `ffmpeg_3_1` - `ffmpeg_4_0` - `ffmpeg_4_1` - `ffmpeg_4_2` - `ffmpeg_4_3` - `ffmpeg_4_4` - `avcodec_version_greater_than__` (new in v4.3.2), e.g., `avcodec_version_greater_than_58_90`. The name should be self-explanatory. - `ff_api_`, e.g. `ff_api_vaapi`, corresponding to whether their respective uppercase deprecation guards evaluate to true. - `ff_api__is_defined`, e.g. `ff_api_vappi_is_defined`, similar to above except these are enabled as long as the corresponding deprecation guards are defined.
Commit count: 260

cargo fmt