http://ubuntuforums.org/showthread.php?t=1259573
http://www.slblabs.com/2012/09/26/rpi-webcam-stream/
$ fuser /dev/video0 /dev/video0: 1871m $ ps axl | grep 1871 $ kill -9 1871
http://www.pc-freak.net/blog/linux-webcam-pictures-tty-console-terminal-pictures-plain-console-webcamera/
Making pictures from terminal using fswebcam
fswebcam is not so popular as vlc and mplayer, but is existent from default repostiries on both Debian and Ubuntu Linuces. Here is it how it is described when pkg info requested with apt-cache:
apt-cache show fswebcam | grep -i descrip -A 8
Description: Tiny and flexible webcam program
Fswebcam is a tiny and flexible webcam command-line program for capturing
images from a V4L1/V4L2 device. It accepts a number of formats, can skip
the first (possibly bad) frames before performing the actual capture, and
can perform simple manipulation on the captured image, such as resizing,
averaging multiple frames or overlaying a caption or an image.
Homepage: http://www.firestorm.cx/fswebcam/
Tag: implemented-in::c, role::program
To use it first install it with apt-get or yum (yes it is available also for RedHat based Linux distros via yum).
Depending whether on Debian or Fedora etc. do:
apt-get install –yes fswebcam
…..
or
yum -y install fswebcam
….
fswebcam’s syntax is much easier than all of rest cmd tools available around; to create picture from webcam;
# fswebcam -r 640×480 –jpeg 85 -D 1 web-cam-shot.jpg
— Opening /dev/video0…
Trying source module v4l2…
/dev/video0 opened.
No input was specified, using the first.
Delaying 1 seconds.
— Capturing frame…
Captured frame in 0.00 seconds.
— Processing captured image…
Setting output format to JPEG, quality 85
Unable to load font ‘luxisr’: Could not find/open font
Disabling the the banner.
Writing JPEG image to ‘web-cam-shot.jpg’.
I liked supports, saving in multiple formats, can set resolution and is probably the number 1 choice for anyone looking for high level of customization of cam taken picture.. Saying this I think fswebcam is definitely the tool of choice as it is written with the one and only aim to take webcam pictures from console.
http://manpages.ubuntu.com/manpages/lucid/man1/fswebcam.1.html
http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=13360
http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=35689&p=300710&hilit=bandwidth+quirk#p300710
http://www.raspberrypi.org/forums/viewtopic.php?f=37&t=11745