Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
titleGeneral

Component Palette Icon:


 

Panel
titleDescription
borderStylesolid

The IP camera viewing component displays a video stream from a network camera directly in one of your windows. This can be a very powerful tool for allowing operators to view remote or inaccessible locations. Cameras can provide positive feedback about the state and position of machinery, weather, and other factors. 

 This component is capable of displaying two types of video:

  • MJPEG (a.k.a. Motion JPEG) is a streaming video protocol that compresses video frames using standard JPEG compression. Compression rates are quite good, requiring low network bandwidth utilization. Framerates depend greatly on the dimensions of the video, but typically range from 1-20 frames per second.
  • JPEG stills is not a true video protocol, but is rather the practice of continually refreshing an image that a camera is constantly overwriting. Its simplicity means that many cameras support it (usually along with another protocol). Frame rates are typically lower than MJPEG because a new connection must be opened for each frame.

 

Most network cameras on the market support one, if not both of these protocols. Even better, if you have an existing CCTV camera system, video server devices are available that CCTV camera inputs and provide MJPEG streams the network.

 
Finding the URL for your network camera's video stream is usually the only challenge in connecting this component. Most, if not all, network cameras have an internal web server, allowing viewers to use web browsers to view their video stream. If you go to that webpage, and look at the HTML source of the page, you should be able to find the URL of the MJPEG or JPEG still stream.

Info
titleHigh Resolution Streams

When viewing a feed from a High Resolution camera, the Camera Buffer Size property may need to be increased to contain all of the data from the stream.

 

Some examples:

Section
Column
Code Block
titleAxis 2100 (MJPEG)
http://ip.address.here/axis-cgi/mjpg/video.cgi?resolution=640x480
Code Block
titlePanasonic BL-C10A (MJPEG)
http://ip.address.here/nphMotionJpeg?Resolution=640x480&Quality=Standard
Code Block
titleStarDot Netcam (JPEG stills)
http://ip.address.here/netcam.jpg
Column

Panel
titleProperties

SQL
noDataMessageThere is no data in the database corresponding to this component.
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getComponentProperties("IP Camera Viewer");

Panel
titleScripting
Panel
titleScripting Functions

This component does not have scripting functions associated with it.

Panel
titleExtension Functions

This component does not have scripting functions associated with it.

Panel
titleEvent Handlers
Expand
titlemouse
Expand
titlemouseClicked

Desc_mouseclicked
Nametest
SQL
p1Alarm Status Table
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'mouse','mouseClicked');

Expand
titlemouseEntered

Desc_mouseentered
Nametest
SQL
p1Alarm Status Table
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'mouse','mouseEntered');

Expand
titlemouseExited

Desc_mouseexited
Nametest
SQL
p1Alarm Status Table
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'mouse','mouseExited');

Expand
titlemousePressed

Desc_mousepressed
Nametest
SQL
p1Alarm Status Table
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'mouse','mousePressed');

Expand
titlemouseReleased

Desc_mousereleased
Nametest
SQL
p1Alarm Status Table
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'mouse','mouseReleased');

Expand
titlemouseMotion
Expand
titlemouseDragged

Desc_mousedragged
Nametest
SQL
p1Alarm Status Table
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'mouseMotion','mouseDragged');

Expand
titlemouseMoved

Desc_mousemoved
Nametest
SQL
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'mouseMotion','mouseMoved');

Expand
titlepropertyChange
Expand
titlepropertyChange

Desc_propertychange
Nametest
SQL
columnLabeltrue
width100%
dataSourcemySQL_confluence
CALL getEventProperties('IP Camera Viewer', 'propertyChange','propertyChange');

Panel
titleCustomizers

This component does not have any custom properties.

Panel
titleExamples
Panel
titleIP Camera Viewer

Property NameValue
URLhttp://trackfield.webcam.oregonstate.edu/mjpg/video.mjpg