Created
October 7, 2013 12:10
-
-
Save sepastian/6866809 to your computer and use it in GitHub Desktop.
Use gst-launch (gstreamer-tools) to capture single images and stream video from the command-line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Capture a single image and save it in JPEG format. | |
$ gst-launch v4l2src num-buffers=1 ! jpegenc ! filesink location=/tmp/test.jpg | |
# Stream video from a webcam. | |
$ gst-launch v4l2src ! xvimagesink |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can custumize gst pipeline or use +1 pipe with appsrc ! ... ! appsink in python scripts