Skip to main content

VapourSynth-MLRT-OV

This package contains the OpenVINO backend implementation of the vs-mlrt plugin.

Installation

pip install vapoursynth-mlrt-ov

Building from source

Requirements

  • C++ Compiler: C++20 compatible (e.g. MSVC 2019+, GCC, Clang)
  • Build Tools: uv, CMake, Ninja
  • Dependencies (must be built/installed before the plugin):
    • OpenVINO SDK (built from source in CI — includes OpenVINO Runtime, TBB, and plugins)
    • ONNX (built from source, version matched to OpenVINO's pinned submodule at openvino/thirdparty/onnx/onnx)
    • Protobuf (used by both ONNX and the plugin; CI uses OpenVINO's bundled Protobuf with use-external-protobuf: true)
  • CMake Options:
    • WIN32_SHARED_OPENVINO (defaults to ON in pyproject.toml): When enabled, copies OpenVINO Runtime and dependency DLLs (tbb12.dll, plugins, etc.) into the wheel.

Compilation

  1. Initialize the submodule:

    git submodule update --init --recursive vsmlrt/ov/vs-mlrt
    
  2. Build OpenVINO from source (or install a pre-built SDK), then build ONNX from source using the version pinned by OpenVINO (openvino/thirdparty/onnx/onnx). Both must be discoverable by CMake (via CMAKE_PREFIX_PATH or installed system-wide).

  3. Build the wheel:

    uv build --package vapoursynth-mlrt-ov
    

Detailed parameter information from the parent project follows.


VapourSynth OpenVINO

The vs-openvino plugin provides optimized pure CPU runtime for some popular AI filters.

Building and Installation

To build, you will need OpenVINO and its dependencies. Only Model Optimizer and Inference Engine are required.

You can download official Intel releases:

Or, you can use our prebuilt Windows binary releases from AmusementClub, our release has the benefit of static linking support.

Sample cmake commands to build:

cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Release
	-D CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
	-D InferenceEngine_DIR=openvino/runtime/cmake
	-D VAPOURSYNTH_INCLUDE_DIRECTORY="path/to/vapoursynth/include"
cmake --build build
cmake --install build --prefix install

You should find vsov.dll (or libvsov.so) under install/bin. You will also need Intel TBB (you can get tbb.dll from OpenVINO release). On windows, tbb.dll must be placed under vapoursynth/plugins/vsov/ directory for vsov.dll to find.

Usage

Prototype: core.ov.Model(clip[] clips, string network_path[, int[] overlap = None, int[] tilesize = None, string device = "CPU", bint fp16 = False, function config = None, bint path_is_serialization = False])

Arguments:

  • clip[] clips: the input clips, only 32-bit floating point RGB or GRAY clips are supported. For model specific input requirements, please consult our wiki.
  • string network_path: the path to the network in ONNX format.
  • int[] overlap: some networks (e.g. CNN) support arbitrary input shape where other networks might only support fixed input shape and the input clip must be processed in tiles. The overlap argument specifies the overlapping (horizontal and vertical, or both, in pixels) between adjacent tiles to minimize boundary issues. Please refer to network specific docs on the recommended overlapping size.
  • int[] tilesize: Even for CNN where arbitrary input sizes could be supported, sometimes the network does not work well for the entire range of input dimensions, and you have to limit the size of each tile. This parameter specify the tile size (horizontal and vertical, or both, including the overlapping). Please refer to network specific docs on the recommended tile size.
  • string device: Specifies the device to run the inference on. Currently "CPU" and "GPU" are supported. "GPU" requires Intel graphics (Broadwell+ processors with Gen8+ integrated GPUs or Xe discrete GPUs) with compatible graphics driver and compute runtime.
  • bint fp16: whether to quantize model to fp16 for faster and memory efficient computation.
  • function config: plugin configuration parameters. It must be a callable object (e.g. a function) with no positional arguments, and returns the configuration parameter in a dictionary dict. The dictionary must use string str for its key and int, float or str for its values. Supported parameters: CPU, GPU (the prefix KEY_ has to be removed). Example: config = lambda: dict(CPU_THROUGHPUT_STREAMS=2)
  • bint path_is_serialization: whether the network_path argument specifies an onnx serialization of type bytes.

When overlap and tilesize are not specified, the filter will internally try to resize the network to fit the input clips. This might not always work (for example, the network might require the width to be divisible by 8), and the filter will error out in this case.

The general rule is to either:

  1. left out overlap, tilesize at all and just process the input frame in one tile, or
  2. set all three so that the frame is processed in tilesize[0] x tilesize[1] tiles, and adjacent tiles will have an overlap of overlap[0] x overlap[1] pixels on each direction. The overlapped region will be throw out so that only internal output pixels are used.

Metadata

Release files for vapoursynth-mlrt-ov 17.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vapoursynth-mlrt-ov 17.1
File Size Uploaded Provenance
vapoursynth_mlrt_ov-17.1.tar.gz 104.9 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-mlrt-ov 17.1
File
vapoursynth_mlrt_ov-17.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
vapoursynth_mlrt_ov-17.1-py3-none-manylinux_2_35_aarch64.whl Python 3 none Linux glibc 2.35+ ARM64 Details
vapoursynth_mlrt_ov-17.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
vapoursynth_mlrt_ov-17.1-py3-none-macosx_15_0_x86_64.whl Python 3 none macOS 15.0+ x86-64 Details
vapoursynth_mlrt_ov-17.1-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details

Total release size: 205.2 MB

Release files / vapoursynth_mlrt_ov-17.1.tar.gz

Download URL vapoursynth_mlrt_ov-17.1.tar.gz
Size 104.9 kB
Tags Source
SHA-256 checksum
How to use checksums
81f812335f634a173f841389da7e0b35195a3f8cad6d0eb80932316cc09968e9
BLAKE2b-256 checksum
How to use checksums
055f13de62fa17fe381be8317b7a93f0215957c935bbc19e19f60d47dbb980a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / vapoursynth_mlrt_ov-17.1-py3-none-win_amd64.whl

Download URL vapoursynth_mlrt_ov-17.1-py3-none-win_amd64.whl
Size 76.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
00bc926b79c04a05dde4db2129ac225b71c1277f86dfbf285fea3e6c07dcc7d2
BLAKE2b-256 checksum
How to use checksums
b000796dee57b4baf7624ab9465c0db546f020d154269f4c0c096d5b42f348c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / vapoursynth_mlrt_ov-17.1-py3-none-manylinux_2_35_aarch64.whl

Download URL vapoursynth_mlrt_ov-17.1-py3-none-manylinux_2_35_aarch64.whl
Size 22.0 MB
Tags Linux glibc 2.35+ ARM64 Python 3
SHA-256 checksum
How to use checksums
672e16739d9f17f3d2e5fdb7bf7c4b1dbc0d136ed4909cc4f6436b6cf6f6d453
BLAKE2b-256 checksum
How to use checksums
fa8d19b4849b13bcb784b68a5fcb257cc0907f294f3eda5445eecd33dedc21a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / vapoursynth_mlrt_ov-17.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL vapoursynth_mlrt_ov-17.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 49.7 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d8701dc77cf59d036a17a26b366d9b52f01e3ed67a0c1257d5d1fb6a6932aa12
BLAKE2b-256 checksum
How to use checksums
daf59c1c25a9e321d7397e2eeeed46420093dcb6d4838d2d8fbdc6ca5681992e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / vapoursynth_mlrt_ov-17.1-py3-none-macosx_15_0_x86_64.whl

Download URL vapoursynth_mlrt_ov-17.1-py3-none-macosx_15_0_x86_64.whl
Size 32.5 MB
Tags Python 3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
9b208c05aa235623c44da2b013ffa1018ce54b6e564ec29398332fdea8c1baf3
BLAKE2b-256 checksum
How to use checksums
b5a8b9b05241114ffc32d83863a8ab15ee20960d40e5d208415861cb0b59c0b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / vapoursynth_mlrt_ov-17.1-py3-none-macosx_14_0_arm64.whl

Download URL vapoursynth_mlrt_ov-17.1-py3-none-macosx_14_0_arm64.whl
Size 24.1 MB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
4616342e5e3d8c961ca3191fc42f3df65e12df77276a47509e3971fda13ce21e
BLAKE2b-256 checksum
How to use checksums
5371bd20bdfeb61a3dc3a2c3db403e794bb219f1d5ec274c1d4371910f8a263a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for vapoursynth-mlrt-ov 17.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for vapoursynth_mlrt_ov-17.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page