How to store different video sources separately and how to get the url after rtsp streaming

Hardware Platform Jetson nano
deepstream 5.0
file:source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_tx1.txt
questions
In sink1, how to save the specified source, can it be set according to the source-id, if not, how to set it?
In sink2, how do we push the stream, how do we get the url of the launched rtsp stream?
[sink1]
enable=1
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265
codec=1
source-id=3
#encoder type 0=Hardware 1=Software
enc-type=0
sync=0
#iframeinterval=10
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
[sink2]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
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=8554
udp-port=5400

Yes, you can use different source-id to save different stream if you have disabled [tiled-display] group.

The url is rtsp://host ip:port-number/ds-test

When I use VLC to pull the stream, vlc displays: VLC cannot open the MRL “rtsp://My ip address:85554/ds-test”. Please check the log for details.". Please check the log for details. But it can successfully ping ip address, how can I solve this problem?

Port id is 8554 but not 85554