can reproduce this without opencv using:
gst-launch-1.0 v4l2src device="/dev/video2" ! videoconvert ! ximagesink
can reproduce this without opencv using:
gst-launch-1.0 v4l2src device= "/dev/video2" ! videoconvert ! ximagesink