Error Troubleshooting: Gstreamer Pipeline Issue with Arducam IMX230 Camera on Jetson Nano

Hello,

I am currently utilizing the 21MP IMX230 Camera from Arducam, and I have successfully installed all the necessary drivers for this camera on my Jetson Nano running Jetpack version 4.6.1.

I’m running the following command:

v4l2-ctl --device /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=‘Y16’ --stream-mmap --stream-to=frame1.raw --stream-count=1

This command generates frame1.raw images as expected. However, when attempting to initiate the Gstreamer Pipeline, I encounter the following error:

ERROR on bus: by /GstPipeline:capture_native_pipeline/GstBin:cap_bin/GstV4l2Src:v4l2src0: Internal data stream error.
debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:capture_native_pipeline/GstBin:cap_bin/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)

Has anyone encountered and resolved this error before? If so, I would greatly appreciate any assistance in resolving it.

Thank you in advance…

@Tushar_Goti

v4l2src supports relatively few formats, and some color cameras cannot be used.