⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 webcam_server.1

📁 一个基于linux下的摄像头应用程序
💻 1
字号:
.TH webcam_server 1 "(c) 2002 Donn Morrison".SH NAMEwebcam_server - a server to stream webcam video or snapshots.SH SYNOPSIS.B webcam_server [-d device] [-p port] [-D[sh]] [-m[bsf]] [-c caption].B               [-tf colour] [-q jpeg_quality] [-g geometry] [-n] [-x].B               [-G gamma] [-f[hv]] [-R rotation] [-r] [-s] [-v] [-l logfile].B               [-a].SH DESCRIPTION.B webcam_serveris a server daemon that can stream frames from any video4linux device toremote clients running the provided applet or single frame snapshotsrunning a web browser..SH OPTIONS.TP\fB-a\fPEnable test mode - does not accept client connections and prints out thecurrent frames per second (fps)..TP\fB-c\fP captionSet a caption to be displayed near the bottom of each captured frame.This string can be formatted for strftime() as follows:%Y - year, %m - month, %d - day, %H - hours, %M - minutes, %S - seconds.brexample: webcam_server -c "my webcam %d/%m/%Y %H:%M:%S".TP\fB-d\fP deviceSpecify the video4linux supported device to capture frames from..TP\fB-Dh, -Ds\fPDisable HTTP (\fBh\fP) snapshots or applet streams (\fBs\fP)..TP\fB-fh\fP, \fB-fv\fPFlip image horizontally (\fBh\fP) or vertically (\fBv\fP)..TP\fB-g\fP geometrySet the image capture size. The specified size must be supported by yourvideo device..brexample: webcam_server -g 352x288.TP\fB-G\fP gammaSimple gamma correction. Adjusts image pixels by specified value. Valid rangeis -100 to 100..TP\fB-h\fPDisplay help and command line parameters..TP\fB-l\fP logfileSpecify a file to print log messages..TP\fB-mb, -ms, -mf\fP valueMaximum bytes (\fBb\fP), seconds (\fBs\fP) or frames (\fBf\fP) per clientconnection..TP\fB-n\fPForce use of read() system call. For some devices this can be faster thanthe standard memory mapped method of frame capture. (**Recommended for somewebcams).TP\fB-p\fP portListen for client connections on the specified port..TP\fB-q\fP jpeg_qualitySet JPEG compression quality. Valid range is 0-100 (%)..TP\fB-r\fPRetry camera initialization inifinitely upon failure. Useful for when youunplug your camera frequently; the server will start and wait until the camerahas been connected..TP\fB-R\fP nRotate the image 90 degrees (\fBn\fP) times. 1 = 90, 2 = 180, 3 = 270 degrees.TP\fB-s\fPEnable daemon mode via daemon() system call..TP\fB-tf\fP colourSet text foreground colour. Valid range is 0-255 (black to white)..TP\fB-v\fPVerbose mode - display connections and messages to standard output..TP\fB-x\fPSwap RGB colours to BGR colours. (Use this if your frames look blue or red).SH GETTING STARTED.PThe easiest way to make sure things are working is to run the server withno options and try to access "http://localhost:8888" via a web browser..PIf your device does not seem to work, try using the \fB-n\fP option to forcethe use of the \fBread()\fP system call. Try using your device with othersoftware and try similar settings with \fBwebcam_server\fP..PIf you are using a v4l supported TV capture card and want to change channels,download \fBxawtv\fP and use v4lctl to configure it. This functionalityis not yet supported by \fBwebcam_server\fP..SH SETTING UP THE APPLET.B Note: The applet must reside on the same host as the webcam_server!.PCopy the following code into a publicly visible HTML document. You may have toadjust some values to fit your needs. Before it can be viewable by others, youmust change "localhost" to the host name or IP address of your server..P<APPLET code="WebCamApplet.class" archive="applet.jar" width="320" height="240"><param name=URL value="http://localhost:8888"><param name=FPS value="1"><param name=width value="320"><param name=height value="240"></APPLET>.fi.SH BUGS.PSend bug reports to Donn Morrison at donn@donn.dyndns.org.http://donn.dyndns.org/portalofnnod/webcam_server.html (homepage).SH AUTHORDonn Morrison <donn@donn.dyndns.org>.SH COPYRIGHTCopyright (C) 2002 Donn Morrison <donn@donn.dyndns.org>This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA..SH MISCIf you enjoy this software, please let me know.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -