deepstream-dev

Construct DeepStream 9.0 video analytics pipelines in Python with pyservicemaker, avoiding common configuration pitfalls.

Updated May 23, 2026
One-click install
npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill deepstream-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepstream-dev
Source: https://github.com/yo-steven/skills-exploration-20260522/tree/main/skills/deepstream/deepstream-dev
Command: npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill deepstream-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

DeepStream 9.0 pipeline development with pyservicemaker becomes error-prone when users misconfigure sources, sinks, nvinfer settings, and DeepStream-specific metadata iteration rules. This Skill provides guardrails and correct configuration patterns so video analytics pipelines run reliably instead of failing silently or building broken engines.

Core Features & Use Cases

  • End-to-end pipeline construction guidance: Establishes the correct DeepStream 9.0 pipeline flow (nvurisrcbin/nvstreammux/nvinfer/nvosdbin/sink) with platform-aware renderer selection.
  • Configuration correctness for nvinfer and TensorRT: Ensures YAML syntax, correct sections, and handling dynamic ONNX input shapes via required infer-dims settings.
  • Reliability and performance safety rules: Prevents common failures such as sink pad linking mistakes, iterator misuse for metadata, missing pyservicemaker inside venvs, and async/deadlock issues with tee/dynamic sources.
  • Use cases: Building video analytics pipelines for detection, optional tracking, optional Kafka messaging, and common troubleshooting for DeepStream/pyservicemaker integration.

Quick Start

Build a minimal DeepStream 9.0 pyservicemaker pipeline for a local or RTSP source, run primary detection with nvinfer, visualize results with nvosdbin, and render using the correct platform-specific sink settings and pad linking syntax.

Frequently Asked Questions about deepstream-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a DeepStream 9.0 video analytics pipeline in Python?

Build a DeepStream 9.0 pipeline by linking nvurisrcbin, nvstreammux, nvinfer, and nvosdbin using pyservicemaker, ensuring correct platform-specific sink pad linking and renderer selection for reliable video analytics.

Why does my nvinfer configuration fail when using dynamic ONNX input shapes?

nvinfer configuration fails with dynamic ONNX input shapes because you must explicitly specify infer-dims in your YAML or INI configuration files to properly build the TensorRT engine.

How do I publish Kafka metadata from a DeepStream pipeline without causing deadlocks?

Publish Kafka metadata safely by using a tee element before the sink to route buffers to nvmsgbroker, and ensure you set sink async=0 to prevent deadlocks when using tee or dynamic RTSP sources.

What causes metadata iteration errors in DeepStream buffer probes?

Metadata iteration errors occur from unsafe traversal and missing buffer cloning. You must use iterator-safe metadata traversal and clone buffers for asynchronous probes to prevent runtime access violations.

Can I use pyservicemaker inside a Python virtual environment for DeepStream?

Yes, but you must install pyservicemaker directly inside your virtual environment, as missing the pyservicemaker package inside venvs is a common cause of pipeline initialization failures.

What is the correct way to link nvstreammux to nvinfer in DeepStream?

Link nvstreammux to nvinfer by requesting the correct sink pad on nvstreammux and following the proper DeepStream 9.0 pad linking syntax to avoid common source batching connection mistakes.