How can I swap my Pi cam V2 to a Logitech USB webcam?

Hey guys, As mentioned on the title, how can I replace the PI cam with a Logitech webcam for live streaming? I understand that nvarguscamera does not work with usb webcams.

My current transmitting code is :

./test-launch "nvarguscamerasrc ! video/x-raw(memory:NVMM),width=640,height=480 ! tee name=t t. ! queue ! nvoverlaysink overlay-x=50 overlay-y=50 overlay-w=640 overlay-h=480 t. ! queue ! omxh264enc maxperf-enable=1 ! video/x-h264,profile=baseline ! rtph264pay name=pay0 pt=96"

Thank you :)

Hi,
Please check
https://devtalk.nvidia.com/default/topic/1057681/jetson-tx1/logitech-c930e-on-jetson-tx1-very-slow-and-choppy-video/post/5363417/#5363417

Pi cam V2 source is:

nvarguscamerasrc ! video/x-raw(memory:NVMM),width=640,height=480,format=NV12

And swtiching to Logitech webcam, the source will be like:

v4l2src ! video/x-raw,format=YUY2,width=640,height=480,framerate=30/1 ! nvvidconv ! video/x-raw(memory:NVMM),format=NV12