How to get rstp streaming sink 's output?

I want to output a rstp stream and i attation to this config :

[sink1]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
## only mpeg4 is supported right now.
codec=1
sync=0
bitrate=1000
# set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400
source-id=0

[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=3
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
## only mpeg4 is supported right now.
codec=3
sync=0
bitrate=1000

output-file=out_1.mp4
source-id=0

I get the right output file . and i try to telnet 127.0.0.1 8554 ,It’s ok!

But I get error when I used vlc client media–>open network stream–> network–>rtsp://127.0.0.1:8554

The error like this:

VLC can not open MRL ‘rtsp://127.0.0.1:8554’。please check log in detail.

so ,how can i get my rstp output stream ?

Could you provide your DS version and platform you used?

My ds version is ver 3.0 ,and ubuntu 16.04 used.Anything is correct except rstp sink. so,it’s right for vlc url?

ensure you have installed gstreamer
and you can try this:
https://devtalk.nvidia.com/default/topic/1047633/yolo-for-deepstream-app/?offset=26
sudo apt-get install libgstrtspserver-1.0

Hope can help =]

The URL you are using to stream the video is not correct, the full URL where the stream is available is printed in application log on the console. Please check the logs for the correct URL.

yes,I check the log and get the current url.
but,I notice the url with some string same like “dstest”,how can I change the url suffix?

Have a look at “start_rtsp_streaming” function in deepstream_sink_bin.c file.