Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) • DeepStream Version • JetPack Version (valid for Jetson only) • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs) • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
The above link was a reply give to a rtsp connection issue.
It is mentioned that the deepstream-app continues to run even if 1 or more streams are broken.
when a camera is disconnected from network, the app continues to run for a while, and then gets prints this:
Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5637): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-02/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Unhandled return value -7.
Error: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5705): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-02/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Could not receive message. (System error)
[NvMultiObjectTracker] De-initialized
[NvMultiObjectTracker] De-initialized
It is also mentioned in the link that the apps knows what to do if it receives an error message, what does that mean?
and also the pipeline stops if 1 or more cameras are disconnected from the network after few minutes.
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.1.1
• TensorRT Version TensorRT 8.4.1.5
• NVIDIA GPU Driver Version (valid for GPU only) 525.147.05
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) add multiple camera source, and disconnect them while the pipeline is running
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I have created a topic for the same issue saying that parallel streammux doesnt work on deepstream-6.3, and i have received no proper support for the same.
That is the reason I am using 6.1.1
are you testing deepstream-app? could you share the cfg which is used to start deepstream-app. could you share a whole log? if the number of “nvstreammux: Successfully handled EOS…” printing equals to the number of sources. the app will exit.
This when one camera is not connected to the network while starting the pipeline, pushes few frames and the pipeline stops
ERROR: source : Could not open resource for reading and writing.
debugging info: gstrtspsrc.c(7893): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Failed to connect. (Generic error)
[NvMultiObjectTracker] De-initialized
[NvMultiObjectTracker] De-initialized
[ERROR push 334] push failed [-2]
[ERROR push 334] push failed [-2]
This when one camera gets disconnected while the pipeline is running, and after about say 10-15 minutes later, I get these logs
ERROR: source : Could not read from resource.
debugging info: gstrtspsrc.c(5705): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-01/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Could not receive message. (System error)
[NvMultiObjectTracker] De-initialized
[NvMultiObjectTracker] De-initialized
I dont want the app to exit, as there are other streams running.
I am not using deepstream-apps, I am using deepstream-parallel-inference implementation in python(I have written the custom pipeline keeping the cpp reference)
please refer to bus_callback in opt\nvidia\deepstream\deepstream-6.3\sources\apps\sample_apps\deepstream-app\deepstream_app.c, you can let app no exit when receive error message.
for example, deepstream-app will not exit when printing “Failed to connect. (Generic error)”. here is my test. 12-13.txt (3.1 KB)
when a camera is disconnected from network, the app continues to run for a while, and then gets prints this:
Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5637): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-02/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Unhandled return value -7.
Error: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5705): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstBin:source-bin-02/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Could not receive message. (System error)
[NvMultiObjectTracker] De-initialized
[NvMultiObjectTracker] De-initialized
There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks.
“Could not receive message. (System error)” is from here, low-evel will send this error to upper-level. did your code receive the error after adding printing in bus_callback? if using local file, can bus_callback print normal log?