USB camera stops in the middle of runnning (Jetson Nano 4GB)

Please try gst-launch-1.0 command and check if the issue is present. Would like to know if it is specific to using OpenCV or not. Please follow the steps:
Jetson Nano FAQ
[Q: I have a USB camera. How can I launch it on Jetson Nano?]