Skip to content

Instantly share code, notes, and snippets.

@pavelvpster
Created September 28, 2014 14:13
Show Gist options
  • Save pavelvpster/29e63e64d2016988102b to your computer and use it in GitHub Desktop.
Save pavelvpster/29e63e64d2016988102b to your computer and use it in GitHub Desktop.
GStreamer capture from webcam to image set; webcam supports JPEG output format.
gst-launch-0.10 v4l2src device=/dev/video0 \
! "image/jpeg,width=640,height=480,framerate=5/1" \
! videorate \
! "image/jpeg,framerate=1/6" \
! multifilesink location="./images/image-%06d.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment