Resolving IP Camera / VMS Time Sync Problems

Author: Ethan Ace, Published on Nov 07, 2011

One issue which IP surveillance systems must address is syncing of time between cameras and the VMS in a surveillance network. In our experience, and as discussed in a recent lively discussion in our LinkedIn group, this is often overlooked, yet it is an extremely important issue. Cameras and recorders being out of sync could very well result in evidentiary video being thrown out in court. More commonly and mundane, out of synch cameras can result in 'lost' video and headaches for both users and integrators.

In this update, we look at the key issues including Network Time Protocol servers, GPS time appliances, and how IP cameras and VMS servers handle timing.

How Cameras Handle Time

Different manufacturers of IP cameras manage the camera's internal clock in different ways. Fundamentally, there are two options: manual and automatic via network time protocol.

Manual: This option requires the user to enter the current time in the camera's web interface. It allows for precise entry, but must be maintained manually. In some cases, the manual entry may be accomplished via a "sync to PC" button, which sets the time on the camera to the time of the workstation the user is accessing it from.

Maintaining a handful of cameras' internal time is easy to manage, though also easily forgotten, so manual entry is never recommended. In mid- to large-sized systems, manual entry is out of the question. Systems on a larger scale require too much time to manually update. There is also a higher risk that a camera will be missed or incorrectly set.

Automatic: Most current cameras may be synchronized to a network time protocol (NTP) source, whether it be a public source such as time.gov, or a private source, such as GPS master clock or dedicated time server. Synchronizing cameras automatically has multiple benefits. For one, no work is required to update the cameras in the future. Once the time source is set up, the process is automatic.

Most importantly, it ensures the cameras all have the same time. It should be noted that in many cases, this time does not have to be exact. It is much better to have all cameras say it is 2:10PM when it is in fact 2:14 than it is to have one say 2:05, another say 1:59, and another say 2:43. If one camera shows a theft occuring at 1PM, but the subject enters the building on another camera showing 4PM, there's a possibility this video may be inadmissable in court.

How Recorders Handle Timestamps

Just as cameras handle time differently, recorders may handle timestamps differently as well. The two most common ways a VMS may handle time are by stamping frames upon arrival, or using the camera's timestamp.

Get Video Surveillance News In Your Inbox
Get Video Surveillance News In Your Inbox

Stamping on arrival is exactly what it sounds like. The VMS system marks the time it receives each frame of video. This avoids issues with cameras being out of sync, since the server is using its own stamp on each camera. However, in very large systems, or systems with high latency, it may take longer for frames from one camera to arrive than frames from another camera, which will cause video to be out of sync. In most cases, this shouldn't be a large span of time. We would guess less than a second, unless the network is extremely high latency. However, users should at least be aware that this may occur.

Other systems use the timestamp added to video by the camera. If all cameras are synchronized, this is not an issue, and may be more accurate than stamping video upon arrival, due to the latency issues described above. However, if cameras are not synched, it can cause massive issues. If a camera's clock is off by two hours, video on the VMS system will be marked as two hours off. Attempting to use synchronized playback will especially get difficult, as recorded video will simply not be where the user expects it.

Software Solutions

In order to synchronize cameras, they need an NTP source from which to pull the current time. Internet servers, such as time.gov and ntp.org may be used, but this requires that the cameras be on a network with access to the internet, with ports opened for this communication. Many users regard this as an unacceptable security hole in their network, and choose to run sources internal to their network instead. There are at least two means by which this can be accomplished. The first method is via software. 

It should be noted that Windows is capable of running as a time server. However, there are some issues with doing so. First, in order to set any given server as an Authoritative Time Server, users must edit the Windows registry. Many users will not be comfortable with this process. Second, by default, Windows updates time from a master server once per week. In order to change this, users must once again edit the registry.

To simplify this process, third party NTP clients have been created. One popular client is NetTime. Using programs such as these, users may more easily set different parameters, such as a server list or update interval. Any given PC may be easily set to act as a master server, also. 

Hardware Solutions

In situations where it's undesirable to run a master time server on an existing server, dedicated hardware options exist. 

GPS-based: For systems which need to have accurate time, but do not want to open ports to the internet to retrieve it from an NTP source, GPS master clocks may be the only option. These clocks retrieve time from GPS satellites, which means they require clear antenna line of site to the sky. This is accomplished in one of two ways:

  • Window-mounted: The GPS antenna is mounted inside the building, in a window with a clear view of the sky. The obvious disadvantage to these models is that they need unobstructed access to a properly oriented window. In some cases, this may be hard to come by.
  • Exterior: Using units with exterior antennas is the second method. A receiver and master clock, is rack-mounted, located with other network equipment in the system. The antenna is located outside the facility, either wall- or roof-mounted. This places the antenna above other obstacles which may obstruct its connection to satellites. However, this is an obvious added expense, since exterior walls and roofs can be difficult and costly to penetrate.

GPS models are available in various price ranges. Veracity's TIMENET ($700-800 online) is a common option, and uses an interior window antenna. The latest version of TIMENET is PoE-powered, so it may be remotely located without need of a local power outlet, unlike its predecessor. For more systems requiring more precise capabilities and an exterior antenna, a number of manufacturers are available, such as Spectracom, Symmetricom, and Meinberg. Units such as these are commonly 2-3x the price of other options, however, and are normally only used when absolutely necessary.

Network Time-based: Master time servers which obtain their time from an NTP source are also available, and from many of the same sources as GPS clocks. The disadvantage to dedicated NTP servers is that once again, ports to the internet need to be opened, which will be unacceptable to some users. Generally, master clocks drawing time from NTP sources are only used when there is a reason users don't want to make an existing server into a master time server.

 

1 report cite this report:

Hikvision iVMS-4200 Tested on Sep 14, 2015
Though best known for their camera and recorders, mega Chinese manufacturer also makes their own VMS software. In this report, we share test...
Comments : PRO Members only. Login. or Join.

Related Reports

IP Camera Cable Labeling Guide on Sep 14, 2018
Labeling cables can save a lot of money and headaches. While it is easy to overlook, taking time to label runs during installation significantly...
VMS Export Shootout - Avigilon, Dahua, Exacq, Genetec, Hikvision, Milestone on Sep 13, 2018
When crimes, accidents or problems occur, exporting video from one's video surveillance system is critical to proving incidents. But who does it...
Dahua Low-Cost 4MP Camera Tested (N44CL52) on Sep 10, 2018
4MP use continues to increase, especially in low-cost models, according to integrators in our 2018 Resolution Usage Statistics. We bought Dahua's...
Drain Wire For Access Control Reader Tutorial on Sep 04, 2018
An easy-to-miss cabling specification plays a key role in access control, yet it is commonly ignored. The drain wire offers protection for readers...
Directory Of 110+ Video Management Software (VMS) Suppliers on Aug 30, 2018
This directory provides a list of Video Management Software providers to help you see and research what options are available. Listing...
Exit Devices For Access Control Tutorial on Aug 28, 2018
Exit Devices, also called 'Panic Bars' or 'Crash Bars' are required by safety codes the world over, and become integral parts of electronic access...
Inputs/Outputs For Video Surveillance Guide on Aug 24, 2018
While many cameras have Input/Output (I/O) ports, few are actually used and most designers do not even consider them. However, a good understanding...
Backup Power for Large Security Systems Tutorial on Aug 24, 2018
Choosing the right backup power system depends on system size. While small and medium systems greatly benefit from using UPS battery backup...
Luxriot VMS Profile on Aug 23, 2018
Luxriot is more popular than Hikvision and Milestone products according to ASMAG which was probably even surprising to Luxriot. The company has...
Synology Surveillance Station VMS Tested on Aug 22, 2018
With so many low-cost NVRs and enterprise VMSes, is there any place in the market for NAS-based VMSes? Recently, IPVM bought a Synology NAS for...

Most Recent Industry Reports

Alexa Guard Expands Amazon's Security Offerings, Boosts ADT's Stock on Sep 21, 2018
Amazon is expanding their security offerings yet again, this time with Alexa Guard that delivers security audio analytics and a virtual "Fake...
UTC, Owner of Lenel, Acquires S2 on Sep 20, 2018
UTC now owns two of the biggest access control providers, one of integrator's most hated access control platforms, Lenel, and one of their...
BluePoint Aims To Bring Life-Safety Mind-Set To Police Pull Stations on Sep 20, 2018
Fire alarm pull stations are commonplace but police ones are not. A self-funded startup, BluePoint Alert Solutions is aiming to make police pull...
SIA Plays Dumb On OEMs And Hikua Ban on Sep 20, 2018
OEMs widely pretend to be 'manufacturers', deceiving their customers and putting them at risk for cybersecurity attacks and, soon, violation of US...
Axis Vs. Hikvision IR PTZ Shootout on Sep 20, 2018
Hikvision has their high-end dual-sensor DarkfighterX. Axis has their high-end concealed IR Q6125-LE. Which is better? We bought both and tested...
Avigilon Announces AI-Powered H5 Camera Development on Sep 19, 2018
Avigilon will be showcasing "next-generation AI" at next week's ASIS GSX. In an atypical move, the company is not actually releasing these...
Favorite Request-to-Exit (RTE) Manufacturers 2018 on Sep 19, 2018
Request To Exit devices like motion sensors and lock releasing push-buttons are a part of almost every access install, but who makes the equipment...
25% China Tariffs Finalized For 2019, 10% Start Now, Includes Select Video Surveillance on Sep 18, 2018
A surprise move: In July, when the most recent tariff round was first announced, the tariffs were only scheduled for 10%. However, now, the US...
Central Stations Face Off Against NFPA On Fire Monitoring on Sep 18, 2018
Central stations are facing off against the NFPA over what they call anti-competitive language in NFPA 72, the standard that covers fire alarms....
Hikvision USA Starts Layoffs on Sep 18, 2018
Hikvision USA has started layoffs, just weeks after the US government ban was passed into law. Inside this note, we examine: The important...

The world's leading video surveillance information source, IPVM provides the best reporting, testing and training for 10,000+ members globally. Dedicated to independent and objective information, we uniquely refuse any and all advertisements, sponsorship and consulting from manufacturers.

About | FAQ | Contact