Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) GPU • DeepStream Version Deepstream 6.2 • Issue Type( questions, new requirements, bugs) question • Language python
I was trying out runtim_source_add_delete in deepstream Python apps, and I added RTSP streams. Sometimes due to network issues or some other reason, the connection gets disrupted, and the application terminates. I am looking for some means to handle this issue, whether the inserted RTSP URL is incorrect or if the connection gets closed in between.
it seemed caps was null. I can’t reproduce this issue by testing deepstream_nvdsanalytics.py without code modification. for example, rtsp://127.0.0.1:8554/test is a valid RTSP source. when I tested rtsp://127.0.0.1:8554/test1, the app did not trigger cb_newpad function. here is the log: log-93.txt (2.5 KB)
how did you test? is it black at the first frame? is it black after rtsp reconnection?
can you dump some stream data? I will have a try. here is the command: gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test ! rtph264depay ! h264parse ! mux. mpegtsmux name=mux ! filesink location=output.ts
I can’t reproduce the issue after testing my stream. here is the commandline: gst-launch-1.0 nvurisrcbin uri=rtsp://127.0.0.1:8554/test ! nvvideoconvert ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12’ ! nvv4l2h264enc bitrate=1000000 ! filesink location=test.264