Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson AGX Xavier
• DeepStream Version DS 6.1.1
• JetPack Version (valid for Jetson only) JP 5.0.2
• TensorRT Version 8
I am running deepstream-app with two sources, the two are batched together and then inference is run on it. I would like two RTSP outputs, one for each source separately. I used “2” on the “enable” at the tiler and also set link-to-demux to 1 on the sink. I am getting two RTSP streams, but both of them show the same source video. I tried by setting the sink to an EGLsink and the same problem occurred - both the EGL displays showed the same source. Here is the config file I am using. Kindly let me know what I am missing.
perf-measurement-interval-sec=5
[tiled-display]
enable=2
rows=1
columns=2
width=1920
height=480
gpu-id=0
nvbuf-memory-type=0
[source0]
enable=1
type=3
uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/my_videos/cameraLeft.mp4
num-sources=1
gpu-id=0
cudadec-memtype=0
[source1]
enable=1
type=3
uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/my_vidoes/cameraCenter.mp4
num-sources=1
gpu-id=0
cudadec-memtype=0
[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=4
sync=0
source-id=0
link-to-demux=1
gpu-id=0
codec=1
bitrate=4000000
rtsp-port=8554
udp-port=5400
nvbuf-memory-type=0
[sink1]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=4
sync=0
source-id=1
link-to-demux=1
gpu-id=0
codec=1
bitrate=4000000
rtsp-port=8555
udp-port=5401
nvbuf-memory-type=0
[osd]
enable=1
gpu-id=0
border-width=5
text-size=10
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
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
live-source=0
batch-size=2
batched-push-timeout=40000
width=1920
height=480
enable-padding=0
nvbuf-memory-type=0
[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary_yoloV5_multiple_rtsp.txt
[tests]
file-loop=0
Thank you!