How to capture v4l2 device by-id or by-path through nvarguscamerasrc?

gst-launch-1.0 v4l2src device=/dev/v4l/by-id/usb-3.0_USB_Camera_3.0_USB_Camera-video-index0 ! videorate drop-only = true max-rate=25 ! image/jpeg, width=1280,height=720 ! jpegdec ! xvimagesink

How to use nvarguscamerasrc to simulate above pipeline?
(obviously jpegdec will be replaced with nvjpegdec)

Hi,
nvarguscamerasrc is for Bayer sensor passing through Tegra ISP engine. For your usecase, you should use nvv4l2src. Please refer to
https://devtalk.nvidia.com/default/topic/1049311/jetson-agx-xavier/nvjpegdec-slower-then-jpegdec-in-gstreamer/post/5336445/#5336445
https://devtalk.nvidia.com/default/topic/1049311/jetson-agx-xavier/nvjpegdec-slower-then-jpegdec-in-gstreamer/post/5348034/#5348034