# HG changeset patch # User Oleksandr Gavenko # Date 1372834637 -10800 # Node ID 73e40e83592ab205266cfaddb913e91fee0b7fe8 # Parent b9fa2b857249d5a7f5acbfd37e95a729cfc4bfe1# Parent b19fe371e90ee32d4f626df9304d05bc2aeca3b2 merged diff -r b9fa2b857249 -r 73e40e83592a video.rst --- 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