Deepstream three v4l2src cameras

I will have a look, but the code I attached is a close as I get.
The basics of Gstreamer is understood but I cant tell where I go wrong in the pipeline.
It does not pick up a second camera so the linking (of course) somehow must be wrong so that
the two sources are does not connect properly, by name or srcpad I dont know.

To me it looks fine, hence my attempt to get help on the matter.
@kesong, you had a previous situation here:

I have a similar issue

Full error:


ARNING: [TRT]: Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
0:00:02.979995637  5932     0x1fcfb150 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/home/aiadmin/Development/deepstream_yolov5_camera/model_b1_gpu0_fp16.engine
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: [Implicit Engine Info]: layers num: 4
0   INPUT  kFLOAT input           3x640x640       
1   OUTPUT kFLOAT boxes           25200x4         
2   OUTPUT kFLOAT scores          25200x1         
3   OUTPUT kFLOAT classes         25200x1         

0:00:03.137614027  5932     0x1fcfb150 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /home/aiadmin/Development/deepstream_yolov5_camera/model_b1_gpu0_fp16.engine
0:00:03.165414881  5932     0x1fcfb150 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:config_infer_primary_yoloV5.txt sucessfully
0:00:03.166241353  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:516:gst_v4l2src_negotiate:<usb-cam-source-cam2> caps of src: video/x-raw, format=(string)GRAY8, width=(int)1600, height=(int)1300, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; video/x-raw, format=(string)GRAY8, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 60/1, 10/1 }; video/x-raw, format=(string)GRAY8, width=(int)800, height=(int)650, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; video/x-raw, format=(string)GRAY8, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)180/1; video/x-raw, format=(string)GRAY8, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)280/1; video/x-raw, format=(string)GRAY16_LE, width=(int)1600, height=(int)1300, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)40/1; video/x-raw, format=(string)GRAY16_LE, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)90/1; video/x-raw, format=(string)GRAY16_LE, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)180/1; video/x-raw, format=(string)GRAY16_LE, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)280/1
0:00:03.166283241  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:516:gst_v4l2src_negotiate:<usb-cam-source-cam0> caps of src: video/x-raw, format=(string)GRAY8, width=(int)1600, height=(int)1300, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; video/x-raw, format=(string)GRAY8, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 60/1, 10/1 }; video/x-raw, format=(string)GRAY8, width=(int)800, height=(int)650, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; video/x-raw, format=(string)GRAY8, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)180/1; video/x-raw, format=(string)GRAY8, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)280/1; video/x-raw, format=(string)GRAY16_LE, width=(int)1600, height=(int)1300, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)40/1; video/x-raw, format=(string)GRAY16_LE, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)90/1; video/x-raw, format=(string)GRAY16_LE, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)180/1; video/x-raw, format=(string)GRAY16_LE, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)280/1
0:00:03.166330761  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:524:gst_v4l2src_negotiate:<usb-cam-source-cam0> caps of peer: video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720
0:00:03.166360042  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:530:gst_v4l2src_negotiate:<usb-cam-source-cam0> intersect: video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1
0:00:03.166371786  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:407:gst_v4l2src_fixate:<usb-cam-source-cam0> fixating caps video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1
0:00:03.166387850  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:420:gst_v4l2src_fixate:<usb-cam-source-cam0> Prefered size 1280x720
0:00:03.166400458  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:443:gst_v4l2src_fixate:<usb-cam-source-cam0> sorted and normalized caps video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1
0:00:03.167009071  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:524:gst_v4l2src_negotiate:<usb-cam-source-cam2> caps of peer: video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string){ I420, P010_10LE, NV12, BGRx, RGBA, GRAY8, YUY2, UYVY, YVYU, Y42B, RGB, BGR, UYVP }; video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string){ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }
0:00:03.167055056  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:530:gst_v4l2src_negotiate:<usb-cam-source-cam2> intersect: video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1
0:00:03.167064816  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:407:gst_v4l2src_fixate:<usb-cam-source-cam2> fixating caps video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1
0:00:03.167079216  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:420:gst_v4l2src_fixate:<usb-cam-source-cam2> Prefered size 1280x720
0:00:03.167090480  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:443:gst_v4l2src_fixate:<usb-cam-source-cam2> sorted and normalized caps video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1
0:00:03.168937280  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:501:gst_v4l2src_fixate:<usb-cam-source-cam0> fixated caps video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:03.168956833  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:554:gst_v4l2src_negotiate:<usb-cam-source-cam0> fixated to: video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:03.169042657  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:501:gst_v4l2src_fixate:<usb-cam-source-cam2> fixated caps video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:03.169060386  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:554:gst_v4l2src_negotiate:<usb-cam-source-cam2> fixated to: video/x-raw, framerate=(fraction)60/1, width=(int)1280, height=(int)720, format=(string)GRAY8, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:03.284478209  5932     0x1ebe1b00 DEBUG                v4l2src gstv4l2src.c:923:gst_v4l2src_create:<usb-cam-source-cam0> ts: 6:08:09.947665000 now 6:08:09.959769124 delay 0:00:00.012104124
0:00:03.284549250  5932     0x1ebe1b00 INFO                 v4l2src gstv4l2src.c:960:gst_v4l2src_create:<usb-cam-source-cam0> sync to 0:00:00.016666666 out ts 0:00:00.106366878
Error: gst-stream-error-quark: Internal data stream error. (1): gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:usb-cam-source-cam0:
streaming stopped, reason not-linked (-1)
0:00:03.291762273  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:923:gst_v4l2src_create:<usb-cam-source-cam2> ts: 6:08:09.954965000 now 6:08:09.967069125 delay 0:00:00.012104125
0:00:03.291824130  5932     0x1ee118c0 INFO                 v4l2src gstv4l2src.c:960:gst_v4l2src_create:<usb-cam-source-cam2> sync to 0:00:00.016666666 out ts 0:00:00.113666718
0:00:03.308250324  5932     0x1ee118c0 DEBUG                v4l2src gstv4l2src.c:923:gst_v4l2src_create:<usb-cam-source-cam2> ts: 6:08:09.971632000 now 6:08:09.983561175 delay 0:00:00.011929175
0:00:03.308293844  5932     0x1ee118c0 INFO                 v4l2src gstv4l2src.c:960:gst_v4l2src_create:<usb-cam-source-cam2> sync to 0:00:00.033333332 out ts 0:00:00.130333398