vapoursynth-sys
Raw bindings to VapourSynth.
Supported Versions
Right now the x86_64 and i686 Unix and x86_64 Windows targets are supported.
All VapourSynth and VSScript API versions starting with 3.0 are supported. By default the crates use the 3.0 feature set. To enable higher API version support, enable one of the following Cargo features:
vapoursynth-api-31for VapourSynth API 3.1vapoursynth-api-32for VapourSynth API 3.2vapoursynth-api-33for VapourSynth API 3.3vapoursynth-api-34for VapourSynth API 3.4vapoursynth-api-35for VapourSynth API 3.5vsscript-api-31for VSScript API 3.1vsscript-api-32for VSScript API 3.2
To enable linking to VapourSynth or VSScript functions (currently required to do anything useful), enable the following Cargo features:
vapoursynth-functionsfor VapourSynth functions (getVapourSynthAPI())vsscript-functionsfor VSScript functions (vsscript_*())
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.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.