Holoscan components for using the Deltacast Videomaster capture card.
This project is a Holoscan Module — a self-contained, redistributable library that extends
Holoscan SDK with reusable operators under the
holoscan.deltacast namespace.
The operators in this module target the DELTACAST.TV Videomaster capture card family. Contact DELTACAST.TV for SDK access and environment setup; a bundled mock SDK lets you build and exercise the sample apps without a card (see below).
This module is driven by the standalone Holoscan CLI
(holoscan command). The tested version is pinned in requirements-cli.txt
(currently holoscan-cli==5.0.0a2, published on https://pypi.nvidia.com).
Host requirements: Python 3.11–3.14, plus Docker with the NVIDIA Container Toolkit for container builds and runs.
With pip, create and activate a virtual environment, then install the pinned CLI:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install \
--extra-index-url https://pypi.nvidia.com \
-r requirements-cli.txt
holoscan versionWith uv, no separate environment setup or activation is needed:
the dev dependency group in pyproject.toml pins the same CLI version. Prefix commands with
uv run:
uv run holoscan versionTo move to a newer CLI, update requirements-cli.txt and [dependency-groups].dev in
pyproject.toml together, reinstall, and rebuild the dev container (holoscan build-container).
Run commands from the repository root. Builds and runs happen in the dev container from
Dockerfile (Holoscan SDK 4.6) by default; add --local to use a host SDK instead.
holoscan list # discover applications and operators
holoscan run deltacast_receiver --language cpp # build + run the C++ receiver
holoscan run deltacast_receiver --language python # build + run the Python receiver
holoscan build deltacast_transmitter --language cpp # build only
holoscan test # CTest + pytest in the dev container
holoscan run-container # interactive shell in the dev containerBoth applications ship C++ and Python variants; without --language, the CLI defaults to Python.
Add --dryrun to print the Docker and CMake commands without running them. On a host without an
NVIDIA GPU, add --docker-opts="--runtime runc" to build and test commands; running the
applications still requires a GPU. See the
CLI reference or
holoscan <command> --help for all commands and options.
| Operator | Implementation | Direction |
|---|---|---|
VideoMasterSourceOp |
C++ + pybind11 | Capture from a Deltacast Videomaster card |
VideoMasterTransmitterOp |
C++ + pybind11 | Transmit to a Deltacast Videomaster card |
Namespace
- C++:
holoscan::ops - Python:
holoscan.deltacast
See operators/deltacast_videomaster/README.md for the full parameter list of each operator.
Refer the demo applications for examples of how to use Holoscan Deltacast operators in your project.
from holoscan.core import Application
from holoscan.deltacast import VideoMasterSourceOp
class MyApp(Application):
def compose(self):
source = VideoMasterSourceOp(self, name="source")
# connect with add_flow(source, downstream_op, ...)
MyApp().run()#include <holoscan/holoscan.hpp>
#include <deltacast_videomaster/videomaster_source.hpp>
class MyApp : public holoscan::Application {
public:
void compose() override {
auto source = make_operator<holoscan::ops::VideoMasterSourceOp>("source");
// connect with add_flow(source, downstream_op, ...);
}
};
int main() { holoscan::make_application<MyApp>()->run(); }Install the CLI as described in Get the Holoscan CLI, then build the operators and run the examples in the dev container:
holoscan build deltacast_receiver --language cpp
holoscan run deltacast_[transmitter/receiver] --language [cpp/python]| Requirement | Version |
|---|---|
| Holoscan SDK | ≥ 4.6.0 |
| CUDA Toolkit | 13.x (matches the Holoscan SDK CUDA pin; the dev Dockerfile uses cuda13) |
| CMake | ≥ 3.24 |
| C++ compiler | C++17 (GCC 11+) |
| pybind11 | ≥ 2.11 |
| Python | ≥ 3.11 |
The Deltacast VideoMaster SDK is also required to target real hardware — contact DELTACAST.TV for access. The build links the bundled mock SDK by default, so the cmake command below succeeds without it.
cmake -S . -B build -DBUILD_ALL=ON -DHOLOSCAN_DELTACAST_BUILD_TESTING=ON
cmake --build build -j$(nproc)Python bindings are staged in build/python/lib/holoscan/deltacast/. See DEVELOPER.md
for CMake options and their defaults.
The Deltacast VideoMaster SDK is required to build and run on DELTACAST.TV capture card hardware. This project bundles a mock library to satisfy minimum build and testing features (animated RGBA gradient for RX, silent accept for TX) in environments without capture card hardware.
Use the real SDK by passing -DVIDEOMASTER_SDK_DIR=<path> -DVIDEOMASTER_USE_MOCK=OFF.
VIDEOMASTER_SDK_DIR is optional.
When it is set, it has top priority. The build system tries, in order:
${VIDEOMASTER_SDK_DIR}/lib+${VIDEOMASTER_SDK_DIR}/headers${VIDEOMASTER_SDK_DIR}/VideoMasterHDConfig.cmakeor${VIDEOMASTER_SDK_DIR}/cmake/VideoMasterHDConfig.cmake
If VIDEOMASTER_SDK_DIR is not set (or if detection from it fails), it falls back to:
/usr/local/cmake/VideoMasterHDConfig.cmake/usr/share/deltacast/videomaster/cmake/VideoMasterHDConfig.cmake/usr/lib/libvideomasterhd.so+ headers in/usr/include/videomaster
Example custom SDK layout:
path/to/VideoMasterSDK/
|- headers/
| |- VideoMasterHD_Core.h
|- lib/
|- libvideomasterhd.so
In that case, set VIDEOMASTER_SDK_DIR=path/to/VideoMasterSDK.
holoscan testholoscan test configures a fresh build in build-<project>/ and downloads data to
data-<project>-<tag>/ in the repository root (both are git-ignored).
Or, without the Holoscan CLI:
# C++ (GTest via CTest); use `-L python` for the pytest entry, or omit -L for both
ctest --test-dir build --output-on-failure -L unit# Python (pytest)
PYTHONPATH=build/python/lib${PYTHONPATH:+:$PYTHONPATH} HOLOSCAN_DELTACAST_BUILD_DIR=build pytest tests/python/ -vPYTHONPATH is prepended so that an ambient holoscan SDK install stays
visible. A bare PYTHONPATH=build/python/lib would replace the variable and hide
the SDK from pytest.
Both suites currently cover importability and build-smoke only; full live-pipeline coverage is a TODO and requires real hardware. CTest is configured with SKIP_RETURN_CODE 5 on the pytest entry — if a CTest run reports "Skipped" unexpectedly, the most common cause is that the holoscan SDK is not importable in the test environment (pytest collects zero items and exits 5).
This module is maintained by the DELTACAST.TV team. For help, please visit:
- VideoMaster SDK, drivers, or DELTACAST hardware — contact DELTACAST.TV or email
[email protected]. - Holoscan SDK, framework, or pipeline questions — see the Holoscan SDK documentation.
Apache-2.0 — see LICENSE.