When multiple cameras (4 or more) are connected, the frame rate will be very slow with the following command in JetPack4.2.
(JetPack3.3 is able to process smoothly with 6 cameras.)
gst-launch-1.0 nvarguscamerasrc sensor-id=0 wbmode=9 awblock=false aelock=true \
! "video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)60/1" ! nvvidconv flip-method=2 \
! "video/x-raw, width=(int)640, height=(int)480, framerate=(fraction)60/1" ! queue ! xvimagesink
sensor-id is counts up: sensor-id=0, sensor-id=1, sensor-id=2, sensor-id=3 …
The following warning message continues to be output when the frame rate becomes slow.
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4056 x 3040 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;
GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;
GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;
GST_ARGUS: 640 x 480 FR = 200.000000 fps Duration = 5000000 ; Analog Gain range min 1.000000, max 22.000000; Exposure Range min 1000, max 65515000;
GST_ARGUS: Running with following settings:
Camera index = 3
Camera mode = 2
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 59.999999
GST_ARGUS: PowerService: requested_clock_Hz=54432000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
WARNING: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
There may be a timestamping problem, or this computer is too slow.
WARNING: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: A lot of buffers are being dropped.