• Hardware (NVIDIA AGX )
• DeepStream Version** –Deepstream6.0
• Network Type (Detectnet_v2/Faster_rcnn/Yolo_v4/LPRnet/Mask_rcnn/Classification/etc) Detectnet_v2
• How to reproduce the issue ? (This is for errors. Please share the command line and the detailed log here.)
I refer to test1-cam and test3 in the example of deepstream python version on github I want to run multiple USB cameras on deep stream
It doesn’t work. Could it be that I have a problem connecting to the <Gst.ElementFactory.make> element, or can you send me a sample code for using multiple USB cameras for my reference?
Can you tell me in detail about “(export GST_DEBUG=v4l2src:6)” how to do it?
I try using the command ‘deepstream-app -c multiple-camera-config.txt’ to test the multiple-camera. it works
This will dump all output (stdout and stderr) to the logs.txt file.
I’d also suggest commenting out your buffer probe. That buffer probe is blocking, meaning buffers wont flow until the callback returns:
replace
if not tiler_src_pad:
sys.stderr.write(" Unable to get src pad \n")
else:
tiler_src_pad.add_probe(Gst.PadProbeType.BUFFER, tiler_src_pad_buffer_probe, 0)
with
# if not tiler_src_pad:
# sys.stderr.write(" Unable to get src pad \n")
# else:
# tiler_src_pad.add_probe(Gst.PadProbeType.BUFFER, tiler_src_pad_buffer_probe, 0)
If your pipeline now runs, it means you’ve got a problem in the buffer probe (in which case i’d add debugging messages to detect where the problem is)
If your pipeline still wont run after commenting the probe, the logs should have more info. You could even increase verbosity for other components, eg export GST_DEBUG="4,v4l2src:6" (meaning everything to level 4, and v4l2src to level 6)
There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks