|
dLife Home Page | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
dlife.vision.server.VisionServer streams video
from a V4L (video for Linux) source to dLife.
See:
Description
| Class Summary | |
|---|---|
| DatagramByteArrayInputStream | A DatagramByteArrayInputStream pretends to be a ByteArrayInputStream reading directly from an array of DatagramPackets. |
| VideoFrame | A VideoFrame constructs is useful in two different ways. |
| VideoFrameList | A VideoFrameList keeps a list of VideoFrames which it constructs from DatagramPackets created within the dlife.vision.server.VideoFrame class. |
| VisionServer | The VisionServer class is a server designed stream video data via UDP. |
| VisionServerDeviceList | A VisionServerDeviceList is a useful object for storing device information about video devices on a given VisionServer. |
| VisionServerMap | This class is used to store device information from a dLife VisionServer and map them to a server. |
| VisionServerMap.VideoSourceInfo | A VideoSourceInfo contains information about the state of a VideoSourceDialog. |
The dlife.vision.server.VisionServer streams video
from a V4L (video for Linux) source to dLife. This is useful for
processing video from the Pioneer, Khepera and Hemisson robots. It can
also be used to stream video from any V4L compatible device (e.g. a
webcam) to dLife.
To install the
To start the VisionServer use a command like:
The
Installing the VisionServer
VisionServer do the following on the Linux
computer that will be streaming the video:
dlife.zip.
DLIFE_HOME to point
to the location of the dLifeDist directory.
dLifeDist/ServerScripts directory to your
PATH environment variable.
dlifeDist/ServerScripts/StartVisionServer
script and ensure that the V4L4J_JAR and V4L4J_LIB
variables point to the correct locations for your linux machine.
Starting the VisionServer
DLifeVisionServer start 10005
/dev/video0. This command will start the server on port 10,005
streaming video from the V4L device /dev/video0.
Note: The VisionServer can stream video from more than one device to
more than one client. You can list each V4L device after the
DLifeVisionServer start
command. For example, to serve video from
/dev/video0
and
/dev/video1
the command would be:
DLifeVisionServer start 10005 /dev/video0 /dev/video1
Stopping and Restarting
VisionServerDLifeVisionServer script can also be used to
stop and restart the VisionServer if there are problems.
The following commands will stop or restart the VisionServer:
DLifeVisionServer stop
DlifeVisionServer restart 10005 /dev/video0
|
dLife Home Page | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||