Streaming an openCV capture with gstreamer in Python

Hi,
We would suggest run a gstreamer pipeline instead of cv2.videoCapture(0). Here is a sample:
How to Filesink and Appsink simultaneously in OpenCV Gstreamer. (Gstreamer pipeline included) - #7 by DaneLLL
See if it works in this method.