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.1.0-cp313-cp313-win_amd64.whl (220.4 kB view details)

Uploaded CPython 3.13Windows x86-64

vtk_streaming-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl (193.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

vtk_streaming-0.1.0-cp312-cp312-win_amd64.whl (220.4 kB view details)

Uploaded CPython 3.12Windows x86-64

vtk_streaming-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl (193.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

vtk_streaming-0.1.0-cp311-cp311-win_amd64.whl (220.2 kB view details)

Uploaded CPython 3.11Windows x86-64

vtk_streaming-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (192.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

vtk_streaming-0.1.0-cp310-cp310-win_amd64.whl (220.2 kB view details)

Uploaded CPython 3.10Windows x86-64

vtk_streaming-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (192.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 80e72fd2b42bb5918beabbe479adbb8d37daa7663a6c09786cc8d97555cd514e
MD5 27187b819768487394089c5e1c269f10
BLAKE2b-256 fc4cf6d04251aaa575c236e0fbb5af9a81dd02a040ccbd7bff072c67f0c5d4ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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.1.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6540bc736bc70df3871238c45744d80732d494474c06373abbf951f5609a06a8
MD5 58856a58e58943903a29a6c020bdd793
BLAKE2b-256 e5174ccad20bb9cf3fb4b2e9b69d9b46a9870fbc5b9d60138c3ccb92bbfdc17b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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.1.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9b6b57f479d3268b0ced65f5e3e5db214c95e623db2bd0897bf46122e2e6b13c
MD5 6dd838ab738f526bc0985e7602d24406
BLAKE2b-256 0e5cfcd5373df07af5d26d21e27e2d0e54c89113a0deefd3da9265f250e7f8a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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.1.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fcd7719328f0127b08d157a2779f13f26c1aad7c949327c71cb418436fbe631c
MD5 aa3dd1a030f73e5ca340006e92513e97
BLAKE2b-256 14f22ddea9ed5af7cf24dab9e54746ea889299acf92400afc95db9b64d5a986c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 760b5688594b915c75ec510ccbcd1e64d1170c6abe59b27c7e8d712c702133f5
MD5 b48e607d79498a31cf82d5174329f288
BLAKE2b-256 df2f48ab69e99a262021fe19ffa1d2a918b9139b47ee894e8508ce12c3da2940

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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.1.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 86aee9be75bc7fa2fe9e72b6128215107db9153f45786b957282d2c9a5850b14
MD5 7147183465aaafe2ac890d7a56bb3190
BLAKE2b-256 7d0faa141529e0d14eff2f2bf6576faa4717c5617d691ebb439c6209f554db1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f9f75a2754c6f9f2bcef95c375ae3edf70171813c3ba277d02a96f80a37a4bb9
MD5 be8a4215bfd9bf41bec88908c524fda2
BLAKE2b-256 e634319feb0669677d2998cea0b855c5fb7223abe1ed27b6a07b5a8aa3c3cfde

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ee9ed3fe838af43b7cdaa80112f3facfd13f7a077e1ee5416a0512e82e163853
MD5 be42b41334a86446c9814724ae3d224f
BLAKE2b-256 85ef10567ff6be4afcdc9660000a39619dc1cac46f36d262313f024a2888d90e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vtk_streaming-0.1.0-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