--- a/video.rst Thu Jun 27 00:13:23 2013 +0300
+++ b/video.rst Wed Jul 03 09:57:17 2013 +0300
@@ -38,13 +38,22 @@
Web camera.
===========
-To view image::
+View picture from web camera on display screen::
$ mplayer tv://
$ mplayer tv:// -tv driver=v4l2:width=640:height=480:fps=15:device=/dev/video0
$ cheese
$ camorama
+Make screenshort from web camera::
+
+ $ ffmpeg -f video4linux2 -i /dev/v4l/by-id/CAMERA -vframes 1 test.jpeg
+ $ ffmpeg -f video4linux2 -i /dev/v4l/by-id/CAMERA -vframes 4 test%3d.jpeg
+
+Record web camera to a file::
+
+ $ mencoder -fps 15 tv:// -ovc lavc -o my.avi
+
See:
http://wiki.debian.org/Webcam