VideoWriter OpenCV - cannot put pipeline to play in function CvVideoWriter_GStreamer::open
问题 Almost exactly the same question : OpenCV error - cannot put pipeline to play in function CvVideoWriter_GStreamer::open Context : I'm trying to create a video and save it in a .avi file with OpenCV 3.3.0 and Python 2.7. Problem : This code : fourcc = cv2.VideoWriter_fourcc(*'XVID') out = cv2.VideoWriter('data/out/output.avi', fourcc, 30, (800, 600)) Raises : (python2.7:12345): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed ** (python2.7:12345):