|
<< Click to Display Table of Contents >> Navigation: Components > Communication > IP Camera viewer (MJPG) |
With the help of the component IP Camera Display it is possible to integrate a display window for IP cameras.
The images of the camera are displayed scaled in the size of the component, with the aspect ratio unchanged.
The URL must be entered completely and in the following example format (Axis):
http://192.168.100.14/mjpg/video.mjpg
Data points of the component
Name |
Type |
function |
|---|---|---|
IP Camera Url |
Input |
URL / path to the MJPG stream in the IP camera, e.g. http: // <IP> / <xxxx.mjpg path /> |
Camera Url Output |
Output |
Here, the URL / path to the MJPG stream is output to the IP camera when the user clicks the mouse on the display. This can e.g. be switched on as a signal to other IP camera ads. |
Pause |
Input |
If an on signal is applied, the display of the pictures will be paused. No picture is displayed. If an Off signal is applied, the images will be displayed at the set number of frames per second. |
Lock operation (display only) |
Input |
If this input is not used, the component can basically be operated. If the input is connected with an on signal, the component can not be operated. It then only has display function. |
Mouseover |
Output |
This output can be used to start an event when the object is moved by mouseover. |
Input |
||
Visible |
Input |
With an off-signal the component unVisible and with an on-signal Visible is switched. |
Properties
Name |
Standard |
function |
|---|---|---|
URL/Path to MJPG-Stream |
|
URL / path to the MJPG stream in the IP camera, e.g. http: // <IP> / <xxxx.mjpg path /> |
Username |
|
Username to log in to the camera if anonymous access is not possible. |
Password |
|
Password of the user to log in to the camera. |
Frames per second (0-20) |
5 |
Refresh rate of the image display. The set number of pictures of the camera is displayed, per second. 0 = speed of IP camera |
Note: High Refresh rates load the system more than low. Please always choose reasonable, lowest possible number.
URL of the video stream (format: http: // user: password @ ip-address / path)
Here are some example paths of popular IP cameras. The exact path to your camera model is available directly from the manufacturer.
Axis
http://IPADDRESS/mjpg/video.mjpg
http://IPADDRESS/mjpg/1/video.mjpg
http://IPADDRESS/axis-cgi/mjpg/video.cgi
It is possible to add further parameters with the ? and & symbol separately:
Parameter |
Parameter |
Description |
|---|---|---|
fps |
0 ... 30 |
Frame rate in fps. 0 = unlimited |
resolution |
Width x Height |
All supported camera resolutions |
compression |
0 ... 100 |
Additional JPEG compression |
camera |
1 ... quad |
defines the video source if there are multiple cameras. |
Examples:
http://Benutzer:Passwort@192.168.111.191/axis-cgi/mjpg/video.cgi?fps=24&resolution=1280x720
http://Benutzer:Passwort@192.168.100.31/axis-cgi/mjpg/video.cgi?fps=12&resolution=640x360
http://Benutzer:Passwort@192.168.100.33/axis-cgi/mjpg/video.cgi?fps=12&resolution=640x360
http://Benutzer:Passwort@192.168.100.46/axis-cgi/mjpg/video.cgi?camera=1&resolution=480x270&rotation=0&audio=0&mirror=0&fps=0&compression=30
Mobotix
http://IPADDRESS/control/faststream.jpg?stream=full
It is possible to add further parameters separately with the & symbol:
Parameter |
Parameter |
Description |
|---|---|---|
stream |
full, MxPEG |
full = M-JPEG |
preview |
- |
Necessary for the further parameters below |
size |
Width x Height |
All support camera resolutions |
quality |
10 … 90 |
Additional JPEG compression |
fps |
0 … 30.0 |
Framerate in fps. 0 = unlimited |
camera |
right, left, both, auto |
Defines which sensor should be displayed |
Here's an example to get an M-JPEG stream at PDA resolution (320x240px) from the right image sensor. The image quality (quality = 40) and frame rate (fps = 4.0) are reduced to minimize bandwidth consumption.
http://12345678:admin@192.168.100.33/control/faststream.jpg?stream=full&preview&size=320x240&quality=40&fps=4.0&camera=right
Sanyo
http://IPADDRESS/liveimg.cgi?serverpush=1
Sony
http://IPADDRESS/image
http://IPADDRESS/img/mjpeg.cgi
http://IPADDRESS/video.mjpg
Geo Vision Kamera
http://IPADDRESS/JpegStream.cgi?username=#####&password=#####&channel=2
On the following website the paths for many cameras are deposited.
http://www.ispyconnect.com/sources.aspx