Jetson Xavier AGX RTSP input

Jetson Xavier AGX
Jetpack 4.5.1
Deepstream 5.1

Hi,

I’m having a problem connecting my deepstream-app to my RTSP server cam. Deepstream-app opens successfully yet the screen only shows a black screen. Please see my config file below. I can see the stream on VLC Player but not with the app. The issue might be the video decoder. Any help will be appreciated.

Config file;

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
#gie-kitti-output-dir=streamscl

[tiled-display]
enable = 0
rows = 1
columns = 1
width = 1920
height = 1080
gpu-id = 0
nvbuf-memory-type = 0

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=4
uri=rtsp://admin:admin@172.16.1.118:554
num-sources=1
#drop-frame-interval=2
gpu-id=0
# (0): memtype_device   - Memory type Device
# (1): memtype_pinned   - Memory type Host Pinned
# (2): memtype_unified  - Memory type Unified
cudadec-memtype=0

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=2
source-id = 0
gpu-id = 0
sync=0

[osd]
enable = 1
gpu-id = 0
border-width = 1
text-size = 15
text-color = 1;1;1;1;
text-bg-color = 0.3;0.3;0.3;1
font = Arial
show-clock = 0
clock-x-offset = 800
clock-y-offset = 820
clock-text-size = 12
clock-color = 1;0;0;0
nvbuf-memory-type = 0

[streammux]
gpu-id=0
##Boolean property to inform muxer that sources are live
live-source=1
batch-size=1
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
batched-push-timeout=40000
## Set muxer output width and height
width=1920
height=1080
##Enable to maintain aspect ratio wrt source, and allow black borders, works
##along with width, height properties
enable-padding=0
nvbuf-memory-type=0

[primary-gie]
enable = 1
gpu-id = 0
bbox-border-color0 = 1;0;0;1
bbox-border-color1 = 0;1;1;1
bbox-border-color2 = 0;0;1;1
bbox-border-color3 = 0;1;0;1
interval = 2
gie-unique-id = 1
nvbuf-memory-type = 0
int8-calib-file = …/…/…/…/…/samples/models/Resnet18_Face_Detection/calibration.bin
labelfile-path = …/…/…/…/…/samples/models/Resnet18_Face_Detection/labels.txt
tlt-encoded-model = …/…/…/…/…/samples/models/Resnet18_Face_Detection/resnet18_detector.etlt
tlt-model-key = M3Uyam5hcmQzMWRvaG1jNHFhbGJyamoyaTE6MzE5NTYwMzMtNTUyZS00ZTU0LWFhZGUtNzFhM2EyOWEyMDQ0
config-file = …/…/…/…/…/samples/configs/deepstream-app/config_infer_face_primary.txt
batch-size = 1

[tracker]
enable = 0
tracker-width = 640
tracker-height = 384
ll-lib-file = /opt/nvidia/deepstream/deepstream-4.0/lib/libnvds_mot_klt.so
gpu-id = 0
enable-batch-process = 0

[tests]
file-loop=0

Thanks.

Hi,
Please check if the URI is playable through uridecodebin:

$ gst-launch-1.0 uridecodebin uri=rtsp://admin:admin@172.16.1.118:554 ! nvoverlaysink

Stuck in this screen.

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:admin@172.16.1.118:554
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Opening in BLOCKING MODE
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261

Hi,
Looks like video decoding is running from the log. Do you see video playback on screen?

@DaneLLL No, I do not.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Hi,
Please try Jetpack 4.6.1(r32.7.1) and check if the RTSP input can be decoded.