--- a/port.rst Sat Jul 06 13:45:28 2013 +0300
+++ b/port.rst Sat Jul 06 14:44:06 2013 +0300
@@ -129,8 +129,9 @@
Scan with nmap.
===============
+::
-TODO
+ $ nmap HOSTNAME
Scan with netcat.
=================
--- a/video.rst Sat Jul 06 13:45:28 2013 +0300
+++ b/video.rst Sat Jul 06 14:44:06 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