V4l2src does not work on Jetson Nano 4 GB

I am working on a Jetson Nano 4gb. Two IMX219-200 cameras are connected to it. Cameras work as by entering

DISPLAY =: 0.0 gst-launch-1.0 nvarguscamerasrc! ‘video / x-raw (memory: NVMM), width = 3280, height = 2464, format = (string) NV12, framerate = (fraction) 20/1’! nvoverlaysink -e

I get the picture with no problem.
But when I want to test v4l2src, I get an error. I use this command

gst-launch-1.0 -v v4l2src device = / dev / video0! “video / x-bayer, format = (string) rggb”! fakesink

And I get the following error:

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
ERROR: from element / GstPipeline: pipeline0 / GstV4l2Src: v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c (3055): gst_base_src_loop (): / GstPipeline: pipeline0 / GstV4l2Src: v4l2src0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …

What am I doing wrong that I run into these errors with the pipeline?

hello gt0vip1jake,

please note that v4l2src plugin did not support with bayer sensor types.
you may also check Camera Architecture Stack for reference,
thanks

I too get the following error so is there any alternative solutions?

Hi mohamedrishdi,

Please help to open a new topic with more details of your issue. Thanks

1 Like