Getting uint16 info over rtsp using cv2.videocapture

I found a way to build opencv 4.1.0 version to use CAP_GSTREAMER on window10.
However, this method is only available in Python version 3.7 and from 3.8 it is said that a different method should be used, but unfortunately that method is not possible, so we are using versions 3.7 and 4.1.0.