FreezyLemon 159e6f924d
Avoid using "static" functions in build script (#40)
* Move fetch & early return into fn build

* Pass ffmpeg_version as parameter

* Pass source_dir as parameter

* Create rustc_link_extralibs

* Use local variable instead of search()

* Pass OUT_DIR to the build function

* Return install_dir from build function

* Parametrize ffmpeg_major_version

* Remove duplicate import
2024-04-27 19:58:42 -04:00
2024-04-08 13:44:49 -04:00
2024-04-23 08:59:15 -04:00
2024-04-23 08:59:15 -04:00
2024-04-14 13:52:11 -04:00
2016-04-03 17:32:34 +02:00
2024-04-08 13:44:49 -04:00

crates.io docs.rs build

This is a fork of the abandoned ffmpeg-next crate which is a fork of the abandoned ffmpeg crate.

Currently supported FFmpeg versions: 4.x, 5.x, 6.x.

Build instructions can be found on the wiki.

Documentation:

See CHANGELOG.md for other information on version upgrades.

If you have significant, demonstrable experience in Rust and multimedia-related programming, please let me know, I'll be more than happy to invite you as a collaborator.

Minimum supported Rust version (MSRV)

Both ffmpeg-the-third and ffmpeg-sys-the-third currently require a Rust version of 1.61.0 or higher. Increases in MSRV will result in a semver MINOR version increase.

If you are having issues compiling this crate on your version of Rust, there are two tools you can use to help find MSRV-compatible dependency versions:

  • Install a nightly Rust toolchain and run cargo +nightly update -Zmsrv-policy. This will automatically resolve dependencies to versions that are compatible with the rust-version in Cargo.toml.
  • Check the Cargo.lock.MSRV in this repository. It contains dependency versions that are known to compile on the MSRV. In the simplest case, you can just cp Cargo.lock.MSRV Cargo.lock. For more complex dependency graphs, you might need to manually select compatible versions from the Cargo.lock.MSRV.
Description
No description provided
Readme WTFPL 1.1 MiB
Languages
Rust 100%