Le skill reste le coeur du repo. La couche web le rend presentable, exploitable et prete pour les equipes delivery enterprise.
skills/deepstream-dev/SKILL.md
--- name: deepstream-dev description: 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 integratio
---
name: deepstream-dev
description: 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.
license: CC-BY-4.0 AND Apache-2.0
metadata:
author: NVIDIA CORPORATION
version: 1.0.0
---
# DeepStream Development Skill
When this skill is active, **ALWAYS read the relevant reference documents** before generating code. Do NOT rely on memory - the reference documents contain critical details about exact property names, correct API usage, and common pitfalls.
## SDK and Architecture Quick Reference
### DeepStream SDK 9.0 Version Requirements
- **GStreamer**: 1.24.2
- **NVIDIA Driver**: 590+
- **CUDA**: 13.1
- **TensorRT**: 10.14.1.48
- **Platforms**: Ubuntu 24.04 (x86_64 and ARM64/Jetson)
### Typical Pipeline Flow
```
Source → Stream Muxer → Inference → [Tracker] → OSD → Renderer
```
Components in `[brackets]` are **optional** -- only add them when the user explicitly requests them.
| Stage | Role | Key Element(s) | Required? |
|-------|------|-----------------|-----------|
| Source | Input from files, RTSP, cameras | `nvurisrcbin` (preferred), `nvmultiurisrcbin`, `filesrc` | Yes |
| Stream Muxer | Batches streams for inference | `nvstreammux` | Yes |
| Inference | TensorRT model execution | `nvinfer`, `nvinferserver` | Yes |
| Tracker | Multi-object tracking across frames | `nvtracker` | **Only if requested** |
| OSD | Draws bounding boxes, labels, overlays | `nvosdbin` | Yes (for visualization) |
| Renderer | Display or save output | `nveglglessink`, `nv3dsink`, `filesink` | Yes |
### Memory Model
DeepStream uses NVIDIA Video Memory Manager (NVMM) for zero-copy GPU buffer transfers. Caps strings use `memory:NVMM` to indicate GPU memory (e.g., `video/x-raw(memory:NVMM), format=NV12`).
## Critical Rules
1. **Only Add Requested Components**: Do NOT add pipeline elements the user did not ask for.
- **Tracker (`nvtracker`)**: Only add when the user explicitly requests tracking or object IDs across frames
- **Secondary GIEs**: Only add when the user requests classification or attribute extraction
- **Analytics (`nvdsanalytics`)**: Only add when the user requests line crossing, ROI counting, etc.
- **Message broker (`nvmsgbroker`/`nvmsgconv`)**: Only add whe...