Created
September 28, 2014 14:18
-
-
Save pavelvpster/af6f4698d86e74528e3c to your computer and use it in GitHub Desktop.
GStreamer capture webcam to image set with timespamp; webcam does not support 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 \ | |
! "video/x-raw-yuv,width=640,height=480,framerate=5/1" \ | |
! videorate \ | |
! "video/x-raw-yuv,framerate=1/6" \ | |
! 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