Hi there,
Related to this More problems with nvarguscamerasrc trying 10bit - #13 by david.fernandez issue, I get the same error when trying to use the sensor-mode=8 with the imx565 camera.
The configuration is:
CSI/VI
Ch#0 AR1335
Ch#2 IMX565
CH#4 AR1335
Only the IMX565 camera is powered.
$ gst-launch-1.0 -v -e nvarguscamerasrc sensor-id=0 sensor-mode=8 num-buffers=-1 do-timestamp=true silent=true ! 'video/x-raw(memory:NVMM),format=(string)NV12,framerate=(fraction)30/1' ! nvvidconv ! timeoverlay ! nvvidconv ! omxh265enc insert-vui=true insert-aud=true ! h265parse ! 'video/x-h265, stream-format=(string)byte-stream, framerate=30/1' ! queue ! mpegtsmux ! rtpmp2tpay ! udpsink host=192.168.55.100 port=5001
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)NV12
/GstPipeline:pipeline0/GstTimeOverlay:timeoverlay0.GstPad:src: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)NV12
/GstPipeline:pipeline0/Gstnvvconv:nvvconv1.GstPad:src: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)NV12
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 8
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
NVMEDIA: H265 : Profile : 1
/GstPipeline:pipeline0/GstOMXH265Enc-omxh265enc:omxh265enc-omxh265enc0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)NV12
/GstPipeline:pipeline0/Gstnvvconv:nvvconv1.GstPad:sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)NV12
/GstPipeline:pipeline0/GstTimeOverlay:timeoverlay0.GstPad:video_sink: caps = video/x-raw, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, format=(string)NV12
GST_ARGUS: Creating output stream
/GstPipeline:pipeline0/Gstnvvconv:nvvconv0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4128 x 3008 FR = 28.999999 fps Duration = 34482760 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 11000, max 660000000;
GST_ARGUS: 3840 x 2160 FR = 40.000000 fps Duration = 25000000 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 11000, max 660000000;
GST_ARGUS: 1920 x 1080 FR = 146.000001 fps Duration = 6849315 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 6000, max 660000000;
GST_ARGUS: 4128 x 3008 FR = 34.000001 fps Duration = 29411764 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 10000, max 660000000;
GST_ARGUS: 3840 x 2160 FR = 46.999999 fps Duration = 21276596 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 10000, max 660000000;
GST_ARGUS: 1920 x 1080 FR = 169.999998 fps Duration = 5882353 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 5000, max 660000000;
GST_ARGUS: 4128 x 3008 FR = 42.000000 fps Duration = 23809524 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 8000, max 660000000;
GST_ARGUS: 3840 x 2160 FR = 57.999998 fps Duration = 17241380 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 8000, max 660000000;
GST_ARGUS: 1920 x 1080 FR = 204.999991 fps Duration = 4878049 ; Analog Gain range min 1.000000, max 251.188705; Exposure Range min 4000, max 660000000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 8
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 204.999991
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD... Exiting...
CONSUMER: ERROR OCCURRED
ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
Additional debug info:
Argus Error Status
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
ERROR: from element /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0: Could not create handler for stream
Additional debug info:
mpegtsmux.c(996): mpegtsmux_create_streams (): /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Interrupt while waiting for EOS - stopping pipeline...
Execution ended after 0:00:07.619647328
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
GST_ARGUS: Cleaning up
^C
$
Note nvbuf_utils messages.
The CSI/VI device tree seems fine now (regarding the related issue). Only channels 0, 2, 4 are enabled in VI for the cameras.