Puppy Linux Blog

About





This Blog:
PRITLOG is an extremely simple, small and powerful blog system. 
Just drop Pritlog into your server and it starts running. No separate installation is required. The basic idea is derived from a similar app called PPLOG.

Stats

Users Online: 1
Hits: 112515

webcam screenshots

Using ffmpeg with webcam

take one image per second
-r 1
to take images for 3 seconds
-t 3

so this will give you 3 jpegs in your root directory at vga resolution
Code:

ffmpeg -y -r 1 -t 3 -f video4linux2 -s vga -i /dev/video0 ~/camshot%d.jpeg


similarly here is a cheap way to capture webcam video:

rxvt +sb -bg orange -geometry 80x2 -e ffmpeg -y -f oss -i /dev/audio -f video4linux2 -s qvga -i /dev/video0 ~/a.avi
---------------------------------------

Using mplayer with webcam

changing -frames to different values changes number of screenshots.

mplayer -fps 1 tv:// -tv driver=v4l2:device=/dev/video0:width=320:height=240:outfmt=rgb24 -frames 5 -vo jpeg



Author: admin -  Date: 18 Dec 2011 04:25
Category: ffmpeg -  Visits: 2166

2 Comments - Edit - Delete

Comments:

Date 14 Jun 2013 08:38 by qba82
hmm
usefull, thanks

Delete


Date 03 Jul 2018 03:03 by Garwyn
Garwyn
Webcam screenshots are great because they can give an insight about best essaymama.com legit and you can know more about them. It's not that hard and it'll be something new for you.
Delete




Add Comment

Comment Form







 (J/Z/MOCK)