Deepstream failed to push rtsp

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
orin nx 16G
• DeepStream Version
6.2
• JetPack Version (valid for Jetson only)
5.1.1
• TensorRT Version
8.5.2.2
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

When I run deepstream-app -c source1_rtsp_sink1_rtsp.txt, everything works fine.

 *** DeepStream: Launched RTSP Streaming at rtsp://localhost:8556/ds-test ***

Opening in BLOCKING MODE 

Runtime commands:
        h: Print this help
        q: Quit

        p: Pause
        r: Resume

** INFO: <bus_callback:239>: Pipeline ready

Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
** INFO: <bus_callback:225>: Pipeline running

NvMMLiteOpen : Block : BlockType = 4 
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
H264: Profile = 66, Level = 0 
NVMEDIA: Need to set EMC bandwidth : 376000 
NVMEDIA_ENC: bBlitMode is set to TRUE

But when I use vlc to get the rtsp stream pushed out by sink1, the following problem occurs. How to solve it?

0:00:12.087629920 24918 0xaaaadd279f00 ERROR             rtspclient rtsp-client.c:1036:find_media: client 0xffff0c004e40: no factory for path 
0:00:12.087714400 24918 0xaaaadd279f00 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0xffff0c004e40: no media
0:00:12.101679872 24918 0xaaaadd279f00 ERROR             rtspclient rtsp-client.c:1036:find_media: client 0xffff0c004f70: no factory for path 
0:00:12.101748128 24918 0xaaaadd279f00 ERROR             rtspclient rtsp-client.c:2692:handle_setup_request: client 0xffff0c004f70: media '' not found

source1_rtsp_sink1_rtsp.txt:

################################################################################
# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
################################################################################

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

[tiled-display]
enable=0
rows=1
columns=1
width=1280
height=720

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP 5=CSI
type=4
uri=rtsp://192.9.200.94:554/live.sdp
latency=10
select-rtp-protocol=0
rtsp-reconnect-interval-sec=10
rtsp-reconnect-attempts=2	
udp-buffer-size=2000000
#video-format=NV12

[sink0]
enable=0
#Type - 1=FakeSink 2=EglSink/nv3dsink(Jetson only) 3=File 4=RTSPStreaming 5=nvdrmvideosink
type=2
source-id=0
sync=0
conn-id=0
width=1920
height=1080
plane-id=1



[sink1]
enable=1
source-id=0
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming 5=nvdrmvideosink
type=4
#1=h264 2=h265
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
bitrate=4000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
# set below properties in case of RTSPStreaming
rtsp-port=8556
udp-port=5400



[sink3]
enable=0
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265 3=mpeg4
codec=1
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
output-file=./out.mp4
source-id=0

[streammux]
##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=1280
height=720
## If set to TRUE, system timestamp will be attached as ntp timestamp
## If set to FALSE, ntp timestamp from rtspsrc, if available, will be attached
# attach-sys-ts-as-ntp=1

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

can the rtsp://localhost:8556/ds-test be played well?
about “I use vlc to get the rtsp stream pushed out by sink1”, how did you do this?

1 Like

Ok, I made a mistake in the rtsp address, I didn’t add “/ds-test”.