Unable to turn on USB camera

Hi!

when i using rtsp server, I can’t turn on the USB camera using nvanguscamerasrc on agx Xavier.

nvidia@nvidia-desktop:~/work-ssd/rtsp-server/gst-rtsp-server-1.14.5/examples$ ./test-launch “( nvarguscamerasrc sensor-id=6 ! video/x-raw, width=1920, height=1080, framerate=30/1 ! nvv4l2h264enc ! h264parse ! rtph264pay name=pay0 pt=96 )”
stream ready at rtsp://127.0.0.1:8554/test
Opening in BLOCKING MODE
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
Segmentation fault (core dumped)

However, I can use v4l2src to turn on the USB camera。

./test-launch --gst-debug=3 “( v4l2src device=/dev/video6 ! video/x-raw, width=1920, height=1080 ! videoconvert ! x264enc ! h264parse ! rtph264pay name=pay0 pt=96 )”

why?

Hi,
The nvarguscamerasrc is for Bayer sensor input and utilizes hardware ISP engine, such as the default camera board(ov5693). For YUV sensors or USB cameras, you can use v4l2src plugin. Please refer to the steps in
Jetson Nano FAQ
Q: I have a USB camera. How can I launch it on Jetson Nano?

okay!
Thank you!