Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 4 of 12

AXIS 221 Network Camera User's Manual: Video Streams

Pages 12 to 15 of 64, from AXIS 221 Network Camera User's Manual

The original document is the PDF (2.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Axis 221

Page 12

12 AXIS 221 - Video Streams

Video Streams The AXIS 221 provides several different image and video formats. The type to use depends on your requirements and on the properties of your network. The Live View page in the AXIS 221 provides access to Motion JPEG and MPEG-4 video streams, as well as to single JPEG images. Other applications and clients can also access these video streams/images directly, without going via the Live View page.

Video stream types Motion JPEG This format uses standard JPEG still images in the video stream. These images are then displayed and updated at a rate sufficient to create a stream that shows constantly updated motion. The Motion JPEG stream uses considerable amounts of bandwidth, but also provides excellent image quality and access to each and every individual image contained in the stream. Note also that multiple clients accessing Motion JPEG streams can use different image settings. MPEG-4 This is a video compression standard that makes good use of bandwidth, and which can provide high-quality video streams at less than 1 Mbit/s. The MPEG-4 standard provides scope for a large range of different coding tools for use by various applications in different situations, and the AXIS 221 provides certain subsets of these tools. These are represented as Video object types, which are selected for use with different viewing clients. The supported video object types are: • Simple - sets the coding type to H.263, as used by e.g. QuickTime™. • Advanced Simple - sets the coding type to MPEG-4 Part 2, as used by AMC (AXIS Media Control) When using MPEG-4 it is also possible to control the bit rate, which in turn allows the amount of bandwidth usage to be controlled. CBR (Constant Bit Rate) is used to achieve a specific bit rate by varying the quality of the MPEG-4 stream. When using VBR (Variable Bit Rate), the quality of the video stream is kept as constant as possible, at the cost of a varying bit rate. Notes:

•MPEG-4 is licensed technology. The AXIS 221includes one viewing client license. Installing additional unlicensed copies of the viewing client is prohibited. To purchase additional licenses, contact your Axis reseller. •All clients viewing the MPEG-4 stream must use the same set of coding tools.

Page 13

AXIS 221 - Video Streams

MPEG-4 protocols and communication methods To deliver live streaming video over IP networks, various combinations of transport protocols and broadcast methods are employed. • RTP (Realtime Transport Protocol) is a protocol that allows programs to manage the real-time transmission of multimedia data, via unicast or multicast. • RTSP (Real Time Streaming Protocol) serves as a control protocol, to negotiate which transport protocol to use for the stream. RTSP is thus used by a viewing client to start a unicast session, see below. • UDP (User Datagram Protocol) is a communications protocol that offers limited service for exchanging data in a network that uses the Internet Protocol (IP). UDP is an alternative to the Transmission Control Protocol (TCP). The advantage of UDP is that it is not required to deliver all data and may drop network packets when there is e.g. network congestion. This is suitable for live video, as there is no point in re-transmitting old information that will not be displayed anyway. • Unicasting is communication between a single sender and a single receiver over a network. This means that the video stream goes independently to each user, and each user gets their own stream. A benefit of unicasting is that if one stream fails, it only affects one user. • Multicast is bandwidth-conserving technology that reduces bandwidth usage by simultaneously delivering a single stream of information to multiple network recipients. This technology is used primarily on delimited networks (intranets), as each user needs an uninterrupted data flow and should not rely on network routers.

How to stream MPEG-4 Deciding on the combination of protocols and methods to use depends on your viewing requirements, and on the properties of your network. Setting the preferred method(s) is done in the control applet for AMC, which is found in the Windows Control Panel. When this has been set, AMC will test all the selected methods in the specified order, until the first functioning one is found. RTP+RTSP This method (actually RTP over UDP and RTSP over TCP) should be your first consideration for live video, especially when it is important to always have an up-to-date video stream, even if some images are lost due to network problems. This can be configured as multicast or unicast. Multicasting provides the most efficient usage of bandwidth, especially when there are large numbers of clients viewing simultaneously. Note however, that a multicast broadcast cannot pass a network router unless the router is configured to allow this. It is thus not possible to multicast over e.g. the Internet.

13

Page 14

14 AXIS 221 - Video Streams Unicasting should be used for video-on-demand broadcasting, so that there is no video traffic on the network until a client connects and requests the stream. However, as more and more unicast clients connect, the traffic on the network will increase and may cause congestion. Although there is a maximum of 20 unicast viewers, note that all multicast users combined count as 1 unicast viewer. RTP/RTSP This unicast method is RTP tunneled over RTSP. This can be used to exploit the fact that it is relatively simple to configure firewalls to allow RTSP traffic. RTP/RTSP/HTTP or RTP/RTSP/HTTPS These two methods can also be used to traverse firewalls. Firewalls are commonly configured to allow the HTTP protocol, thus allowing RTP to be tunneled.

The AXIS Media Control The recommended method of accessing live video (MPEG-4 and/or Motion JPEG) from the AXIS 221 is to use the AXIS Media Control (AMC) in Microsoft Internet Explorer for Windows. This ActiveX component is automatically installed on first use, after which it can be configured by opening the AMC Control Panel applet from the Windows Control Panel. Alternatively, right-click the video image in Internet Explorer.

Other methods of accessing the video stream Video/images from the AXIS 221 can also be accessed in the following ways: • If supported by the client, the AXIS 221 can use Motion JPEG server push to display video. This option maintains an open HTTP connection to the browser and sends data as and when required, for as long as required. • As single JPEG images in a browser. Enter e.g. the path: http://<IP address>/axis-cgi/jpg/image.cgi?resolution=320x240 • Windows Media Player. This requires AMC and the MPEG-4 decoder to be installed. The paths that can be used are listed below in the order of preference. • Unicast via RTP: axrtpu://<IP address>/mpeg4/media.amp • Unicast via RTSP: axrtsp://<IP address>/mpeg4/media.amp • Unicast via RTSP, tunneled via HTTP: axrtsphttp://<IP address>/mpeg4/media.amp • Unicast via RTSP, tunneled via HTTPS: axrtsphttps://<IP address>/mpeg4/media.amp • Multicast: axrtpm://<IP address>/mpeg4/media.amp

Page 15

AXIS 221 - Video Streams

Other MPEG-4 clients Although it may be possible to use other clients to view the MPEG-4 stream, this is not guaranteed by Axis. For some other clients, e.g. QuickTime™ the Video Object Type must be set to Simple. It may also be necessary to adjust the advanced MPEG-4 settings. To assess the video stream from e.g. QuickTime™ the following path can be used: rtsp://<IP address>/mpeg4/media.amp This path is for all supported methods, and the client will negotiate with the AXIS 221 to determine exactly which transport protocol to use.

15