NVIDIA DeepStream SDK is a streaming analytics toolkit for AI-based video and image understanding, providing a GStreamer-based framework to build multi-stream, multi-model inference pipelines on NVIDIA GPUs (dGPU and Jetson).
DeepStream pipelines combine hardware-accelerated decoding/encoding, TensorRT inference, object tracking, and message-broker integrations to deliver real-time video analytics across dGPU and Jetson platforms.
DeepStream is published as a unified GitHub repository; sources are to be used under the project LICENSE (documentation: CC-BY-4.0; source code: Apache-2.0). GitHub Release assets specific license details can be referred at Release Asset License under DeepStream Release Assets. The project is actively maintained and welcomes contributions — refer to the Contribution Guidelines for more details.
This repository contains the complete source code for DeepStream 9.2.
Components (src/):
src/gst-plugins/— DeepStream GStreamer plugin sourcessrc/gst-utils/— GStreamer utility library sourcessrc/utils/— utility library sourcessrc/apps/sample_apps/— GStreamer-based sample applicationssrc/apps/reference_apps/— advanced reference applicationssrc/apps/tao_apps/— TAO-model integration appssrc/service-maker/— Service Maker C++/Python SDK and appssrc/3rdparty/— x86-only vendored sources (gst-nvunixfd,gst-v4l2,v4l2) built bybuild/build.sh
Tools (tools/):
inference_builder— visual inference pipeline builderauto-magic-calib— camera auto-calibration toolyolo_deepstream— YOLO + TensorRT integrationsam2-onnx-tensorrt— SAM2 ONNX-to-TensorRT conversiondeepstream-host-provisioning— Ansible host provisioning; its checked-in defaults remain the legacy stack, not this branch's TRT11 target. Review and override the platform variables before using it.deepstream-otelcol— OpenTelemetry Collector setup for streaming metrics
AI agent skills (skills/, for Claude Code & compatible coding agents):
deepstream-dev— general DeepStream developmentdeepstream-generate-pipeline— interactivegst-launchpipeline builderdeepstream-profile-pipeline— Nsight Systems profiling & config derivationdeepstream-sop— SOP step-sequence compliance microservicedeepstream-import-vision-model— autonomous vision-model onboardingdeepstream-run-mv3dt— run the MV3DT reference app on sample or custom datasetsdeepstream-setup-on-wsl— set up and verify DeepStream in Docker inside WSL2inference-builder— generate deployable GPU inference pipelines from declarative configsdeepstream-eval-and-finetune— evaluate and improve object detectors for DeepStreamamc-run-auto-calibration— launch AMC, verify the sample dataset, calibrate MP4 videos, or calibrate RTSP streamsrtvi-cv-customize-model— swap the CV detection model in RTVI-CVrtvi-vlm-customize-model— swap the VLM in the VSS Alerts Blueprintrtvi-cv-scaffold-vss-service— scaffold a custom RTVI CV microservice that publishes to VSS via Kafka
The Brev launchable workflow is available in deploy/brev/.
Before building, ensure the following prerequisites are installed:
-
NVIDIA compute stack — driver, CUDA, cuDNN, and TensorRT at the versions listed below. See the DeepStream SDK Installation Guide.
-
DeepStream 9.2 proprietary runtime — the prebuilt libraries and sample data are published as GitHub Release assets.
bash build/build.shautomatically downloads the packages intoartifacts/before the build process starts.Note: After a successful build,
artifacts/is removed automatically. Pass--keep-assetsto retain them.
SBSA / DGX Spark: DeepStream bare-metal installation is not supported on SBSA. Build and validation must be done inside the NVIDIA SBSA Docker container, which ships with DeepStream pre-installed —
build/build.shis not required inside the container. If you modify an open-source component, runmake && make installin that component's directory to deploy the updated binaries/libs. See build/BUILD.md.
# Install Git LFS (required for LFS-tracked sample media in reference apps)
sudo apt-get install git-lfs && git lfs install
# Clone the repo with submodules
git clone --recurse-submodules https://github.com/NVIDIA/DeepStream.git && cd DeepStreamSee build/BUILD.md for full build instructions, including system package dependencies (x86, aarch64, SBSA / DGX Spark), build/build.sh usage and environment variables (CUDA_VER, NVDS_VERSION, INSTALL_METHOD), and build output locations under /opt/nvidia/deepstream/deepstream-9.2/.
See src/README.md for component-specific READMEs, prerequisites, and platform limitations (on SBSA / DGX Spark only the source-available components are built), and CHANGELOG.md for the complete 9.2.0 release notes.
Supported Platforms
For the TensorRT 11 upgrade targets and packaging an existing complete SDK
runtime with these sources, see the upgrade build workflow.
This branch defaults source builds and packages to 9.2.1, retaining the
deepstream-9.2 install directory. Published asset versions below are unchanged.
The published baseline below is not qualification of the upgrade branch.
The local upgrade branch selects these separate compute-stack targets:
| Target | CUDA toolkit / CUDA_VER |
TensorRT | cuDNN | VPI |
|---|---|---|---|---|
| x86 dGPU | 13.4.3 / 13.4 |
11.4.0.106 | 9.27.0.42 | 4.1.4 |
| SBSA | 13.2.2 / 13.2 |
11.4.1.31 | 9.20.0.46 | 4.1.6 |
| Jetson, JetPack 7.2.2 | 13.2.2 / 13.2 |
11.4.1.31 | 9.20.0.46 | 4.1.6 |
The x86/SBSA host-driver target is 620.70.06. Its nvidia-smi CUDA UMD
13.5 reading describes driver capability, not the selected toolkits:
13.4.3 on x86 and 13.2.2 on SBSA.
Jetson retains its JetPack-supplied driver and 13.2.2 toolkit.
These are build targets, not completed platform qualification. IGX's existing stack is not upgraded by this work. Explicit CUDA/TensorRT overrides require matching development and runtime inputs. Provision the matching Triton client SDK as described in the build guide; the build does not pull Docker images automatically. For optional container creation, x86 uses matching Triton 26.10 runtime/client-SDK images. SBSA follows the Jetson Docker recipe with Triton 26.04 and the local TensorRT 11.4.1.31 repository package. See Docker build instructions.
The published 9.2.0 artifact pins below remain unchanged until reviewed matching
assets are available. Do not treat an older opaque binary bundle as rebuilt for
these targets. An explicitly supplied complete GVS runtime can be assembled with
--package-from; this does not rebuild its binaries or establish source/stack
provenance. Matching proprietary inputs and real hardware validation remain
required for a release.
--package-from needs materialized runtime directories (bin, lib, samples,
service-maker and optional sources/sparse4d), not directory symlinks back into
another installation. Nested directory aliases are rejected before staging is
changed. Ordinary library/file symlinks are preserved; a source overlay replaces
a colliding file symlink without modifying its original target.
ARM engineering packages retain the explicitly reduced SKIP_SPARSE4D_OCR=1
policy from the initial source port, independently of later parent SDK defaults.
Both shipped sample-config trees and
setup disable OCR; this is not OCR enablement. Service Maker remains included,
and pyservicemaker retains its independent 0.0.1 version.
| Platform | Architecture | Notes |
|---|---|---|
| x86 dGPU | x86_64 | Ubuntu 24.04, CUDA 13.2, TensorRT 10.16.x, driver 595+ |
| Jetson | aarch64 | JetPack 7.2.1 (CUDA 13.2, TensorRT 10.16.x) |
| IGX Thor | aarch64 | IGX-SW 2.0 GA (CUDA 13.0, TensorRT 10.13.x, GPU driver 580.00) |
| SBSA / DGX Spark | aarch64 | Bare-metal DS installation not supported; build and run inside the NVIDIA SBSA Docker container. Only open-source components are built — no artifacts installed. |
# Build. The script prompts for sudo only when installing to system paths.
bash build/build.shAfter bash build/build.sh, binaries are installed to /opt/nvidia/deepstream/deepstream-9.2/bin/. Run the reference deepstream-app with one of the sample configs:
cd /opt/nvidia/deepstream/deepstream-9.2/samples/configs/deepstream-app
deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display.txt
# After the first install, clear the GStreamer plugin cache if needed:
rm -rf ~/.cache/gstreamer-1.0/- More such examples: DeepStream Quickstart Guide
- Detailed API reference: DeepStream SDK Developer Guide
Each app must be run from its source directory so relative config paths resolve correctly. Refer to the README inside each app directory for app-specific run instructions and config options.
Optional. Skip this if the bare-metal build above already works for you. Use the Triton container when you need Triton-backed inference. On SBSA / DGX Spark, use the SBSA Docker container as described above — bare-metal installation is not supported.
NVIDIA publishes a DeepStream Docker image bundled with Triton Inference Server.
# Pull the image (use 9.2-triton-sbsa-dgx-spark instead on SBSA / DGX Spark)
docker pull ghcr.io/nvidia/deepstream:9.2-triton-multiarch
# Launch with display (use 'fakesink' in your pipeline for headless)
export DISPLAY=:0 && xhost +
docker run -it --rm --gpus all --network=host \
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix \
ghcr.io/nvidia/deepstream:9.2-triton-multiarch
# Inside the container, run a Triton-backed sample
cd /opt/nvidia/deepstream/deepstream-9.2/samples/configs/deepstream-app-triton
deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display.txtPrerequisites: Docker (docker-ce), the NVIDIA Container Toolkit, and NVIDIA driver 595+. Triton sample model repos ship under /opt/nvidia/deepstream/deepstream/samples/triton_model_repo/. For gRPC-backed Triton, use samples/configs/deepstream-app-triton-grpc/ instead.
Prepare Triton dependencies and sample models on Jetson.
Building
gst-nvinferserver? The dependency stage provisions Triton 2.74.0 client SDK inputs for x86/Jetson when/opt/tritonclientis incomplete. SBSA uses the Triton 2.68.0 (26.04) aarch64 client archive. An explicitTRITON_CLIENT_SDK_ROOTmust already be complete. The DeepStream package does not bundle that SDK. See the build guide and the "Other dependencies" section insrc/gst-plugins/gst-nvinferserver/README.
# Run from the cloned repository root after the DeepStream build has completed.
# First set both URL variables to reviewed Triton2.74.0 (26.10) ZIP inputs
# qualified for JetPack7.2.2/CUDA13.2.2/TRT11.4.1, not the stock SBSA build.
# Each URL must contain /v2.74.0/; there is no legacy26.04 fallback.
sudo env DEEPSTREAM_VARIANT=jetson TRITON_PKG_PATH="$TRITON_PKG_PATH" \
TRITON_CLIENT_SDK_PKG_PATH="$TRITON_CLIENT_SDK_PKG_PATH" \
./scripts/triton_backend_setup.sh
# Clear the plugin cache after the Triton libraries are installed.
rm -rf ~/.cache/gstreamer-1.0/
# Generate TensorRT engines and prepare the Triton model repository.
./scripts/prepare_ds_triton_model_repo.sh
# Run the local nvinferserver sample.
cd /opt/nvidia/deepstream/deepstream-9.2/samples/configs/deepstream-app-triton
deepstream-app -c source30_1080p_dec_infer-resnet_tiled_display.txtExplicit provider required for native Jetson. Set reviewed matching
TRITON_PKG_PATHandTRITON_CLIENT_SDK_PKG_PATH; legacy26.04 is not a fallback. Provision matching native dependencies and stop DeepStream/Triton before applying; the helper does not install platform dependencies.--check-onlychecks URL selection without downloading or installing; it does not qualify compatibility. SBSA remains container-only. For remote inference over gRPC, usesamples/configs/deepstream-app-triton-grpc/and starttritonserverseparately.
| Page | Description |
|---|---|
| Overview & Architecture | What DeepStream is, key features, and the GStreamer-based pipeline architecture. |
| Release Notes | What's new in this release, supported platforms, and known issues. |
| Installation | Step-by-step installation of the NVIDIA compute stack and DeepStream SDK on x86 and Jetson. |
| Docker Containers | Available DeepStream container images (incl. Triton variants) and how to pull and run them. |
| DeepStream Samples | Reference walkthroughs of the bundled C/C++ sample applications and what each one demonstrates. |
| Reference Applications | Advanced GitHub-hosted reference apps demonstrating specialized end-to-end pipelines. |
| TAO Apps | DeepStream sample apps integrating TAO-trained models (detection, classification, segmentation, pose, LPR). |
| DeepStream Plugins | Reference for every DeepStream GStreamer plugin — properties, pad caps, and usage. |
| Service Maker | Build DeepStream pipelines declaratively with the C++ / Python Service Maker SDK. |
| Inference Builder | Compose and configure DeepStream inference pipelines visually with the Inference Builder tool. |
| Auto Magic Calib | Automatic camera calibration tool for multi-camera DeepStream deployments. |
| DeepStream Libraries | DeepStream utility and helper libraries bundled in this repository at deepstream_libraries/. |
| DeepStream Coding Agent | Use the bundled skills/ with Claude Code and other AI coding assistants to generate DeepStream pipelines. |
DeepStream/
├── .claude/ # Claude Code project-local config (settings, commands)
├── .github/ # GitHub workflows, issue templates, CODEOWNERS
├── build/
│ ├── BUILD.md # build instructions
│ └── build.sh # top-level build driver
├── example_prompts/ # example prompts for AI coding agents
├── deploy/brev/ # Brev launchable workflow for DeepStream Code Agent
├── includes/ # shared public headers (ds3d, nvdsinferserver, …)
├── scripts/
│ ├── install_artifacts.sh # installs proprietary libs + sample data to /opt
│ ├── install_opensource_deps.sh # builds open-source deps (OpenTelemetry, civetweb, …)
│ ├── install.sh # system integration (update-alternatives, pyservicemaker)
│ ├── uninstall.sh # removes a DeepStream installation from /opt
│ ├── triton_backend_setup.sh # sets up Triton inference server backends
│ ├── prepare_ds_triton_model_repo.sh # prepares the Triton model repository
│ ├── prepare_ds_triton_tao_model_repo.sh # prepares the Triton model repository for TAO models
│ ├── prepare_classification_test_video.sh # generates a classification test video
│ ├── rtpmanager/update_rtpmanager.sh # rtpjitterbuffer/rtsp EOS-hang fix script + patch files
│ └── print_env.sh # env diagnostic helper for bug reports
├── skills/
│ ├── amc-run-auto-calibration/ # AMC setup, sample, video, and RTSP calibration skill
│ ├── deepstream-dev/ # general DS development skill
│ ├── deepstream-generate-pipeline/ # interactive gst-launch pipeline builder
│ ├── deepstream-profile-pipeline/ # Nsight Systems profiling & config derivation
│ ├── deepstream-sop/ # SOP step-sequence compliance microservice
│ ├── deepstream-import-vision-model/ # autonomous vision-model onboarding skill
│ └── deepstream-run-mv3dt/ # MV3DT reference-app operations skill
│ ├── rtvi-cv-customize-model/ # RTVI-CV model customization skill
│ ├── rtvi-vlm-customize-model/ # RTVI VLM model customization skill
│ └── rtvi-cv-scaffold-vss-service/ # RTVI CV VSS-service scaffolding skill
├── src/
│ ├── 3rdparty/ # x86-only vendored gst-nvunixfd, gst-v4l2, v4l2
│ ├── apps/ # sample, reference, and TAO sample applications
│ ├── gst-plugins/ # GStreamer plugin sources (per-plugin subdirs)
│ ├── gst-utils/ # GStreamer utility library sources
│ ├── service-maker/ # Service Maker C++/Python SDK and apps
│ └── utils/ # utility library sources (per-library subdirs)
├── deepstream_libraries/ # DeepStream utility and helper libraries
├── deepstream_dockers/ # DeepStream dockers
└── tools/
├── auto-magic-calib/ # camera auto-calibration tool
├── deepstream-otelcol/ # OpenTelemetry Collector setup for streaming metrics
├── inference_builder/ # visual inference pipeline builder
├── deepstream-host-provisioning/ # Ansible playbooks for host provisioning (x86_64 & ARM SBSA)
├── sam2-onnx-tensorrt/ # SAM2 ONNX-to-TensorRT conversion
└── yolo_deepstream/ # YOLO + TensorRT integration
NOTE: DeepStream-specific repositories previously hosted under the NVIDIA-AI-IOT GitHub organization are now consolidated into this repository.
The table below maps the existing NVIDIA-AI-IOT GitHub repository sources to their location in this repository.
| Submodule | Path | License |
|---|---|---|
| NVIDIA-Optical-Character-Detection-and-Recognition-Solution (nvocdr) | src/apps/tao_apps/apps/tao_others/deepstream-nvocdr-app/nvocdr/ | NVIDIA OCDR Solution Software License |
Summary of benchmarks; for detailed performance numbers and hardware used, refer to the DeepStream Performance Guide.
- Releases / Changelog: CHANGELOG.md
The following .deb and .tar artifacts are published as GitHub Release assets. build/build.sh downloads them automatically into artifacts/ before installation:
| Asset | Architecture | Description |
|---|---|---|
deepstream-9.2_9.2.0-1_amd64.deb |
x86_64 | DeepStream 9.2 SDK Debian package for x86 dGPU. |
deepstream-9.2_9.2.0-1_arm64.deb |
aarch64 | DeepStream 9.2 SDK Debian package for Jetson. |
deepstream-binaries-x86_9.2.0_amd64.deb |
x86_64 | Prebuilt proprietary runtime libraries for x86. |
deepstream-binaries-aarch64_9.2.0_arm64.deb |
aarch64 | Prebuilt proprietary runtime libraries for Jetson. |
deepstream-sample-data_9.2.0.deb |
all | Sample models, configs, and video streams. |
| Asset | Architecture | Description |
|---|---|---|
deepstream_sdk_v9.2.0_x86_64.tbz2 |
x86_64 | DeepStream 9.2 SDK tarball for x86 dGPU. |
deepstream_sdk_v9.2.0_jetson.tbz2 |
aarch64 | DeepStream 9.2 SDK tarball for Jetson. |
deepstream_sdk_v9.2.0_sbsa.tbz2 |
aarch64 (SBSA) | DeepStream 9.2 SDK tarball for SBSA. Tarball only (no deb). |
deepstream-binaries-x86_9.2.0.tar.gz |
x86_64 | Prebuilt proprietary runtime libraries for x86. |
deepstream-binaries-aarch64_9.2.0.tar.gz |
aarch64 | Prebuilt proprietary runtime libraries for Jetson. |
deepstream-sample-data_9.2.0.tar.gz |
all | Sample models, configs, and video streams. |
| Asset | Architecture | Description |
|---|---|---|
deepstream_libraries-1.4-cp312-cp312-linux_x86_64.whl |
x86_64 | DeepStream Libraries Python wheel (CPython 3.12) for x86. |
Release assets can be downloaded via curl or wget from the command line.
curl
curl -LO 'https://github.com/NVIDIA/DeepStream/releases/download/v9.2.0/deepstream-9.2_9.2.0-1_amd64.deb'wget
wget --content-disposition 'https://github.com/NVIDIA/DeepStream/releases/download/v9.2.0/deepstream-9.2_9.2.0-1_amd64.deb'NOTE: Replace
deepstream-9.2_9.2.0-1_amd64.debwith the name of the asset you want to download.
DeepStream Docker images are available from two registries, depending on the release:
- DeepStream 9.2.0 and future releases: GHCR (
ghcr.io/nvidia/deepstream) - DeepStream 9.1.0 and previous releases: NGC
For example, to pull the DeepStream 9.2 Triton image from GHCR:
docker pull ghcr.io/nvidia/deepstream:9.2-triton-multiarchContributions are welcome through pull requests to the develop branch. Read CONTRIBUTING.md for how to propose a change, coding conventions, licensing, and the Developer Certificate of Origin (DCO) sign-off (git commit -s). For bugs and feature requests, open an issue first. The product roadmap is managed by NVIDIA, so large changes should be discussed in an issue before a pull request is opened.
To submit a pull request:
- Create a working branch from
develop. - Make and review your changes.
- Build using the GitHub build script.
- Run
deepstream-appwith the source4 config for a sanity test on x86 or Jetson. - Commit with contributor sign-off.
- Push the working branch.
- Open a pull request targeting
NVIDIA/DeepStream:develop.
For details on each step, refer to the Pull Request Guidelines.
- Vulnerability disclosure: File an issue at Issues.
- Do not file public issues for security reports.
- Level: Maintained
- How to get help: Issues / DeepStream SDK Developer Forum
- Filing a bug? Use the bug report template and include: platform (x86 / Jetson / SBSA), DeepStream version, install method (Debian / Docker / source), and the output of
scripts/print_env.sh.
Join the DeepStream community to ask questions, share feedback, and report issues.
- DeepStream container — prebuilt runtime image (also bundles Triton).
- NVIDIA TAO Toolkit — model training/optimization, source of the TAO sample apps.
- GStreamer documentation — underlying framework.
This project is licensed under CC-BY-4.0 AND Apache-2.0.
- SPDX-License-Identifier: CC-BY-4.0 AND Apache-2.0
The CC-BY-4.0 AND Apache-2.0 project license is not applicable to src/3rdparty/. Those vendored sources keep their own licenses as listed below.
All GitHub Release assets (.deb packages and .tar.gz tarballs under the deepstream-binaries-* and deepstream-sample-data_* names) are governed by the Software License Agreement For NVIDIA Software Development Kits, refer the "LicenseAgreement" included within all GitHub Release Assets packages.
Refer THIRD_PARTY_LICENSES for all 3rd Party OSS licenses and Notices
Vendored sources under src/3rdparty/ (x86 only) keep their upstream licenses:
| Path | License |
|---|---|
| src/3rdparty/gst-nvunixfd/ | LGPL-2.1-only (LICENSE); NVIDIA-authored files (Makefile, gstnvipcbufferpool.*) are Apache-2.0 |
| src/3rdparty/gst-v4l2/ | LGPL-2.0 (LICENSE.gst-nvvideo4linux2); NVIDIA-authored files (Makefile, README.txt, nvhelper_dyn.*, wsl_utils.*) are Apache-2.0; nalutils.* and gstv4l2h26xparser.* are derived from GStreamer gst-plugins-bad codecparsers (LGPL-2.0-or-later) |
| src/3rdparty/v4l2/ | LGPL-2.1-or-later (libv4l2 / libv4lconvert from v4l-utils); libv4lconvert bundles TinyJPEG (BSD-3-Clause) and an IDCT from the Independent JPEG Group (IJG), so this software is based in part on the work of the Independent JPEG Group (notices in THIRD_PARTY_LICENSES.txt); NVIDIA-authored README files are Apache-2.0 |
A few component subdirectories retain their own vendored/upstream LICENSE file (in addition to being covered by THIRD_PARTY_LICENSES.txt and/or the root LICENSE); these are kept in place for build/CI tooling that expects a local license file at that path:
| Path | License |
|---|---|
| src/3rdparty/gst-nvunixfd/LICENSE | LGPL-2.1-only (vendored GStreamer unixfd; also listed in THIRD_PARTY_LICENSES.txt) |
| src/3rdparty/gst-v4l2/LICENSE.gst-nvvideo4linux2 | LGPL-2.0 (vendored GStreamer V4L2; also listed in THIRD_PARTY_LICENSES.txt) |
| tools/inference_builder/dependencies/triton-inference-server/common/LICENSE | BSD-3-Clause (vendored from triton-inference-server/common; also listed in THIRD_PARTY_LICENSES.txt) |
| skills/deepstream-sop/references/license.txt | Apache-2.0 (copy of the root project license, kept local for the SOP microservice's own packaging needs) |
| tools/auto-magic-calib/LICENSE | Apache-2.0 (copy of the root project license) |
| tools/auto-magic-calib/assets/LICENSE | CC-BY-4.0 (copy of the root project license, scoped to the assets/ directory) |
| src/utils/ds3d/3rdparty/realsense2/LICENSE | Apache-2.0, Copyright 2017 Intel Corporation (vendored Intel RealSense SDK librealsense2 headers used by the DS3D RealSense dataloader; also listed in THIRD_PARTY_LICENSES.txt) |