Integrate capturing video frames from v4l2 camera in deep stream using gst-nvvideo4linux2 plugin

I am trying to create a pipeline to capture video from a USB camera and perform detection on it using deep stream. Can anybody help me with the source element steps to begin with the pipeline.

Hi,
there is a sample config file for USB camera sources. Please check

deepstream_sdk_v4.0.1_jetson\samples\configs\deepstream-app\source1_usb_dec_infer_resnet_int8.txt

And also a relevant post:
https://devtalk.nvidia.com/default/topic/1058334/deepstream-sdk/deepstream4-jetson-nano-multiple-webcams-issue/post/5390583/#5390583