Kintronics blog provides technical information about IP Cameras, Video Management Software (VMS), Network Video software (NVR), PA over IP Systems, door access control and other high technology products.
Wednesday, October 28, 2015
How to Select Right Low Light Level Camera and Set It Up
Tuesday, November 18, 2014
Using IP Camera Video Management Software to Create a Physical Security Systems
Friday, October 24, 2014
IP Camera Testing and Review
In this test we compared the low light performance of the Samsung SNV-6084R IP and Sony SNC-VM630 cameras. We compared them to each other and to an older Axis P3367 camera which has a reputation for good low light performance.
Camera Specifications
All the camera specifications indicated about the same low light level when in color. The Samsung camera had the best B/W low light sensitivity specification. The test would determine if the cameras met their specifications.
Samsung SNV-6084R | Color: 0.1 Lux (F1.2, 50IRE) B/W: 0.01 Lux (F1.2, 50IRE) Image sensor: 1/2.8" PS Exmor 2.38M CMOS |
Sony SNC-VM630 | Color: 0.1 lx (F1.2, 50IRE, View-DR OFF, VE OFF, AGC ON, 1/30 s, 30 fps) B/W: 0.07 lx (F1.2, 50IRE, View-DR OFF, VE OFF, AGC ON, 1/30 s, 30 fps) Image sensor: 1/2.9-type progressive scan Exmor CMOS sensor |
Axis P3384 | Color: 0.15 lux, F1.2, B/W: 0.03 lux, F1.2 with Lightfinder Image sensor: Progressive scan RGB CMOS 1/3” |
The low light specifications also include frame rate (shutter speed) and IRE. The frame rate relates to the shutter speed, so anytime you see a camera with frame rate of less than 1/30 the second or if the IRE is at 30 IRE instead of 50 IRE, the lux value will be much different. Take a look at our article about IP Camera Low Light Sensitivity for more details about how low light sensitivity is measured.
The Test
We compared these cameras to the 1 megapixel Axis P3384 because it has good low light performance (this is their specialty low-light camera). Please note that a 1 megapixel camera is expected to have better low light performance than a 2 megapixel resolution camera. In spite of this, the 2 megapixel Sony and Samsung cameras outperformed the 1 megapixel Axis camera.
We started out test at relatively low light and all the cameras provided decent images. We gradually decreased the lighting until all the cameras could not see anything. All the cameras tested did not have an IR illuminator or had them turned off.
In the setup of each camera we made adjustments to assure that all the cameras maximized their low light sensitivity. This included turning off WDR, turning on the light enhancers (which is called different things depending on the camera), keeping the cameras at 30 fps, and keeping amplification at 50 IRE.
We found that it was difficult to measure the actual light level (lux) because most light meters do not go below 0.1 lux, so we did comparison testing. We took snapshots from each camera at four light levels. The goal was to capture images at each level of darkness and to compare all the cameras at the same relative lighting level. We observed which camera displayed the clearest image with the least noise level.
Test at approximately 0.5 lux
At this light level all of the cameras displayed little to no amplifier noise with good visibility and brightness. For reference the light from a full moon is about 0.3 lux to 1.0 lux depending how close to the equator you are. The moon is brighter as you get closer to the equator.
The Sony and Axis cameras had the least amount of amplifier noise and the highest brightness. Additionally it is important to note that because the Axis camera has a 1 megapixel sensor, it displayed the image in color while the 2 megapixel Samsung and Sony cameras had switched to black and white mode. In this regard the Sony and Samsung camera did not meet their published low light specifications in color.
Sony SNC-VM630: The image is very bright and clear. We can see the details of the scale. (Note this is a 2 megapixel camera).
Axis P3384: The image is in color. We can see the colors of the pen and the details of the scale are visible. (This is a 1 megapixel camera)
Test at approximately 0.2 lux
With the light level reduced, all three cameras displayed high quality images. The Axis camera stayed in color. All the cameras showed detailed clarity and only a small drop-off in brightness with low noise. The Samsung and Sony compared well with the Axis camera. The Sony displayed slightly better image quality at this light level.
Sony SNC-VM630: Display is bright and clear with low noise
Samsung SNV-6084R: Noticeably darker image, but is still displaying a fairly clear image with little to no amplifier noise.
Lower Light Level (approximately 0.05 lux)
With the lighting reduced the Axis switched to B / W and showed the darkest image with noticeable amplifier noise. The Sony displayed the brightest image with the most amplifier noise. The Samsung displayed average brightness with the least amount of amplifier noise. Overall the Samsung displayed the image with the best combination of brightness and low amplifier noise.
Axis P3367: Noise level increased and it was difficult to make out the details of the scale.
Sony SNC-VM630: Increased noise but can make out more details than the Axis camera
Samsung 6084: The image is dark, but the least amount of noise with the clearest image.
The Lowest light level (approximately 0.01 lux)
This test was done at extremely low light level. It was below the light sensitivity of the Axis camera. Under these conditions the Samsung tested best. Despite showing a dark image there was very little amplifier noise and the objects are visible. With the Samsung you can clearly see the markers and the scale. The Axis camera displayed very little and it was nearly impossible to identify our objects, the scale and the markers. The Sony showed the outline of our objects to some degree. The image is hard to see because of the lack of brightness, but the extreme level of amplifier noise is the main factor causing our inability to view the image on the Sony.
Conclusion
The Samsung 6084 won the low light sensitivity test, though the Sony was very close. It was interesting to note that Sony provides conservative specifications for its IP cameras. The tested performance was better than their published specifications. Even though the camera has a published specification of 0.07 lux, it was almost as good as the Samsung camera, with published specification of 0.01 lux.
All the cameras displayed good images at light levels as low as 0.5 lux. The Axis camera stayed in color longer as the light was reduced, but didn't perform well when it switched to B / W mode. At light levels down to about 0.05 lux, the Sony camera provided a bright image, and low noise, but at the lowest light level of about 0.01 lux, the Samsung camera displayed the lowest amplifier noise and best image.
For assistance in selecting your IP camera, please contact us for help.
Tuesday, January 22, 2013
NVR, DVR, or Video Server?
![]() |
Video Server |
![]() |
NVR |
![]() |
DVR |
- The NVR connects to the computer network along with the IP cameras. So you can take advantage of the existing network infrastructure, meaning you don’t have to run wire from a home base location.
- The DVR uses coaxial connections to each of the analog cameras.
- The NVR supports high resolution megapixel cameras
- The DVR supports only cameras with VGA resolution
![]() |
Power Over Internet (PoE) |
Wednesday, November 14, 2012
Viewing Your IP Cameras on Your Smart Phone
To make the video phone a reality a number of obstacles had to be overcome including cost of the video equipment, the cost of high speed connection, and better compression schemes.
Now what about viewing our IP surveillance cameras remotely? Does the new technology allow us to view all our surveillance cameras at home or on the road? Well almost. When we use our Smartphone’s to see each other, we are usually just looking at a person’s face. If we try to view a wider area, say the complete room, things are not that clear. The video we see on our Smartphone has less resolution than that usually required for surveillance. Because we would like to see a lot more detail for our surveillance applications we require much higher resolution and a better display. A computer is still the best way to view your remote IP cameras.
Viewing an IP Camera using your Smartphone
Let’s look at the complete communication channel required to get the video from our cameras to our cell phones or even to a remote computer. You can picture the components of the system as a set of water pipes connected together. The bigger the diameter of the pipe the more water can flow. The smallest diameter pipe will determine how much water flows through the complete system. There are basically 4 components to the system.
1)
2) Second the outbound bandwidth available at our cellular modem must be high enough to handle the data flow we need.
3) Third the phone company cellular system must have enough bandwidth.
4) Finally the Smartphone has to have good enough performance to support the latest cellular services and be able to display the video.
For example, if the bandwidth from the IP camera is 1000 K bits/sec but the cellular network bandwidth is only 200 K bits/sec. the maximum bandwidth through the complete system is limited to 200K bits/sec.
Compression
The first IP cameras used MJPEG compression, and this is still the best compression for viewing the video on your Smartphone. Today the new H.264 compression dramatically reduces the bandwidth required for an IP camera. It reduces the bandwidth and the storage required over a factor of 10X. For example, a VGA camera (running at a frame rate of 20 fps), using MJPEG compression, requires about 4.8 Mbits/sec, while an IP camera using H.264 compression would require less than 400 Kbit/sec. This compression scheme is dependent on many different factors including the amount of motion detected, so it is possible to use a lot less bandwidth. Take a look at our article about the Latest H.264 Compression for more about this.
Cellular Network
One of the limiting portions of the communication channel is the cellular network. This is usually the smallest pipe in the system. 3G networks provide a maximum of about 200K bits/sec bandwidth. Since Smartphones do not work with H.264, there is a lot more bandwidth required for MJPEG. Since we require 4800 Kbit/sec (using MJPEG compression) to see the video running at 20 fps, we will see a lower frame rate at our Smartphone because of the cellular bandwidth limitation. In this case, we will get about 1/24 the frame rate or less than 1 fps at the phone.
4G networks promise to increase the bandwidth to 1 Gbits/sec. This should allow us to support higher resolution cameras. I say it should work, but the reality is that cell phone providers need to share bandwidth with all the available users. They will throttle the bandwidth used by that camera location whenever many people try and use the same tower connection.
Another important aspect of using cellular systems is the cost of the cell service. You will have to purchase a data package from your local cell phone provider. There are sometimes limitations to the bandwidth that they will provide.
Viewing Many Cameras on Your Remote Computer
When we use a remote computer that’s attached to the internet, there are four things to consider, the compression from
Many Internet connection companies provide good inbound bandwidth but much less outbound bandwidth so always check. The outbound Internet bandwidth can dramatically affect the frame rate you can see. If your provider only gives you an outbound bandwidth of 512K Bits/sec, you will see a much lower frame rate at the remote viewing point.
The best way to view multiple cameras is to utilize a viewing client that comes with Video Management Software (VMS). This also allows you to view recorded video as well as the real time video. Ocularis from OnSSi provides an excellent client viewer, while TruViewIP provides a good web client as well as a Smartphone interface. The bandwidth to the remote viewing client depends on the total number of cameras you are trying to view, so the total bandwidth through the system available becomes very important. If you have a limited bandwidth at any point in the system, you will see reduced frame rates.
Summary
Some of the same technologies used by our Smartphones to create a video presence are used by our IP camera systems. You can view IP cameras using your Smartphone, but you can’t expect full frame rates because of limited bandwidth through the cellular phone system. To view recorded video or and view multiple cameras you will need Video Management Software. You will also need more bandwidth when you view multiple cameras.
If you need help figuring out the best solution for your application, please contact us at 1-800-431-1658 or 914-944-3425 or use our contact form.
Friday, January 27, 2012
Door Access Control Review
Over the years more intelligent devices were developed, and now most of the intelligence is located at the reader near the door. The latest IP door readers make use of the Ethernet PoE network and are very easy to install. This article reviews the pros and cons of both systems and compares the cost of installation.
We have used a 6 reader system as an example. Let’s start with the cost comparison. First we looked at the older centralized system with control panel. I’m leaving out the cost for door locks, sensors and Rex buttons
Centralized System
Equipment Cost
Cost for the Equipment consists of the readers and the central box with power supply.
Each door requires a door controller and a prox card reader.
6 - Door controllers = $510 x 6 = $3060
6 - Prox readers = 194 x 6 = $1164
The central control box and power supply is required:
1- Site Controller $568
1- Software $768 (This can be a lot higher depending on company)
1- Power supply $495
Total $1831
Grand Total for equipment and software - $ 10,985
Wiring
Traditional 18-2 or composite wiring from the panel to the reader can range from $0.90 to $1.30 per foot. Assuming the 6 readers average 50 feet from the panel at minimum wiring cost will be $270
Installation
Installation is a variable because it depends on the prep work for mounting panel enclosure, distance from the central box, the type of walls and ceilings, and other physical considerations in the building. It goes without saying that multi-building installation adds to the complexity. We used the labor costs at one installation which required about 5 days at about $1000 per day = $5000
Total cost for the system is $16,255.00
IP Reader System
The new all-in-one Isonas door access reader-controller connects right to the network and doesn’t use a central control box. The credential database is entered into a computer running Crystal Matrix software. All this information is downloaded to each of the readers so even if the network goes down, the reader can still control entry.
Equipment cost
Door access control reader-controller $700 x 6 = $4200
Software is free unless you need web based control = $500
8 port network switch with PoE support = $200
Total equipment is $4900
Wiring
Cat 5/6 wiring from the network switch to the reader-controller is about 0.30 per foot. Assuming the 6 doors average 50 feet from the network switch the wiring cost will be $90.00
Installation
Labor cost is again somewhat variable but since there are fewer devices to configure and install at the door physical installation is simplified. As for electrical work, since wiring of the reader-controller to the door strike is contained at the door and PoE supplies power to the lock, we have cut out the need for wiring back to one central point. Thus labor costs are much less. Typically an install requires ½ the time and resources to install so 3 days at $1000 per day is $3000 for labor.
The total system cost is then $7,990.
Summary
Classic System
The classic system has been around for many years so there are many experienced licensed electricians available
IP Reader System
Since the new IP systems use computer networks, a new breed of installers with network and computer expertise is required. The good news is that this can be an in-house self-installation for many organizations that have an IT staff. They have been running the network wire to computers so they have no problem connecting to the same RJ45 connections that are used by computers. The only things they may need help with are installation of the electric locks. In this case they can bring in locksmiths who are familiar with these types of locks. The locksmith installs the electric lock and wires to the pigtail of the reader.
Integration with other systems
Since the IP access control uses the network it's very easy to integrate into an IP camera system. By connecting Intercoms to the IP camera, a remote person can manually release the door. The audio connections go through the camera and find their way back to the safety station that's running Video Management Software. When the call button is pushed on the intercom the safety station is notified by an alarm sound, and the safety officer can see and talk to the person at the door. They can then unlock the door by pushing a button on their computer screen.
Deployment across a Campus
IP systems have another major advantage. They can be deployed anywhere you have a network connection, so if you have multiple buildings connected over a LAN or WAN the IP system can make use of this network and easily communicate to the central control software on a computer in one of the buildings.
Conclusion
Network attached IP door access systems are very easy to install and have excellent flexibility. They can be located across the campus or across the city as long as you have a network connection.
If you need help defining your door access control system, please contact us at 1-800-431-1658 (in the USA) or + 914-944-3425 or use our contact form.
Tuesday, November 15, 2011
New Cameras from IQinvision

IQinVision has released its newest version of the popular Sentinel HD Megapixel line of IP cameras. Like the line it is replacing the full featured all-weather outdoor camera comes in four models offering the user a choice of resolutions
- The IQ861NE with 1.0 megapixel /HD720p (1280Px720p)
- IQ862NE - 2.0MP/HD1080p (1920x1080)
- IQ863NE 3.6MP(2560x1440)
- IQ865NE 5.0MP (2592x1944)
The Sentinel makes installing easier. Using the One-Touch-Focus feature, fine focus adjustments can be made from a remote computer, eliminating the need for manual focusing at the camera. With its Ethernet terminal punch-down there is no need to terminate with an RJ45 connector. And although it is a simple feature, installers will appreciate the steel camera hangers that allow the use of both hands.
The new Sentinel cameras provide multiple, individually configured H.264 and simultaneous MJPEG streams. The H.264 standard builds on earlier standards such as MPEG-2 and MPEG-4 resulting in better compression performance. Compared with MPEG-4, H.264 gives a better quality image at the same compressed bitrate. In addition to its superior compression performance, H.264 offers added flexibility over MPEG-4 in terms of transmission or storage, including a packetized format and features that help minimize the effect of transmission errors.
The Sentinel can be considered green in that it has a power consumption of less than 7 watts, which is lower than many similar cameras. It can also operate using Power-over-Ethernet. In addition to the aforementioned features, all four models come with
- Day/night moveable IR filter
- Lightgrabber low light feature
- IP66/NEMA 4 outdoor enclosure
- Choice of telephoto, wide, or ultra-wide lens
All this plus IQinVisons standard three year warranty make any of the Sentinel cameras a wise choice. Contact Kintronics for pricing and availability. We can be reached at 914-944-3425 or use our contact form.
Friday, April 29, 2011
Case Study of Emergency Notification System for a University
RUniversity is a small private liberal arts university in the Midwest with approximately 2,500 undergraduate students and 500 graduate students. The university has four colleges/schools: the college of arts & sciences, the school of management, the school of graduate and professional studies, and the research college of nursing.
The university upgraded their network over the past three years. They improved the reliability of networks and upgraded their Internet speed. They have also added additional services for redundancy and increased efficiency for all users by replacing old Internet routers and traffic management equipment. This is but a short list of some of the network upgrades that the Computer Services department at R University has been engaged in.
Methodology
Clarifying the Objectives:
The university has approximately 24 buildings situated on approximately 52 acres. Each building varies in size and shape, and total square footage. Given this information we devised a means to determine exactly where the speakers should be placed, so as to ensure that everyone in the target areas would be able to hear the emergency announcements clearly.
Determining where the Speakers would be Located
We started at the location of the “ears”, and determined what the minimum Sound Pressure Level (SPL) was required to be heard over the background noise in each area. Working back from the “ears" we can then determine how far away speakers are from the people based on the sound level output from various types of speakers.
Sound Pressure Level (SPL)
Also, probably more important than either of the aforementioned, is the relationship between the actual Sound Pressure Level and what we perceive as sound. For instance a Sound Pressure Level of 85 decibels would be equivalent to an average amount of traffic on a busy street. Theoretically the sound pressure level associated with a particular sound is based on the geometry of the object producing the sound, and the objects surrounding, or nearby the sound-producing source. As an example consider the objects surrounding the sound-producing source. Let’s say for instance that the point source is a speaker.
Figure 1
Figure 1 depicts a single speaker that radiates sound in all directions. There are no objects in its path to impede the sound from traveling in all directions. The Sound Pressure Level (SPL) is measured with a sound level meter (Figure 2).
Figure 2
In practice a sound level meter is used to determine the precise sound pressure level at a certain distance. To make things easier, all speaker manufacturers provide the SPL at 1 M away from the source, and at 1 Watt power. They sometimes will also provide the sound output at full power input. As an example consider the specifications for the PH10T speaker. It has a SPL of 112 dB at a 1-meter distance, with a full input power rating of 10 WATTS.
We can use a complex formula or use an easier simplified method to determine how much sound is available as we are further away from the speaker. In the article “How Loud is Loud?” an outline of the basic equations for measuring sound pressure levels and determining the relationship between the decrease in sound as a function of distance that the individual is away from the speaker were reviewed. The simplified method says that we lose 6dB of sound each time we double the distance away from the speaker. So at 2 M the sound goes down to 106dB, at 4 M it is at 100 dB, and at 8 M it’s about 94dB. At 10 M we estimate that the sound level is approximately 92 dB. Ten meters is equivalent to approximately 30 feet.
92 dB corresponds to the sound that a diesel truck or motor cycle (loud one) makes. In the results section, we provide a real world example using a set of requirements from a recent client of ours.
Results
The information above can be used to determine approximately where the speakers should be placed for a specific SPL. The objective was to make sure that everyone heard the message. Here’s how we used the information in the previous section to determine near optimal placement of the speakers on one floor of R University’s all-purpose building. Consider Figures 3.
Figure 3
This is the basement floor of the all-purpose building. This floor has an approximate area of 25,000 square feet. Using the floor plan we developed a simple relationship between the drawing measurements and the actual building measurements (i.e. scale). Once the scale was determined, we were able to mark off on the drawing where each speaker should be placed based on the speaker specifications. The details have been omitted for brevity.
Our client determined that each floor should be covered with a SPL of 90-95 dB or greater. For Figure 3 the speakers were placed based on the aforementioned SPL requirement. The speaker that most closely matched our client’s requirements was a PH20T. Each speaker covers an area of approximately 75 feet with an SPL of 90 dB or greater. The orientation of each speaker is largely dependent on the radiation pattern as shown below in Figure 4.
Figure 4
Figure 4, is similar in nature to Figure 1. It demonstrates how far the sound produced by a speaker will reach in all directions. Just like in Figure 1 the speaker is located in the middle of the circle, but it is not shown in this figure, and the dashed line indicates the radiation pattern for the PH20T. It is clear that the radiation pattern resembles a ripple in a pond when a solid object is thrown into the center of it (i.e. omnidirectional). Looking at the radiation patterns we can see that the entire floor is covered with a SPL of at least 90 dB, which coincides with the requirements of our clients. The areas that are not covered have little or no traffic.
We selected the IP7-SS20 amplifier to drive each of the speakers. This amplifier provides an output of up to 20 watts, which is more than enough to achieve the sound level required. Since they connect directly to the network, it was very easy to install. Special software called Talkmaster-EE was installed on two computers (with microphones) that can be used to make announcements. This provided a complete emergency announcement system that used the existing network infrastructure for connecting the amplifiers (with speakers) to the central office. For more details about this system take a look at our article Paging over IP.
Conclusion
R University is one of many clients that we have helped in determining speaker requirements and speaker locations within each building. At Kintronics we use an analytical approach to problem solving. Each solution that we develop for our clients is based on the information that they provide us with. We do not add components superfluously to a client’s system. We pride ourselves on the ability to translate client requirements into system requirements, and make the necessary recommendations. It is our job and responsibility to ensure that the: lives, property, valuables, etc. that our client’s have entrusted us to protect, are safe at all times. We provide the correct solution the first time and provide a very thorough explanation to our clients about the system design.
If you require assistance with translating: ideas or security requirements into system requirements, please contact us at 1-800-431-1658 or 914-944-3425 or use our contact form.
Friday, July 23, 2010
Special IP Cameras for Special Situations
If you need a system that can see over a mile away, there’s the special PTZ IP camera system that uses a focused laser IR illuminator. It’s matched with a high performance 60X optical zoom lens that adjusts from 12.5mm to 750 mm or with doubler adjusts from 25 mm to 1500mm. During the day this amazing camera allows you to recognize things that are 19,685 ft away (6,000 M). At night the special laser illuminator reaches out 4,921 ft (1,500M). There’s more on our web page.
What happens when there’s no Internet connection? Well you can use a complete camera system that includes an
There are many more special cameras available and more becoming available every day. Just contact us for the latest and greatest at 1-800-431-1658 or 914-944-3425 or use our contact form.
Tuesday, October 6, 2009
H.264 Compression
H.264 is a new version of MPEG4 and it provides about twice as much compression as the older version. Apple has been using this standard for a number of years and it is now available in the latest IP Cameras. A number of manufacturers have begun to introduce this technology. Axis is in the lead at the moment, but other companies such as Sony, IQinvision and others are slowly introducing their new models as well.
This latest video compression standard, H.264 (also known as MPEG-4 Part 10/AVC for Advanced Video Coding), is becoming the video standard of choice.
Compression Concept
The intent of the H.264/AVC project was to create a standard capable of providing good video quality at substantially lower bit rates than previous standards (e.g. half or less the bit rate of MPEG-2, H.263, or MPEG-4 Part 2), without increasing the complexity of design so much that it would be impractical or excessively expensive to implement. An additional goal was to provide enough flexibility to allow the standard to be applied to a wide variety of applications on a wide variety of networks and systems, including low and high bit rates, low and high resolution video, broadcast, DVD storage, RTP/IP packet networks, and ITU-T multimedia telephony systems.
H.264 is an open, licensed standard that supports the most efficient video compression techniques available today. Without compromising image quality, an H.264 encoder can reduce the size of a digital video file by more than 80% compared with the Motion JPEG format and as much as 50% more than with the MPEG-4 Part 2 standard. This means that much less network bandwidth and storage space are required for a video file. Or seen another way, much higher video quality can be achieved for a given bit rate.
Jointly defined by standardization organizations in the telecommunications and IT industries, H.264 is expected to be more widely adopted than previous standards.Video compression is about reducing and removing redundant video data so that a digital video f ile can be effectively sent and stored. The process involves applying an algorithm to the source video to create a compressed file that is ready for transmission or storage. To play the compressed file, an inverse algorithm is applied to produce a video that shows virtually the same content as the original source video. The time it takes to compress, send, decompress and display a file is called latency. The more advanced the compression algorithm, the higher the latency, given the same processing power.
A pair of algorithms that works together is called a video codec (encoder/decoder). Video codecs that implement different standards are normally not compatible with each other; that is, video content that is compressed using one standard cannot be decompressed with a different standard. For instance, an MPEG-4 Part 2 decoder will not work with an H.264 encoder. This is simply because one algorithm cannot correctly decode the output from another algorithm but it is possible to implement many different algorithms in the same software or hardware, which would then enable multiple formats to be compressed. Different video compression standards utilize different methods of reducing data, and hence, results differ in bit rate, quality and latency.
The graph below provides a bit rate comparison, given the same level of image quality, among the following video standards: Motion JPEG, MPEG-4 Part 2 (no motion compensation), MPEG-4 Part 2 (with motion compensation) and H.264 (baseline profile).
Figure 1. An H.264 encoder generated up to 50% fewer bits per second for a sample video sequence than an MPEG-4 encoder with motion compensation. The H.264 encoder was at least three times more efficient than an MPEG-4 encoder with no motion compensation and at least six times more efficient than Motion JPEG.
Frames
Depending on the H.264 profile, different types of frames such as I-frames, P-frames and B-frames, may be used by an encoder.
An I-frame, or intra frame, is a self-contained frame that can be independently decoded without any reference to other images. The first image in a video sequence is always an I-frame. I-frames are needed as starting points for new viewers or resynchronization points if the transmitted bit stream is damaged. I-frames can be used to implement fast-forward, rewind and other random access functions. An encoder will automatically insert I-frames at regular intervals or on demand if new clients are expected to join in viewing a stream. The drawback of I-frames is that they consume much more bits, but on the other hand, they do not generate many artifacts.
A P-frame, which stands for predictive inter frame, makes references to parts of earlier I and/or P frame(s) to code the frame. P-frames usually require fewer bits than I-frames, but a drawback is that they are very sensitive to transmission errors because of the complex dependency on earlier P and I reference frames.
A B-frame, or bi-predictive inter frame, is a frame that makes references to both an earlier reference frame and a future frame.
When a video decoder restores a video by decoding the bit stream frame by frame, decoding must always start with an I-frame. P-frames and B-frames, if used, must be decoded together with the reference frame(s).In the H.264 baseline profile, only I- and P-frames are used. This profile is ideal for network cameras and video encoders since low latency is achieved because B-frames are not used.
Basic Concepts of Reducing the Data
A variety of methods can be used to reduce video data, both within an image frame and between a series of frames.
Within an image frame, data can be reduced simply by removing unnecessary information, which will have an impact on the image resolution. MJPEG utilizes this algorithm.
In a series of frames, video data can be reduced by such methods as difference coding, which is used by MEPG4 and H.264. In difference coding, a frame is compared with a reference frame (i.e. earlier I- or P-frame) and only pixels that have changed with respect to the reference frame are coded. In this way, the number of pixel values that are coded and sent is reduced.
Figure 3. With Motion JPEG format, the three images in the above sequence are coded and sent as separate unique images (I-frames) with no dependencies on each other.
Figure 4. With difference coding (used in most video compression standards including H.264), only the first image (I-frame) is coded in its entirety. In the two following images (P-frames), references are made to the first picture for the static elements, i.e. the house, and only the moving parts, i.e. the running man, is coded using motion vectors, thus reducing the amount of information that is sent and stored.
Difference coding, however, would not significantly reduce data if there was a lot of motion in a video. Here, techniques such as block-based motion compensation can be used. Block-based motion compensation takes into account that much of what makes up a new frame in a video sequence can be found in an earlier frame, but perhaps in a different location. This technique divides a frame into a series of macroblocks. Block by block, a new frame—for instance, a P-frame—can be composed or ‘predicted’ by looking for a matching block in a reference frame. If a match is found, the encoder simply codes the position where the matching block is to be found in the reference frame. Coding the motion vector, as it is called, takes up fewer bits than if the actual content of a block were to be coded.
Figure 5. Illustration of block-based motion compensation
H.264 takes video compression technology to a new level. With H.264, a new and advanced intra prediction scheme is introduced for encoding I-frames. This scheme can greatly reduce the bit size of an I-frame and maintain a high quality by enabling the successive prediction of smaller blocks of pixels within each macroblock in a frame. This is done by trying to find matching pixels among the earlier-encoded pixels that border a new 4x4 pixel block to be intra-coded. By reusing pixel values that have already been encoded, the bit size can be drastically reduced. The new intraprediction is a key part of the H.264 technology that has proven to be very efficient. For comparison, if only I-frames were used in an H.264 stream, it would have a much smaller file size than a Motion JPEG stream, which uses only I-frames.
In this mode, four bottom pixels from the block above are copied vertically into part of an intra-coded macro-block. | In this mode, four right-most pixels from the block to the left are copied horizontally into part of an intra-coded macroblock. | In this mode, eight bottom pixels from the blocks above are copied diagonally into part of an intra-coded macro-block. |
Figure 6. Illustrations of some of the modes that intra prediction can take in coding 4x4 pixels within one of the 16 blocks that make up a macroblock. Each of the 16 blocks in a macroblock may be coded using different modes.
Original source image Intra predicted image
Residual image Output image
Figure 7. The above images illustrate the efficiency of H.264’s intra prediction scheme, whereby the intra predicted image is sent for “free”. Only the residual content and the intra prediction modes need to be coded to produce the output image.
Block-based motion compensation—used in encoding P- and B-frames—has also been improved in H.264. An H.264 encoder can choose to search for matching blocks—down to sub-pixel accuracy—in a few or many areas of one or several reference frames. The block size and shape can also be adjusted to improve a match. In areas where no matching blocks can be found in a reference frame, intra-coded macroblocks are used. The high degree of flexibility in H.264’s block-based motion compensation pays off in crowded surveillance scenes where the quality can be maintained for demanding applications. Motion compensation is the most demanding aspect of a video encoder and the different ways and degrees with which it can be implemented by an H.264 encoder can have an impact on how efficiently video is compressed.
With H.264, typical blocky artifacts—seen in highly compressed video using Motion JPEG and MPEG standards other than H.264—can be reduced using an in-loop deblocking filter. This filter smoothes block edges using an adaptive strength to deliver an almost perfect decompressed video.
Figure 8. Blocky artifacts in the highly compressed image at left are reduced when a deblocking filter is applied, as seen in the image at right.
Conclusion
H.264 compression provides a significant improvement in video compression technology. It is supported by many different standards groups making it one of the most accepted standards. Because it provides a dramatic improvement in compression, it reduces the bandwidth and storage required. It provides an 80% improvement over MJPEG compression and about 50% improvement over MPEG4 compression. It is now available in the latest cameras from Axis, and other manufacturers.
Need more information about this compression or the cameras that utilize it, just contact us at 914-944-3425 or by using our contact form.
Thursday, January 22, 2009
What's a Watt
Resistance is what generates the heat when voltage and current are applied to an electric circuit. An electric heater is an example of a resister. The more current that follows through a resister the hotter it will get. Resistance is measured in ohms.
Almost everything, including wire, has some resistance. The thicker the wire the less resistance it has to the flow of the current. It’s like having a larger size pipe for water. The thinner the wire gauge the more resistance the wire will have, and the lower the voltage will be at the end of the wire. Also, the longer the length of the wire the more resistance is added. When you have a long run of wire, you should use a larger gauge size wire (thicker) to reduce the resistance.
For those who need more details, here they are, otherwise just go to Voltage description below.
Another example can be seen at museums that have scientific displays. Sometimes they have displays that show the effect of voltage. They let kids touch the surface of a large metal ball. When they touch it, their hair sticks out in all directions. This is called a Van der Graf generator (but you probably don’t need to know this). It generates a very large voltage on the surface of the metal ball, and the static electricity makes your hair stand on end.
Now for Watts:
Here’s the definition of a watt: the watt (symbol: W) is equal to one joule of energy per second (and about 745 watts equals 1 horsepower). It measures a rate of energy conversion. It was named after our old friend James Watt. Remember his work with the steam engine? If not, you’re not smarter than a fifth grader.
Here are some examples of the Watt. A human climbing a flight of stairs is doing work at a rate of about 200 watts. An automobile engine can produce mechanical energy at a rate of 25,000 watts (which is
First off, you may know this, but there are two different types of electrical systems. There is Direct Current (DC) systems and Alternating Current (AC) systems. I’m going to start by explaining DC systems which are simpler than AC systems.
The Watt is related to the voltage and current. The formula for calculating the watt is: Watts (W) equal Current (I) X Voltage (V) or W = I x V. For example if I have a camera that requires 12 V DC and it takes 2 amps, it will require a power supply that can provide at least 24 watts. (2 x 12 = 24).
Power is fairly simple, when you are using a DC power supply. It gets a little more complicated when you use an AC power supply. In the alternating current world the voltage cycles up and down. This is called a sine wave. The voltage goes positive and then negative and back again. The current goes back and forth as well. These two cycles can be affected by the load, especially when the load includes other components such as a transformer or motor. Pan tilt cameras with motors are an example of a complex load.
When there is a complex load, the sine wave for the voltage can get displaced from the sine wave for the current and this changes the real power we will need. When we compute power in an AC network we use Volt-Amps instead of Watts.
We use the Power Factor to adjust for this variable power load. Now the Volt-amps equal the watts divided by power factor. The power factor is a number between 0 and 1 and its value is determined by the properties of the load. So if you have a system that needs 20 watt but there is a power factor of 0.5, the Volt-Amp required is 20 / 0.5 = 40 watts. Notice that the unit of measure is the same (further confusing things).
If you have a camera or other device that doesn’t have a complex load then the power factor equals “1”. This is true in most fixed IP cameras. In this case, Watts equals Volt-Amps.
In summary, current, resistance and power are important specifications to consider when installing IP cameras or any type of camera system. The gauge (thickness) and length of wire is important because it can affect the voltage. Power is measured in Watts, but it can also be the same as Volt-Amps, it’s just determined by the type of load (or camera) that’s used.
If you would like more information about how voltage, current and power affect your IP camera system, just contact us at 914-944-3425 or use our contact form.
Friday, September 12, 2008
What is Bandwidth and How Much is Required
We receive information in a number of ways. For example, we can
Broadcast versus Addressed Information
First let’s understand the difference between receiving the information that’s broadcast versus getting information that’s addressed to us. The reason I’m reviewing the two types of communication is because it is helpful to know this when you are talking to your network provider. Some of these providers actually don’t understand this concept, so you have to help them along, especially when you are trying to explain a problem you’re having with their service.
When information is broadcast electronically, it is like a water pipe filled with fish. The pipe goes from one house to
Sending information that’s addressed to specific computers is like delivering the fish to each person’s house. When you connect your computer to the Internet you get some data (fish) that’s addressed just to you. Each house takes some of the fish away so you need lots of fish. IP addresses are used on the network to address each of the computers and to assure that the information gets to the right place. Telephones are another example of addressed information. You call a specific house by using a specific phone number. Internet providers that focus on good data service should not only be interested in the quality of the signal, but also the bandwidth (amount of fish) that each user receives.
Data rate (or do we have enough fish).
If many people are trying to get the fish at the same time, you have a fish delay because you don’t have enough fish to go around. For example if the Internet provider tells you that you have a 10 Mbits/sec connection, you may not receive this data rate all the time. The problem is that the network is shared by many people so sometimes the bandwidth that you receive is reduced and you end up waiting a long time for a picture to load on your web browser. It’s far worse when you are talking to someone on the telephone, and there are missing sounds or interruptions to the voice.
When you have these problems it’s time to talk to your provider about the bandwidth they are actually providing.
How High a Data Rate Do We Really Need?
Many DSL, cable companies and Verizon FIOS have one data rate for incoming (download) data rate and another for the outgoing (upload) data rate. Usually you would like a higher download rate, but sometimes, especially if you are viewing a camera, you would like a higher upload rate.
Now that you understand the concept of data rates, you will be better able to make the right choices for your Internet connection. These same concepts also apply to your local area network and even your wireless network.
If you need more help determining bandwidth (how many fish) you need, just give us a call at 914-944-3425 or use the contact form to send us a message.
Friday, May 30, 2008
Video Recording for IP Cameras
Pros and Cons of the latest IP Camera Recording systems
by Bob Mesnik
Video Recorder
Early video tape recorders were introduced in the 1950’s. In the 1960’s Sony introduced the first videocassette units (U-matic) which lead to the Beta and VHS VCR products. In the 1970’s the VCR started to be used in the surveillance market.
Video Cassette Recorders (VCRs) used in surveillance, are modified consumer VCRs that have one or more camera inputs to record video from CCTV analog cameras. Duration of storage is usually only up to ten days, depending on resolution and frame rate. These systems were simple to use and relatively inexpensive. Prices ranged from $200 to $1,000.
The downside was the difficulty in finding a specific videotape and then a specific time period. Tape is not too reliable, so even if you find the right tape you may find the video has deteriorated.
Digital Video Recorder
Around 2000, the DVR was introduced for surveillance applications. The Digital Video Recorder (DVR) converts analog video (from CCTV cameras) to digital data and records the data on computer type hard drives. 4 to 16 analog cameras can be attached to a DVR. These systems provide far more storage than tape, are more reliable and provide almost instant access to the stored video. Prices range from $500 to over $2500 (for up to 16 cameras).
Since the video is stored in a form that’s more compatible with computers, the video can be processed and distributed easily. DVR systems incorporate better video compression, and provide motion detection and alarms. Many DVRs have network connections. Data can be sent over the network and viewed on a PC or it can be stored on CD or DVD-Recordable discs.
The upside is the ability to attach a variety of analog cameras into the network. The downside is that the DVR system has a fixed amount of storage and is not easily expanded.
Network Video Recorders (NVRs)
Some manufacturers also introduced NVR systems that included a computer. The purpose of this system was to make the transition from analog CCTV technology to the new network attached IP technology as easy as possible for the video dealers. For example, instead of using a 16-channel DVR you could now get a 16-channel NVR.
The NVR systems are much more flexible and expandable than DVR systems. The Ethernet network can support a very large number of IP Cameras and the more advanced NVR software is designed to use multiple computers to support an almost unlimited number of cameras.
Most NVR software runs on a Windows type PC system. An IP camera system consists of the IP cameras, computer with hard drives and IP or NVR software. The computer performance and hard drive capacity depends on the number of cameras, the resolution of the video, the frame rate of the cameras as well as how long you want to store the video.
NVR software can be scaled to the requirements of the surveillance system. You can get low cost camera systems that support up to 25 cameras, medium level solutions that support up to 64 cameras and enterprise solutions that support hundreds of cameras.
Software Overview:
There are a number of software options such as NUUO, ProSightSMB, NetDVR and NetDVMS from OnSSI and a number of versions from Milestone (which are similar to the OnSSI software).
The software is licensed according to the number of cameras you are supporting. ProSightSMB and NetDVR are both licensed by groups of cameras 4, 9, 16 25, 36 64 cameras while NetDVMS is licensed with a base license plus a per camera license. Here are examples of each type of software license:
NUUO is an entry level software for small numbers of cameras. It runs as an application (rather than a service) so should be used with care in commercial surveillance applications. It is licensed for 4, 8, 12 and 16 cameras.
The following software solutions from OnSSI can run either as an application or a Service.
ProsightSMB is entry level software that supports a maximum of 25 cameras. It is a single site and single server type product. This is a small-scale video management system that provides live video, recording, playback and camera management and control. It allows viewing of cameras from any computer using a web browser.
NetDVR is a mid-range product that supports up to 64 cameras on one server, and operates as a server/client. It includes features such as NetGuard client software for viewing up to 64 cameras at a time on any workstation on the network, auto-patrol mode for PTZ cameras, stores audio and allows video to be off-loaded to additional storage on the network. It includes NetMatrix that pops video up on any designated PC monitor whenever there is an alarm condition.
NetDVMS is an Enterprise product that supports hundreds of cameras. It is licensed with a base license plus a per camera license. Besides having all the features of NetDVR, this software can run on multiple servers that are distributed over many sites. It includes NetMatrix that pops video up on any designated PC monitor whenever there is an alarm condition, and Net-PDA software that allows a user to view and control cameras from their PDA.
Advanced content analytic software can be added that counts people in an area or detects if a package has been left unattended at an airport. The bottom line is that more protection can be provided by these complex systems using much less human resources.
If you would like more information please contact us at 1-800-431-1658 or 914-944-3425 or send a message.