I am trying to make a camera work on my Jetson Nano rev B01, running a Jetpack image that I downloaded from this page two days ago (I do not know how to find the Jetpack version, sorry).
I have two different cameras:
A Raspberry Pi Camera Module V2 (CSI)
A LI-USB30-AR023ZWDR Camera Module from Leopard Imaging (USB 3.0)
My goal is to use the USB Camera, and I am using the RasPi camera to try having a camera working.
However I have trouble getting them to work. nvgstcapture-1.0 seems to work for the RasPi camera. I can capture images and open them, however, there is no preview. I have attached the output in the file nvgstcapture-csi.txt.
It does not work at all for the USB camera:
$ nvgstcapture-1.0 --camsrc=0 --cap-dev-node=1
** Message: 17:37:53.127: <main:4670> iterating capture loop ....
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)
** Message: 17:37:53.180: <main:4680> Capture completed
** Message: 17:37:53.181: <main:4729> Camera application will now exit
I have also attached a dmesg log.
I should note that the USB camera is working on three other computers, on multiple OS (Windows 10, Ubuntu 18 & 20)
I have found multiple forum posts, without success. I never had a camera live preview working.