#bindings #vapour-synth #vsscript

sys vapoursynth4-sys

Rust bindings for VapourSynth and VSScript API version 4

4 releases (2 breaking)

Uses new Rust 2024

0.3.1 Mar 25, 2025
0.3.0 Dec 9, 2024
0.2.0 Sep 8, 2023
0.1.0 Aug 16, 2023

#179 in Video

Download history 314/week @ 2024-12-10 57/week @ 2024-12-17 65/week @ 2024-12-24 201/week @ 2024-12-31 275/week @ 2025-01-07 531/week @ 2025-01-14 240/week @ 2025-01-21 286/week @ 2025-01-28 215/week @ 2025-02-04 265/week @ 2025-02-11 222/week @ 2025-02-18 449/week @ 2025-02-25 350/week @ 2025-03-04 206/week @ 2025-03-11 174/week @ 2025-03-18 462/week @ 2025-03-25

1,210 downloads per month
Used in 3 crates (2 directly)

MPL-2.0 license

120KB
1K SLoC

vapoursynth4-sys

Crates Documentation

Raw bindings to VapourSynth. Special thanks to Ivan Molodetskikh for their work on the original bindings.

Check out vapoursynth4-rs for a safe Rust wrapper.

Supported Versions

All VapourSynth and VSScript API versions starting with 4.0 are supported. By default, the crates use the latest API version available. To use a specific version, disable the default feature and enable the corresponding Cargo feature:

  • vapoursynth-api-40 for VapourSynth API 4.0 (R55)
  • vsscript-api-40 for VSScript API 4.0
  • vsscript-api-41 for VSScript API 4.1

Building

Make sure you have the corresponding libraries available if you enable the linking features. You can use the VAPOURSYNTH_LIB_DIR environment variable to specify a custom directory with the library files.

On Windows the easiest way is to use the VapourSynth installer (make sure the VapourSynth SDK is checked). Set VAPOURSYNTH_LIB_DIR to <path to the VapourSynth installation>\sdk\lib64 or <...>\lib32, depending on the target bit count.

License

Licensed under MPL-2.0 or at http://mozilla.org/MPL/2.0/.

Dependencies

~72KB