If I have 8 input video streams at the same time, may I listen port 8555, 8556, 8557 and 8558 to 8562 to get each overlay video stream ? How to configure ?
From my test, it has up to four video stream output with bonding box from port 8555 in VST server.
I try add one new RTSP sink. It will cause deepstream fail to initialize and always deepstream docker restarts.
Do you have RTSP multi-output ports example for reference ?
As the input video stream is added into DeepStream dynamically on JPS, DeepStream can’t support add RTSP output dynamically. I will check internally how to implement it. Can you share more details on your use case? Why you need multiple RTSP output? Is it possible to check the video stream in VST webUI in Chrome browser?
Can you share more details on your use case? Why you need multiple RTSP output?
==> This is an demo case we want.
Is it possible to check the video stream in VST webUI in Chrome browser?
==> It this function is enabled. The number of workable ROI video stream is 2.
I have one another question. If there are 8 input stream, are there 8 RTSP stream output ?
From the VLC, we only see 4 RTSP stream output.
I modify ds-config-0_agx.yaml → ds-config-0_agx_rstpOut.yaml in order to get rtsp out, but I cannot open rtsp://${JETSON_IP}:8554/ds-test in VLC. ds-config-0_agx_rstpOut.txt (3.3 KB)
Deploy: $ docker compose -f compose_agx.yaml up -d --force-recreate
From the log ($ docker compose -f compose_agx.yaml logs -f | grep 8554) I see
"camera_url": "rtsp://192.168.1.52:8554/live/camId
*** sink: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
I guess that port conflict seems to happen here?
By the way, as you can see in the modified ds-config-0_agx_rstpOut.txt (yaml actually), I have to disable tee, queue1, queue2, msgconv, msgbroker, coud you help me how to config nvrtspoutsinkbin together with msgconv, msgbroker?
Can you refer this config file to enable multiple RTSP output?
You can playback the output RTSP with below command line:
$ gst-play-1.0 rtsp://localhost:8555/ds-test --videosink=“nv3dsink sync=false”
$ gst-play-1.0 rtsp://localhost:8556/ds-test --videosink=“nv3dsink sync=false”
With your ds-config-0_agx.yaml , only this link rtsp://localhost:8555/ds-test is valid, the other rtsp://localhost:8556/ds-test is not valid.
Moreover, the rtsp out does not have bounding box visualized (no nvosd). If I would like to get rtsp out after OSD, could you tell me how to config?
Could you tell me what does element type: identity do?
${USER_NAME}@ubuntu:~$ gst-play-1.0 rtsp://localhost:8556/ds-test --videosink=“nv3dsink sync=false”
(gst-play-1.0:259763): gst-play-1.0-WARNING **: 15:37:33.591: Couldn't create specified video sink '“nv3dsink'
Press 'k' to see a list of keyboard shortcuts.
Now playing rtsp://localhost:8556/ds-test
Pipeline is live.
ERROR Unhandled error for rtsp://localhost:8556/ds-test
ERROR debug information: ../gst/rtsp/gstrtspsrc.c(6795): gst_rtspsrc_send (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Service Unavailable (503)
Now playing /mnt/${DISK}/Users/${USER_NAME}/sync=false”
ERROR Resource not found. for file:///mnt/${DISK}/Users/${USER_NAME}/sync=false%E2%80%9D
ERROR debug information: ../plugins/elements/gstfilesrc.c(553): gst_file_src_start (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin1/GstFileSrc:source:
No such file "/mnt/${DISK}/Users/${USER_NAME}/sync=false”"
Reached end of play list.