Gst_nvds_buffer_pool_alloc_buffer: assertion 'mem' failed

Hi @Fiona.Chen,
Reference app failing if more than 2 cameras connected.
Camera’s specs again:
Type : Video Capture
Pixel Format: ’ MJPG ’ (compressed)
Name : Motion-JPEG

Size: Discrete 2048x1536
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s ( 10.000 fps )
Interval: Discrete 0.200s (5.000 fps)

Index : 1
Type : Video Capture
Pixel Format: ’ YUYV
Name : YUYV 4:2:2
Size: Discrete 2048x1536
Interval: Discrete 0.333s ( 3.000 fps )

As I’m trying to process 8 cameras at 2048X1536@10FPS I need MJPG, but then I read here, default reference app’s format is YUYV. Before I change the default app to support MJPG I have tried lower FPS, but it didn’t work out, with very similar error to one I got with my python code.

The error:

ERROR from src_elem: Failed to allocate required memory.
Debug info: gstv4l2src.c(658): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstV4l2Src:src_elem:
Buffer pool activation failed
*** INFO: <bus_callback:151>: usb bandwidth might be saturated*
ERROR from src_elem: Internal data stream error.
Debug info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstV4l2Src:src_elem:
streaming stopped, reason not-negotiated (-4)
*** INFO: <bus_callback:147>: incorrect camera parameters provided, please provide supported resolution and frame rate*
Quitting

I’m enclosing the config file, hopefully you would take a look.
Thanks
source4_2048_1536_usb_dec_infer_resnet_int8.txt (4.1 KB)