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.0-cp313-cp313-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.13Windows x86-64

vtk_streaming-0.2.0-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.0-cp312-cp312-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.12Windows x86-64

vtk_streaming-0.2.0-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.0-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

vtk_streaming-0.2.0-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.0-cp310-cp310-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10Windows x86-64

vtk_streaming-0.2.0-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.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 336fd514f494ff261249f758764f74d3d7d8d187decb6d597aa2053a7f5e908c
MD5 231d47aebbf5b826e24aac84ff9cb3ac
BLAKE2b-256 2390356053fc1aa766721e0c85f082af4f68f8c8c7b5cc18ad51c5efbdbfdd35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ead355546b49508646a770a36d643add0f0c3be8e4d069dca40ae9fee76d5391
MD5 ed06c1e903b0b2085cd8e05be57d12eb
BLAKE2b-256 e8bad8e015be8b05d668aa318e634834ee38d0e163d167bfadbc31901b3a736d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0bd6d4fb02c6d228f732147db59414e2f16110d2e4a46d557e191b2945d92073
MD5 5113b96e2cf1f57d908d402e69f1c2ad
BLAKE2b-256 06de12c32e8d6621795f941165058412ce04e35ed8a51c2e3c30f5db297d20a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61ea58f5bce43f3f77e6d80d80e3cbf967e2791a5e653819208ce717d39978f7
MD5 7a7804c4c610a14e1fdb825576111421
BLAKE2b-256 332182ddfd9ec400d6370e3b2da9a6b7f3da859b02281edeeca61f1d457d2f93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2cce87a32bf25521bdce30ab49609f3c31179fc39c5e4e511a32a355bf27134a
MD5 c822cc960db6df8577cbf8eb14fda589
BLAKE2b-256 168db84c58943a921adfa96a5827499fe36dc989d982d1ce43689212783560e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 074cc8fb610cf5fc011ad23ff1ba04293aea8ac1b21a60e86995f086aa0d7d0e
MD5 bc05442fcb0380804b271bd2fc74a7a7
BLAKE2b-256 23fa9a2e8f59c167a89daff2136bcb2729476242157305d5e9012d2bb2cee24b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 16b5bdc83b9e39d6bf5cb1af2f7218381d3e86573d0a19b21eade813576d07d8
MD5 012bb5ae6416bcb2f276b42a62b6db1f
BLAKE2b-256 3e1fa89efb0bb7a302f8f4abc6698f4a3dbe6696831258203b1a0d89a7f7ecea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for vtk_streaming-0.2.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2bf783b8723a4c0fa7a4aa5a1cd8b4e470d66b972a94628335c6fd90bb4e6776
MD5 83a8ede79d289060b22dcef14f0cfd39
BLAKE2b-256 3c8b1cdf652bb021901c9d8474ea0245f24143f30009fae6e48c8ba738f2a8ca

See more details on using hashes here.

Provenance

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