USB cam runs successfully with gst-launch, but doesn't run wtth OpenCV

Hi,
You don’t need nvvidconv since it only supports video/x-raw buffers in OpenCV. You should run a pipeline like this:
Sony camera module cannot be opened with OpenCV on Xavier - #5 by DaneLLL