#video-processing #vapour-synth #api #api-version

vapoursynth4-rs

A safe wrapper for VapourSynth and VSScript API version 4

4 releases (breaking)

Uses new Rust 2024

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

#90 in Video

Download history 136/week @ 2024-12-04 290/week @ 2024-12-11 36/week @ 2024-12-18 69/week @ 2024-12-25 199/week @ 2025-01-01 566/week @ 2025-01-08 226/week @ 2025-01-15 396/week @ 2025-01-22 295/week @ 2025-01-29 113/week @ 2025-02-05 199/week @ 2025-02-12 262/week @ 2025-02-19 423/week @ 2025-02-26 395/week @ 2025-03-05 155/week @ 2025-03-12 344/week @ 2025-03-19

1,358 downloads per month
Used in vapours

MPL-2.0 license

200KB
3.5K SLoC

vapoursynth4-rs

Crates Documentation dependency status CI License: MPL-2.0

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

Check out vapoursynth4-sys for the raw binding.

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.

License

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

Dependencies

~0.9–1.4MB
~30K SLoC