Created
September 28, 2014 14:15
-
-
Save pavelvpster/30b363c14e66e926fea8 to your computer and use it in GitHub Desktop.
GStreamer capture webcam to image set with timespamp; webcam supports JPEG output format.
This file contains 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
gst-launch-0.10 v4l2src device=/dev/video0 \ | |
! "image/jpeg,width=640,height=480,framerate=5/1" \ | |
! videorate \ | |
! "image/jpeg,framerate=1/6" \ | |
! jpegdec \ | |
! clockoverlay time-format="%d.%m.%Y %H:%M:%S" \ | |
! jpegenc \ | |
! multifilesink location="./images/image-%06d.jpg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment