Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- day= date +%D
- mkdir /home/seth/webcam/${day}
- ffmpeg -f v4l2 -video_size 1280x720 -i /dev/v4l/by-id/usb-Microsoft_Microsoft®_LifeCam_Cinema_TM_-video-index0 -c png -vframes 2 -vf fps=1/2 /home/seth/webcam/${day}/cap%03d.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement