ONVIF Detailed Technical Answers

By: Carlton Purvis, Published on Mar 31, 2013

ONVIF is simultaneously one of the most successful and disliked new offerings of the last few years. On the one hand, its adoption has been staggering, with over 3000 products supporting it. On the other, many people have had problems integrating devices with ONVIF. While it has improved significantly over the last two years, ONVIF integrations cannot be taken for granted. Worse, outside of their plugfest, their public interaction has been underwhelming.

However, we recently talked with key ONVIF technical team members to get a better sense of the issues involved, receiving a lot of useful information. This long review summarizes them, including:

  • Major Differences Between Versions
  • Profile S positioning
  • Status of Profile's G and C
  • Performance Issues: PTZs and Motion Detection
  • Compliance / Verification Process
  • VMS Conformance Issues
  • Communication Issues

Major Differences Between Versions

Core video streaming capabilities have remained the same across all versions of ONVIF. For example, a camera using version 2.1 is designed to stream video to a VMS using version 1.1 (though the reverse may not). Moreover, audio, I/O, motion detection, and other optional features may not (likely will not) work. 

Release 2.0 added storage, recording and analytic management (specifically - new device types: NVS (Network Video Storage), NVD (Network Video Display), and NVA (Network Video Analytics)). These device types are in addition to Network Video Transmitter (cameras, encoders, etc.), and Network Video Client (VMS/NVR, and other devices which receive video), the most common device types in use.

ONVIF also has a number of minor versions (1.02, 2.11, 2.2). For example, namepsaces have changed between versions (e.g., 1.02), meaning issues may arise if using mismatched versions between camera and VMS. Additionally, errors have been corrected and a few advanced methods added (e.g., 2.11). Unfortunately, these are difficult to diagnose, as this information is not public, only which versions each is using.

The most recent version of ONVIF is 2.2, adding a number of advanced functionalities such as PTZ e-flip, reversing PTZs, PTZ tour configuration, imaging stabilization modes and level, washer and wiper commands. Additionally, quite a number of recorded video search optimizations were added (standardizing on time zones, duration of keep alives, etc.). Finally, default motion detection events were added, to simplify motion detection implementation, instead of manufacturers creating their own motion events. We discuss this more in the motion detection section below.

How Do I Know My ONVIF Version?

Checking your device's specific version is challenging. Manufacturers generally do not document which ONVIF version a specific device is using, and tech support may not even know. Instead, the only consistent way to find a device's version is through the ONVIF conformant devices lists [link no longer available]. However, in order to find it, users must click to a specific manufacturer's product list, then click a link in each product, which is not always obvious, then the product details page, and finally check inside the product conformance page, which shows the ONVIF version (if 1.x) or otherwise that it is Profile S plus the test tool version in the case of NVTs, or which devices were used to test in the case of NVCs.

[UPDATE: We are checking with ONVIF to understand the ramifications / issues of Profile S not listing the specific ONVIF version.]

Get Notified of Video Surveillance Breaking News
Get Notified of Video Surveillance Breaking News

Profile S 

Profile S is the new baseline for ONVIF compliance. Devices will no longer by certified as simply "ONVIF compliant", they must meet at least one profile, with S being first, and most fundamental. As we discussed in our overview, it includes basic features needed to connect and control a cameras, such as video streaming (what "S" stands for), encoder configuration, device discovery, and PTZ. Some optional features, including motion detection, were originally intended to be included in Profile S, but were voted out by ONVIF members for the sake of simplicity and expediency. 

Profiles: What's Next?

ONVIF currently has two additional profiles in committee: 

Profile G

Profile G provides a storage framework. It covers both edge storage (flash in the camera or network-connected) and local storage with a common method for archiving, search, and replay. The latest version of the test tool (12.12) already contains tests for this profile, which some manufacturers have begun implementing, but no products will be certified until the profile is publicly released. Profile G is expected to be publicly released in Q3 or Q4 2013.

Profile C

Profile C is a “proof of concept” profile for access control, similar in some ways to PSIA's Entry Control specification. Essentially, Profile C will allow VMS systems to read events from an access control system (access granted, door forced open, etc.) and link them to video without requiring custom integration for each manufacturer. 

Since it's still relatively early, and not yet public (planned for early 2014), ONVIF could not reveal all of the access control providers on board with Profile C, though they did cite Honeywell, also active in PSIA's Area Control Spec, as actively contributing.

Performance issues: PTZ and Motion Detection

ONVIF acknowledges two issues frequently cited by integrators: PTZ control and motion detection.

PTZ Control

Speaking on this topic, ONVIF agrees that latency can be an issue when using ONVIF, with an increase over cameras directly integrated to the VMS. ONVIF explains that this is due to several factors. 

  • A number of manufacturers implemented full web service libraries when implementing ONVIF, which creates unnecessary overhead, as these stacks contain many unneeded layers. As time goes on, developers have learned to remove unnecessary portions of these libraries, reducing needed resources.
  • Secondly, instead of "speaking" directly to the hardware via ONVIF commands, many manufacturers at first created proxies to translate ONVIF PTZ commands to their own proprietary protocol, introducing latency. As they become more comfortable with the ONVIF specification, this has changed, with the proxies being removed.
  • Finally, some manufacturers have begun developing hardware with architecture which is directly compatible with ONVIF commands, requiring less translation of commands to machine code. This architecture reduces latency by nature.

Motion Detection

While motion detection has been included in the ONVIF specification for some time, default events were not included until recently, in version 2.2. This meant that manufacturers created their own events using the ONVIF framework, which had to be individually supported in each VMS. Default events should eliminate this problem moving forward, and include some considerations for analytic rules, should they be implemented, so this may not happen again. Additionally, note that ONVIF has not implemented any configuration of motion events from the client, so users must still set motion detection zones in the camera when using ONVIF. 

Object Video's lawsuits were cited as one reason motion detection development has progressed so slowly within ONVIF. With so many member companies targets of these suits, many were wary of the spec potentially infringing one of OV's patents, as well.

Compliance/Verification

ONVIF does not independently test for compliance of each device. Instead, members test their own devices with the ONVIF test tool, which generates a report that is sent to ONVIF for verification. As long as all test parameters are passed, the device is added to the compliant list. Users may view a device's conformance document by viewing the detail page of the device from the conformant devices list (such as this example [link no longer available]). This document shows the tested firmware version, features supported, test tool version, and most importantly, which ONVIF version or profile is supported. These points can be seen in this sample image:

The major difference between each test tool release is which version of the ONVIF spec they support. Profile S was not included until version 11.12, for example. Previously, user companies could test for only a certain subset of features to check conformance (such as streaming only). Now, since only profile conformance is granted, instead of generic ONVIF compliance, users must test to the profile spec (starting in test tool version 12.12), and all features must pass or the device is not certified conformant.

Because of this self-testing system, devices have been found which claimed compliance, but were found nonconformant. In these cases, the device is removed from the list immediately, until retested and found conformant. Cease and desist letters have been sent in some cases to combat false conformance claims.

Additionally, ONVIF does not require manufacturers to update to new versions of the specification or move to the profile system as they are released. They point out that the move to profile conformance offers some incentive for manufacturers to update to the latest specs, instead of being listed as generically conformant. In the future they may eliminate the generic conformant products list, documenting only profile-specific conformance, but there are no plans to do so now.

VMS Conformance

VMS conformance requirements have increased to testing with five compliant devices. Previously, only two devices were required to be tested, but it was found that this was too narrow a selection to truly prove conformance. A VMS manufacturer may select the most readily available cameras, for example, instead of the most feature-rich. One manufacturer member informed us that this increase indeed unearthed more problems than were found if they had only tested with Axis and Sony, for example.

Some VMS manufacturers have said that this requirement slows their conformance testing, since up-to-date Profile S cameras may be hard to find, for example. We asked ONVIF if they considered making a set of cameras publicly available via the internet for conformance testing, but they currently have no plans for this.

Communication With End Users and Integrators

ONVIF acknowledged that communication with end users and integrators has been a weakness. While technical specifications are readily available on their website, no simplified marketing material is available outlining ONVIFs benefits, the profile system, or support for users. ONVIF tells us that improving user communication is one of their goals for 2013 because of this.

Support has been another issue for end users and integrators working with ONVIF. While ONVIF has no internal technical support, they do recommend users contact them [link no longer available] if two compliant devices fail to integrate, and manufacturers are not cooperative or able to remedy the issue. If the problem cannot be solved, a device or devices may lose their compliance certificate.

Comments (10) : PRO Members only. Login. or Join.

Related Reports

Open vs End-to-End Systems: Integrator Statistics 2019 on Nov 11, 2019
Preference for open systems is on the decline, according to new IPVM statistics. We asked integrators: For video surveillance systems, do you...
Biggest Low Light Problems 2019 on Nov 08, 2019
Over 150 integrators responded to our survey question: "What are the biggest problems you face getting good low-light images?" Inside, we share...
The Access Control Codes Guide: IBC, NFPA 72, 80 & 101 on Nov 07, 2019
For access, there is one basic maxim: Life safety above all else. But how do you know if all applicable codes are being followed? While the...
Rhombus Cameras, VMS and Analytics Tested on Nov 06, 2019
Rhombus boasts they have created "the new standard in Enterprise, cloud-managed video security" and told IPVM in January 2019 they offer twice the...
Aiphone Video Intercom Tested (IX Series 2) on Nov 05, 2019
Aiphone was one of integrator's favorite intercom manufacturers but how well do their products work? The company's newest offering, the IX Series 2...
90+ Companies Profile Directory on Nov 05, 2019
While IPVM covers the largest companies in the industry regularly (like Axis, Dahua, Hikvision, etc.), IPVM strives to do a profile post on each...
Axis Cracks Down On Illicit Channel Sales on Nov 01, 2019
Axis has stepped up efforts to crack down on illicit channel sales according to various industry sources, though, Axis denies this. Online sales...
Tailgating: Access Control Tutorial on Oct 31, 2019
Nearly all access control systems are vulnerable to an easy exploit called 'tailgating'. Indeed, a friendly gesture in holding doors for others...
France Declares School Facial Recognition Illegal Due to GDPR on Oct 31, 2019
France is the latest European country to effectively prohibit facial recognition as a school access control solution, even with the consent of...
Avigilon Appearance Search Tested on Oct 30, 2019
Avigilon Appearance Search claims that it "sorts through hours of video with ease, to quickly locate a specific person or vehicle of interest...

Most Recent Industry Reports

Camera Field of View (FoV) Guide on Nov 13, 2019
Field of View (FoV) and Angle of View (AoV), are deceptively complex. At their most basic, they simply describe what the camera can "see" and seem...
UK Big Brother Watch: Hikvision Is 'Morally Bankrupt' on Nov 13, 2019
UK civil liberties advocate Big Brother Watch has condemned Hikvision as being 'morally bankrupt' following IPVM exposing Hikvision marketing...
Color Low Light Mega Camera Shootout - Avigilon, Axis, Bosch, Dahua, Hanwha, Hikvision, Panasonic, Speco, Sony, Vivotek on Nov 12, 2019
This is the biggest color low light shootout ever, testing 20+ super low light models from 10 manufacturers: Increasingly, each manufacturer...
Wireless / WiFi Access Lock Guide on Nov 12, 2019
For some access openings, running wires can add thousands in cost, and wireless alternatives that avoid it becomes appealing. But using wireless...
Open vs End-to-End Systems: Integrator Statistics 2019 on Nov 11, 2019
Preference for open systems is on the decline, according to new IPVM statistics. We asked integrators: For video surveillance systems, do you...
Biggest Low Light Problems 2019 on Nov 08, 2019
Over 150 integrators responded to our survey question: "What are the biggest problems you face getting good low-light images?" Inside, we share...
US Issues Criminal Charges For Fraudulently Selling Hikvision And Other China Products on Nov 07, 2019
The US government has made an unprecedented move on the video surveillance supply chain, charging a US company, Aventura for "having conspired with...
The Access Control Codes Guide: IBC, NFPA 72, 80 & 101 on Nov 07, 2019
For access, there is one basic maxim: Life safety above all else. But how do you know if all applicable codes are being followed? While the...
Rhombus Cameras, VMS and Analytics Tested on Nov 06, 2019
Rhombus boasts they have created "the new standard in Enterprise, cloud-managed video security" and told IPVM in January 2019 they offer twice the...