Gstreamer nvv4l2camerasrc pulgin can't work in Orin NX

I use gstreamer nvv4l2camerasrc plugin to get camera video(/dev/video0) in Orin NX Jetpack 5.1.2,
but I can’t see the camera video (it all black screen) and gstreamer get “buffer format not supported”?

gst-launch-1.0 nvv4l2camerasrc device=“/dev/video0” -e ! queue ! “video/x-raw(memory:NVMM), format=(string)UYVY, width=(int)1920, height=(int)1080” ! nvvidconv ! queue ! nv3dsink sync=false

I attache the dmesg log and gstreamer log.
dmesg_log_v4l2camerasrc_fail_20240423.txt (101.3 KB)
gstreamer_log_v4l2camerasrc_fail_20240423.txt (378 Bytes)

But I use same gstreamer command in AGX Orin, and it could see camera video(/dev/video).
How to use gstreamer nvv4l2camerasrc pulgin in Orin NX?

Does v4l2src working?

Please check below command.

gst-launch-1.0 nvv4l2camerasrc device=/dev/video1 ! 'video/x-raw(memory:NVMM), format=(string)UYVY, width=(int)1920, height=(int)1080 ! nvvidconv ! fpsdisplaysink text-overlay=0 video-sink=xvimagesink sync=0 -v

gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw, format=UYVY, width=640, height=480' ! xvimagesink -ev

The nvv4l2camerasrc and v4l2src command are preview video ok now.
Thanks for your support.

[nvv4l2camerasrc ] preview video ok and see fps information:

gst-launch-1.0 nvv4l2camerasrc device=“/dev/video0” -e ! “video/x-raw(memory:NVMM), format=(string)UYVY, width=(int)1920, height=(int)1080” ! nvvidconv ! fpsdisplaysink text-overlay=0 video-sink=xvimagesink sync=0 -v

[v4l2src ] preview video ok, but no fps information:

gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, format=UYVY, width=1920, height=1080’ ! xvimagesink -ev

For v4l2src need add fpsdisplaysink to show the fps.