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)
i do the same things that eepstream_test_3.py do but i have gotten this error can you help me ?
my pipeline :
Gst-uridecodebin(RTSP) ->Gst-nvstreammux->Gst-nvvideoconvert->Gst-nvdsosd
linking and adding in uridecode
def link_source_bin(self ,src_element : Gst.Element, dst_element : Gst.Element, sink_id : int):
# Iterate through each input source
uri_name=src_element.get_property(“uri”) # Retrieve input file URI
if uri_name.find(“rtsp://”) == 0 :
is_live = True
source_bin=create_source_bin( src_element,sink_id) # Call helper to create source bin
if not source_bin:
raise RuntimeError(“Unable to create source bin \n”)
self.pipeline.add(source_bin) # Add source bin to pipeline
padname=“sink_%u” %sink_id
sinkpad= dst_element.request_pad_simple(padname) # Retrieve a sink pad from the streammux element
if not sinkpad:
raise RuntimeError(“Unable to create sink pad bin \n”)
srcpad=source_bin.get_static_pad(“src”) # Retrieve the source pad of the source bin
if not srcpad:
raise RuntimeError(“Unable to create src pad bin \n”)
srcpad.link(sinkpad) # Link the source pad of the source bin to the sink pad of the streammux
ef create_source_bin(src_element:Gst.Element,index):
# Create a source GstBin to abstract this bin’s content from the rest of the
# pipeline
bin_name=“source-bin-%02d” %index
print(“Creating source bin”+ bin_name)
nbin=Gst.Bin.new(bin_name)
if not nbin:
sys.stderr.write(" Unable to create source bin \n")
# Connect to the "pad-added" signal of the decodebin which generates a
# callback once a new pad for raw data has been created by the decodebin
src_element.connect("pad-added",cb_newpad,nbin)
src_element.connect("child-added",decodebin_child_added,nbin)
# We need to create a ghost pad for the source bin which will act as a proxy
# for the video decoder src pad. The ghost pad will not have a target right
# now. Once the decode bin creates the video decoder and generates the
# cb_newpad callback, we will set the ghost pad target to the video decoder
# src pad.
Gst.Bin.add(nbin,src_element)
bin_pad=nbin.add_pad(Gst.GhostPad.new_no_target("src",Gst.PadDirection.SRC))
if not bin_pad:
sys.stderr.write(" Failed to add ghost pad in source bin \n")
return None
return nbin
error:
Creating uridecode
Creating streammux
Creating nvvideoconvert
Creating nvdsosd
Creating source binsource-bin-00
Decodebin child added: source
Error: gst-resource-error-quark: Could not read from resource. (9): …/gst/rtsp/gstrtspsrc.c(6523): gst_rtsp_src_receive_response (): /GstPipeline:deepstream-pipeline-mohammad/GstBin:source-bin-00/GstURIDecodeBin:uridecodebin-1001/GstRTSPSrc:source:
Could not receive message. (Timeout while waiting for server response)
if this error is not about this section pls tell me to know where should i start debuging .Thanks alot