Anyone have any luck getting a UVC Web Camera to work with Gstreamer on the Jetson Xavier?
I initially encountered issues with not getting any video when trying the imagenet-camera sample app within Jetson-Inference.
It seemed to be a gstreamer issue so I tried it separately, and here is the output.
nvidia@jetson-0423018055236:~$ gst-launch-1.0 v4l2src device="/dev/video0" ! “video/x-raw, width=640, height=480, format=(string)I420” ! xvimagesink -e
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
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)
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…
Now I’m not sure that’s the correct pipeline. It was in the Jetson_Xavier_Accelerated_GStreamer_User_Guide.
The webcam works perfectly fine in Cheese.