System information

Using scripts in Axis Camera/Video products
Axis Communications AB provides NO support for application development of any kind. The information
here is provided "as is", and there is no guarantee that any of the examples shown will work in your
particular application.
Revision 1.02 October 2002 13
Restart the video server and it will now be accessible via Telnet. To activate the script via Telnet,
follow the instructions below.
For a shell script: activate the script by typing e.g. ./<filename>
For a PHP3 script: type e.g. php <filename>
An example of a Telnet Session
3.4 Included Helper Applications
This section explains some of the applications shipped with the Axis camera/video servers.
Note: A good general rule is NOT to use a function if it is not fully understood!
3.4.1 The image buffer - bufferd
The application bufferd captures images and stores them on the ram-disk in a FIFO-order, i.e.
the latest image overwrites the oldest.
By default, initd starts a bufferd as a daemon. This daemon is listening for messages on the
socket /tmp/bufferdsocket. Consequently, starting several daemons is not recommended, as
this would result in one daemon overwriting what the others write.
The preferred way of using bufferd is depicted in the example below.
When a call to bufferd is made, the started process writes messages to the socket
/tmp/bufferdsocket and then dies.
Depending on which options are used when starting a buffer, bufferd starts one or two
processes for handling image capturing. These processes capture a number of images according
to the argument given.