deepstream-dev
NVIDIA DeepStream SDK 9.0 development with Python pyservicemaker API. Use when building video analytics pipelines, GStreamer-based video processing, TensorRT inference integration, object detection/tracking, or Kafka/message broker integration.
Security Assessment
Detected risks:
About deepstream-dev
The deepstream-dev skill supports development with the NVIDIA DeepStream SDK 9.0 using the Python pyservicemaker API. It is aimed at building video analytics pipelines such as GStreamer-based video processing, TensorRT inference integration, object detection and tracking, and Kafka or message-broker integration. Because DeepStream property names, API usage, and pitfalls are easy to get wrong from memory, the skill insists that its reference documents be read before generating code, providing accurate details on exact element properties and correct usage.
The skill documents a typical pipeline flow of Source, Stream Muxer, Inference, optional Tracker, OSD, and Renderer, and maps each stage to specific GStreamer elements such as nvurisrcbin, nvstreammux, nvinfer/nvinferserver, nvtracker, nvosdbin, and sinks like nveglglessink, nv3dsink, or filesink. It captures version requirements (GStreamer 1.24.2, NVIDIA Driver 590+, CUDA 13.1, TensorRT 10.14.1.48, Ubuntu 24.04 on x86_64 and Jetson) and NVMM zero-copy memory conventions. A set of critical rules covers only adding requested components, defaulting to nvurisrcbin for sources, iterating .frame_items/.object_items instead of calling len(), request-pad syntax like sink_%u, platform-based sink selection, buffer cloning, correct queue types, nvinfer config formatting, tee usage for the nvmsgbroker sink, async=0 for tee/dynamic pipelines, infer-dims for dynamic ONNX models, and matching YOLO output format to cluster-mode. Extensive reference files cover trackers, Kafka messaging, the REST API, buffer APIs, and troubleshooting.
It is intended for developers building DeepStream video analytics applications, especially those using the pyservicemaker Python API for inference and multi-object tracking on NVIDIA hardware. Requirements include the DeepStream 9.0 stack with its specified driver, CUDA, and TensorRT versions, plus proper virtual-environment setup that installs the pyservicemaker wheel and pyyaml so the module is importable. The skill emphasizes building minimal working pipelines and only adding components like trackers, secondary GIEs, analytics, or message brokers when explicitly requested.
FAQ
What NVIDIA stack does this skill target?
It targets NVIDIA DeepStream SDK 9.0 with GStreamer 1.24.2, NVIDIA Driver 590+, CUDA 13.1, and TensorRT 10.14.1.48, on Ubuntu 24.04 for both x86_64 and ARM64/Jetson platforms.
Which source element should I use for cameras, streams, or files?
The skill recommends defaulting to nvurisrcbin, which handles RTSP, HTTP, and local file:// sources transparently. filesrc plus qtdemux and a parser is only for explicit raw file source control, and local paths should be converted to a URI with 'file://' + os.path.abspath(path).
Why do I get ModuleNotFoundError for pyservicemaker inside a virtual environment?
pyservicemaker is installed system-wide and is not accessible from a standard venv. When a venv is needed, install the pyservicemaker wheel from /opt/nvidia/deepstream/deepstream/service-maker/python/ plus pyyaml inside the venv before running the app.
How do I handle dynamic ONNX models and YOLO output formats?
For ONNX models with dynamic input shapes you must add infer-dims=C;H;W to the nvinfer config, or TensorRT fails with setDimensions Error Code 3. YOLO output format also depends on model generation: v8/v11 output raw pre-NMS tensors and use cluster-mode 2, while v10/v26+ output post-NMS results and use cluster-mode 4.
When should I add a tracker or message broker to the pipeline?
Only when explicitly requested. nvtracker is added only when the user asks for tracking or object IDs, and nvmsgbroker/nvmsgconv only when Kafka or cloud messaging is requested. When in doubt, build the minimal working pipeline and let the user ask for additions.
All Files
20 filesInstall deepstream-dev
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
nvidia/skills