deepstream-dev

Construct NVIDIA DeepStream video analytics pipelines with the pyservicemaker API.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/olibartfast/deep-infer --skill deepstream-dev-olibartfast
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepstream-dev
Source: https://github.com/olibartfast/deep-infer/tree/main/skills/deepstream-dev
Command: npx skills add https://github.com/olibartfast/deep-infer --skill deepstream-dev-olibartfast

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyservicemaker, pyyaml, and includes references (resource) components.

What problem does it solve?

This skill streamlines the development of complex NVIDIA DeepStream video analytics pipelines, eliminating the trial-and-error process of configuring GStreamer elements, managing GPU memory, and integrating TensorRT inference.

Core Features & Use Cases

  • Pipeline Orchestration: Rapidly construct GStreamer-based video processing pipelines for file, camera, and RTSP inputs.
  • Inference Integration: Seamlessly integrate TensorRT models for object detection, tracking, and attribute extraction.
  • Use Case: A developer needs to build a multi-stream analytics application that detects objects, tracks them across frames, and sends metadata to a Kafka broker; this skill provides the exact API usage, memory management rules, and configuration patterns to build it correctly the first time.

Quick Start

Use the deepstream-dev skill to generate a Python pipeline script that ingests an RTSP stream, runs a primary detector, and displays the output on the screen.

Frequently Asked Questions about deepstream-dev

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

FAQPage Schema
How do I build an NVIDIA DeepStream pipeline for multi-stream video analytics?

To build an NVIDIA DeepStream pipeline, use the pyservicemaker API to orchestrate GStreamer elements, configure multi-object tracking, and integrate TensorRT models for real-time video analytics. This approach handles GPU memory management and pipeline state transitions correctly.

How do I integrate TensorRT models into a GStreamer video processing pipeline?

You integrate TensorRT models into a GStreamer pipeline by using the pyservicemaker API to configure inference elements for object detection and attribute extraction. This ensures proper buffer handling and seamless TensorRT model execution within the DeepStream environment.

Does pyservicemaker support both dGPU and Jetson platforms for DeepStream inference?

Yes, pyservicemaker supports both dGPU and Jetson platforms for DeepStream inference. It ensures correct memory management, buffer handling, and pipeline state transitions tailored for the specific hardware architecture of each platform.

What is the best way to manage GPU memory when configuring DeepStream pipelines?

The best way to manage GPU memory in DeepStream pipelines is by leveraging the pyservicemaker API, which abstracts the complexities of GPU memory allocation and buffer handling. This prevents common memory leaks and ensures stable stream processing.

How do I ingest an RTSP stream and run object detection using DeepStream?

You ingest an RTSP stream and run object detection by constructing a GStreamer pipeline via pyservicemaker. This involves configuring the stream input, applying a primary TensorRT detector, and managing the pipeline state to display or export the analytics output.

Why does my DeepStream pipeline fail during state transitions when processing video?

DeepStream pipelines often fail during state transitions due to improper buffer handling or incorrect GStreamer element configuration. Using pyservicemaker ensures correct pipeline state transitions and memory management, resolving these common video processing errors.