deepstream-generate-pipeline

Generate validated gst-launch-1.0 pipelines for NVIDIA DeepStream video inference and tracking.

2|Updated Aug 20, 2026
One-click install
npx skills add https://github.com/atomicrajat/industry_safety_monitoring_system --skill deepstream-generate-pipeline-atomicrajat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepstream-generate-pipeline
Source: https://github.com/atomicrajat/industry_safety_monitoring_system/tree/main/.claude/skills/deepstream-generate-pipeline
Command: npx skills add https://github.com/atomicrajat/industry_safety_monitoring_system --skill deepstream-generate-pipeline-atomicrajat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Writing correct DeepStream GStreamer pipelines by hand is error-prone: element ordering, NVMM memory requirements, platform-specific sinks, and tracker configuration all have to be exactly right. This Skill turns a natural-language request into a validated, ready-to-run gst-launch-1.0 command. ## Core Features & Use Cases - Interactive requirement collection: Infers pipeline parameters (input source, stream count, inference mode, tracker, sink, platform, extras) from the query and asks only about the unknowns. - BM25 retrieval over 270+ verified pipelines: A zero-dependency Python script ranks verified pipeline examples with structural metadata boosting for platform, source, sink, and inference mode. - 4-stage validation: Checks syntax, element existence via gst-inspect-1.0, known properties, and live parse via gst-launch-1.0 before presenting the pipeline. - Use Case: Ask for "detect and track on 4 RTSP streams and display on Jetson" and receive a single-line validated pipeline with nvstreammux, nvinfer, nvtracker (NvDCF), nvmultistreamtiler, and nv3dsink, plus a stage-by-stage breakdown. ## Quick Start Ask the assistant to build a DeepStream pipeline for your use case, for example by saying you want to run inference on an mp4 video and display the output.

Frequently Asked Questions about deepstream-generate-pipeline

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

FAQPage Schema
How do I build a DeepStream GStreamer pipeline for video inference?

Describe your input source, inference needs, tracker, output, and platform in natural language. The skill retrieves matching verified pipelines with a BM25 script, assembles the gst-launch-1.0 command, and validates it before presenting a single-line runnable pipeline.

How do I run multi-stream RTSP inference with tracking in DeepStream?

Request something like "detect and track on 4 RTSP streams with NvDCF". The generated pipeline uses uridecodebin sources feeding nvstreammux named pads, nvinfer for detection, nvtracker with the chosen tracker config, and nvmultistreamtiler for tiled output.

Does the DeepStream pipeline generator work on Jetson and dGPU?

Yes, it targets x86 dGPU (T4, A100, L40, RTX) and aarch64 platforms including Jetson Orin/Xavier/Nano and SBSA servers like Grace and GH200. Platform selection determines the display sink: nveglglessink for dGPU and nv3dsink for Jetson/SBSA.

What dependencies does the pipeline generator script require?

The scripts use only the Python 3.8+ standard library with no pip packages. DeepStream SDK must be installed at /opt/nvidia/deepstream/deepstream/ with gst-launch-1.0 and gst-inspect-1.0 on PATH for element verification and live parse validation.

Why is the live parse check skipped for multi-stream pipelines?

Multi-stream pipelines use named pad references like m.sink_0 on nvstreammux, and fakesrc cannot negotiate caps through named pads, which would cause false-positive linking errors. Syntax, element, and property checks still run for these pipelines.

What are the limitations of BM25-based pipeline retrieval?

The retriever uses no embeddings or semantic model, so unusual queries may return low confidence. In that case the skill falls back to documented assembly rules covering sources, inference chains, trackers, sinks, and extra operations instead of retrieved examples.