Can nvarguscamerasrc and RTSP sources work together in DeepStream?
Environment
-
Hardware: Jetson AGX Orin
-
JetPack: 6.2
-
DeepStream: 7.1
-
Camera: ZED X (via nvarguscamerasrc)
-
RTSP: Dahua/Axis IP cameras (~10fps H.264)
Problem Summary
We cannot get nvarguscamerasrc and RTSP sources to work together in a single DeepStream pipeline. After 50+ configuration attempts across both OLD and NEW nvstreammux, no combination produces acceptable results.
What works individually:
-
ZED X alone → Works ok
-
RTSP alone → Works ok
-
Multiple RTSP cameras together → Works ok
What doesn’t work:
- ZED X + RTSP together → Always has issues (micro-freezes, latency, dropped frames)
What We Tried
| Attempt | Configuration | Result |
|---------|--------------|--------|
| OLD mux, sync-inputs=0 | Default settings | RTSP appears but minutes behind real-time |
| OLD mux, sync-inputs=1 | Synchronized batching | RTSP frames dropped entirely |
| NEW mux, sync-inputs=0 | `USE_NEW_NVSTREAMMUX=yes` With `attach-sys-ts=TRUE` | RTSP works, ZED X terrible FPS |
| NEW mux + scaling | Pre-mux nvvidconv+capsfilter | RTSP latency is bad |
| Buffer tuning | 40+ combinations of queue/latency settings | No improvement |
| FPS matching | ZED X sensor-mode=3 (30fps) | Better ratio, still broken |
| nvurisrcbin | over stantandard rtspsrc | Glitching issues |
Question
Is mixing nvarguscamerasrc with RTSP sources in a single nvstreammux pipeline a supported use case?
If yes:
-
What is the correct configuration?
-
Are there example pipelines or reference applications?
If no:
-
Is this a known limitation?
-
What is the recommended architecture for applications that need both local cameras and RTSP streams?
Minimal Pipeline Example
# This is what we're trying to achieve:
nvarguscamerasrc → nvvidconv → nvstreammux (pad 0) ─┬─→ nvinfer → output
rtspsrc → decodebin → nvvidconv → nvstreammux (pad 1) ─┘
Any guidance would be appreciated. We’ve invested significant time trying to make this work and are considering abandoning DeepStream if this is not a supported configuration.