sh gst-launch webcam Capture a single frame from a webcam as png gst-launch v4l2src num-buffers=1 ! pngenc ! filesink location=capture.png