How to Setup:
Install and configure Java SDK 1.4 or greater.
You will need to setup JV4L to get the webcam server to work.
You can get it from Freshmeat.
Thanks to Nicholas Christopher for creating this. This is also now included in the download.
Configure and make jv4l, then place the resulting libVideo4Linux.so somewhere like /usr/local/lib.
Add the line LD_LIBRARY_PATH={path to library} to your /etc/profile file. (Thanks to Scott Jacobs)
If you have ant just run 'ant makejv4l' then 'ant installjv4l'
as root to install jv4l and complete this step for you.
Then place the CamClient.jar and the index.html files in your
webroot. Update the index.html with the proper server address and you may want to consider setting
scaleimage to true and experiment with the applet dimensions also.
Then simply start the server with the command: java -jar jcam.jar
Arguments:
-h Help with the command line options.
-c The JPEG quality % 0-100. The default is 60.
-t The delay between capturing pictures in milliseconds. The default is 1000 ms.
-s The socket number to wait for connections on. The default is 6787.
-m The maximum number of clients allowed to connect. 0=no limit. The default is 0
-f The name of the file or directory to use, mostly for testing purposes. To capture the picture from the camera as normal, do not specify this argument.
|