12 releases

0.5.6 Oct 15, 2025
0.5.5 Sep 23, 2025
0.5.0 Aug 27, 2025
0.4.0 Apr 18, 2023
0.1.3 Jan 15, 2023

#1285 in Audio


Used in 2 crates (via rustsynth)

LGPL-2.1

3MB
37K SLoC

C++ 27K SLoC // 0.1% comments Cython 3.5K SLoC // 0.1% comments C 2.5K SLoC // 0.1% comments Visual Studio Project 1.5K SLoC Python 1.5K SLoC // 0.1% comments Rust 294 SLoC // 0.1% comments M4 260 SLoC // 0.4% comments Batch 186 SLoC Visual Studio Solution 154 SLoC Automake 126 SLoC PowerShell 108 SLoC Shell 1 SLoC

Contains (DOS exe, 1.5MB) pfm-192-vapoursynth-win.exe, (obscure autoconf code, 12KB) vapoursynth/configure.ac

Low level VapourSynth bindings to Rust

This crate provides raw unsafe FFI bindings to the VapourSynth API. For a safe wrapper, see rustsynth.

Feature Flags

The bindings are conditionally compiled based on feature flags:

  • api-41 - Enables VapourSynth API version 4.1 headers (VS_USE_API_41)
  • vs-graph-api - Enables the experimental graph API (VS_GRAPH_API)
  • script-api-42 - Enables VSScript API 4.2 headers (VSSCRIPT_USE_API_42)
  • vapoursynth-functions - Links to the main VapourSynth functions library
  • vsscript-functions - Links to the VSScript functions library

Different feature combinations will expose different functions and types in the generated bindings.


rustsynth-sys

crates.io

Low level VapourSynth bindings to Rust

This is raw unsafe ffi bindings to the VapourSynth API for a safe wrapper see rustsynth

Documentation

Feature Flags

  • api-41: Enables the headers for API version 4.1
  • vs-graph-api: Enables the experimental graph api
  • script-api-42: Enables the headers for VSScript API 4.2
  • vapoursynth-functions: Links to the main vapoursynth functions library
  • vsscript-functions: Links to the vsscript functions library

No runtime deps