Skip to main content

This module provides classes to encode and stream frames from a VTK OpenGL render window using video codecs.

Project description

VTKStreaming

This module provides classes to encode and stream frames from a VTK OpenGL render window using video codecs. It supports video encoding with VP9 (through libvpx) and H.264/H.265 (through NVENC).

Requirements

  1. Clone and build VTK 9.2+ from source.
  2. If you plan on developing/running tests, git-lfs is needed to download the test images, videos. Simply execute git lfs install in your terminal and you're all set.
  3. nasm - an assembler is needed to compile x86_64/arm64 assembly sources from libvpx library. You may download nasm binaries for linux, windows and mac from nasm.us and append the PATH variable with the location of nasm on your filesystem. Alternative link - https://www.nasm.us/pub/nasm/stable/.

If your system has a supported nvidia gpu, libvpx is not required and you may skip the last requirement and set the CMake flag VTKSTREAMING_USE_LIBVPX=OFF.

Instructions

  1. Clone the repository, setup git hooks if you intend to contribute.
    git clone https://gitlab.kitware.com/async/vtkstreaming.git
    ./Utilities/SetupForDevelopment.sh
    
  2. Configure with CMake against VTK. Point VTK_DIR to either the build tree location or /path/to/vtk/install/lib/cmake/vtk-x.y where x.y is the major and minor version of VTK. Ex: vtk-9.2.
    cmake -S . -B build -DVTK_DIR=/path/to/vtk/install/lib/cmake/vtk-x.y
    
  3. Build
    cmake --build build
    
  4. Run unit tests.
    ctest --test-dir build
    
    Note: If you're linking against shared libraries on windows, do not forget to add the location of VTK binaries to the PATH environment variable.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vtk_streaming-0.2.1-cp313-cp313-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.13Windows x86-64

vtk_streaming-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

vtk_streaming-0.2.1-cp312-cp312-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.12Windows x86-64

vtk_streaming-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

vtk_streaming-0.2.1-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

vtk_streaming-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

vtk_streaming-0.2.1-cp310-cp310-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10Windows x86-64

vtk_streaming-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file vtk_streaming-0.2.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a772d8e6acfe1f6c43966d603cd83dad81545f512ec0606385840852016b9637
MD5 60d6cd943343a341975db25cc5712f8d
BLAKE2b-256 ec73e42f1801370040e0dfd24424790f2cf6496e1f89c387193250f1fbdc6ea8

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp313-cp313-win_amd64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtk_streaming-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 07d7b7f7e437ae24b8e38a905b86824f8718ff360d454889f63dba096b5d8f2e
MD5 0c4bc95a9b93b3b902a6c2d129e4fccb
BLAKE2b-256 d690ff3237f4db34cc00e39910da53055559e4dfd6d647b47f100616c9fc7a8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtk_streaming-0.2.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dc0a10990692dc182c3e16f10eed9ae3c6eddc3c29645cb6cba4692f6e5bd1d3
MD5 d92fea08bcb74624d6395bd2a32900d7
BLAKE2b-256 4a32f282e1dd4e65afa10cc69cd9af8e7a72f4b2672139d48a1c272b8e296e94

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp312-cp312-win_amd64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtk_streaming-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dea2c06db145f728eeba811a293a65539efa406957d3fa1113716d07b88ed205
MD5 2b5ea58b42c225432698deb1e947bc18
BLAKE2b-256 e6e28ee3dd65bac20d432edbde85f8396d0b2dc89f6cda262701dd128b1ff7b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtk_streaming-0.2.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bdfd6d05d056a03ac9f4bbfda9e4496bb271863ab417669f702cf614e48fc450
MD5 4f5709fda8c2bace2751a028b4e1ee4d
BLAKE2b-256 7a2df6a5989283192a11afda1549296083b19766bbfb4bba08a5ac5804bcf4be

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp311-cp311-win_amd64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtk_streaming-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2ad56d4dc434bb39f5f662f3c9d55182e5078ed9bc06d0344f341910d4aeafe3
MD5 a5c2f8fbccfedd75260f423baf09c585
BLAKE2b-256 48a2bef4961f26e99ffc2a7677b0a65a4554f5a10705bb4c4af89198c6cf9375

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtk_streaming-0.2.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1d56d34bc6115a2aa0ab17b58e55ee2dace3931c5fd498bb74a76e11eb0d32ac
MD5 e97e2c5f545a88c1ec6668fc9a379f49
BLAKE2b-256 0036c77705f70b5891bf7c6b221ae3db4a341361a9b0dc48a9647d2f15f6e447

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp310-cp310-win_amd64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vtk_streaming-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8de051466c9f9703cb14433ac2b4d00b1991a210bdbc1505c2a982f13b9c8bbc
MD5 10935e3fceba1062c23eca2b104ec04d
BLAKE2b-256 ad7e98fa46aff5c95007aa7d8836928a7544c56ed19289b23eb883c0d17ac186

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: release.yml on Kitware/VTKStreaming

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page