Saving video and snapshot-preview images with gst

Hi,
For this use-case, you would need to have cv2.VideoCapture() and cv2.VideoWriter(). Please refer to
Displaying to the screen with OpenCV and GStreamer - #9 by DaneLLL