H.264 Baseline vs Main Shootout (2012)

Author: John Honovich, Published on Feb 21, 2012

While H.264 is often considered a single 'thing', many different 'types' of H.264 exist. These types have performance tradeoffs. For the past few years, most IP camera manufacturers only supported the most basic type - baseline profile. Now, increasingly, manufacturers are adding support for more 'advanced' types include main and high profile. In this report, we share our test findings of baseline vs main profile measuring differences in bandwidth consumption and CPU utilitzation.

Background on H.264

IP camera manufacturers has largely standardized on H.264 as the codec of choice for surveillance streaming. Since basically all surveillance video is compressed, codecs are required. In the past, MJPEG and MPEG-4 were most commonly used. Now it is predominantly H.264. In 2009-2010, a heated debate existed about using MJPEG or H.264. As our extensive test results of MJPEG vs H.264 showed, H.264 offered clear and compelling bandwidth savings.

H.264 Baseline vs Main Profile

Of the numerous H.264 profiles, the two most common considered for surveillance are baseline and main. Baseline is typically considered the least efficient of the H.264 profiles but also the least demanding of computing resources. By contrast, main profile is considered to be more bandwidth efficient but also more demanding.

Increasingly, new IP cameras are using main profile by default while the previous generation from 2-3 years ago were more likely to use baseline.

Questions for Our Test

We performed a test in 3 different scenes - daytime simple, nighttime and complex / high motion - to measure differences in bandwidth consumption and CPU utilization for H.264 baseline and main profiles.

The questions we addressed were:

  • How much of a bandwidth savings, if any, does main profile deliver over baseline?
  • How much does bandwidth savings vary by type of scene?
  • How much does CPU utilization increase, if any, when using main rather than baseline?
  • Should you prefer main profile cameras over baseline ones?

Key Findings / Answers

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

Here they are:

  • Bandwidth reduction was modest. Main profile reduced bandwidth consumption by 10-30% in the 3 tests.
  • In our tests, we saw no discernable difference in CPU usage between baseline and main profile usage.
  • We also tested MJPEG. Bandwidth consumption was 10-100x than main profile. Equally interesting, CPU usage was generally significantly higher than either of the H.264 streams.

Recommendations

Given the modest bandwidth savings and minimal CPU penalties, using cameras with main profile are a nice to have but not a reason to switch cameras. However, cameras supporting main profile may indicate a newer, more advanced camera. This is simply a correlation, not causality.

Comparing Bandwidth Consumption

Comparing different cameras using main vs baseline profile is likely to deliver skewed results. Profile choice is simply one of a number of factors impacting bandwidth consumption. Other factors that can heavily impact performance: choice of CBR vs VBR, differences in gain control used, variances in image processing, etc. For instance, we are testing the new Axis Q1604 vs the existing Axis P1344. Both are 720p/30 cameras but the bandwidth consumption varies dramatically both during the day and night (in opposite directions) even with using the same profile.

Measuring differences clearly is limited to VBR streaming with cameras supporting configurable selection of multiple codecs. VBR is important because you want the bit rate to vary. By contrast, if you use CBR at the same bandwidth level, even if main has benefits over baseline, it will only show in a reduced quantization level (which can be hard to visually see in the image). In the video below, we show this with the Pelco Sarix camera. This is why we based the test on Axis Q series cameras that allow simple toggle on and off of main vs baseline.

The Test

The video below shows us doing the various tests live so you can see how bandwidth and CPU use varies. Note: while we used the 'extended' SD Q1602, we found the same pattern on the HD Q1604:

1 report cite this report:

H.264 High vs Main vs Baseline Tested on Jun 27, 2014
In surveillance, H.264 is often considered a single 'thing' but there are many different sets of capabilities, called profiles, to choose...
Comments : PRO Members only. Login. or Join.

Related Reports

UK Installer CCTV Aware - Flat Pricing, No Salespeople on Apr 10, 2019
This is a different kind of company. They do flat pricing, they do not have any salespeople and 50% of their sales are sold and booked...
Spring 2019 IP Networking Course- Register Now on Apr 04, 2019
Register now for the Spring 2019 IP Networking course here. Just $299 for the course. This is the only networking course designed specifically...
Airship VMS Profile on Apr 03, 2019
Airship has been developing VMS software for over 10 years, however, with no outside investment, and minimal marketing, the company is not well...
Cambium Wireless Video Surveillance Profile on Mar 27, 2019
Cambium Networks, spun out of Motorola Solutions in 2011, says "outdoor durable radios are in their DNA" and they are targeting video surveillance...
Casino Security Consultant Carl Lindgren Interview on Mar 26, 2019
For more than 20 years, Carl Lindgren worked as a casino surveillance pro, while being active (and sometimes outspoken) on various online video...
Silicon Valley Cybersecurity Insurance Startup Coalition Profile on Mar 20, 2019
Many industry people believe cybersecurity insurance is not worth it, as the voting and debate in our Cybersecurity Insurance For Security...
ONVIF Favorability Results 2019 on Mar 15, 2019
In the past decade, ONVIF has grown from a reaction to the outside Cisco-lead PSIA challenge, to being the de facto video surveillance standard...
BCDVideo Expansion And Switch From HP To Dell Examined on Mar 11, 2019
BCDVideo says they have more than tripled revenue in the past 5 years and are continuing to grow, powered most recently by switching their lead...
Start Up Safe Zone $150 Gunfire Detector Profile on Mar 06, 2019
While gunfire detectors have been around for years, typically they are limited to enterprise level or municipal deployments. Startup AVidea, makers...
Prysm PSIM Profile on Mar 05, 2019
A decade ago, PSIM promised significant potential but has always suffered from significant problems. Now, a number of PSIMs have either gone out of...

Most Recent Industry Reports

Access Control Course Spring 2019 - Last Chance on Apr 19, 2019
This is the last chance to register for the Spring Access Control Course. IPVM offers the most comprehensive access control course in the...
Riser vs Plenum Cabling Explained on Apr 18, 2019
You could be spending twice as much for cable as you need. The difference between 'plenum' rated cable and 'riser' rated cable is subtle, but the...
Verint Victimized By Ransomware on Apr 18, 2019
Verint, which is best known in the physical security industry for video surveillance but has built a sizeable cybersecurity business as well, was...
Milestone Drops IFSEC on Apr 18, 2019
Milestone has dropped out of Europe's largest annual security trade show (IFSEC 2019), telling IPVM that they "have found that IFSEC in EMEA no...
The Fastest Growing Video Surveillance Sales Organization Ever - Verkada on Apr 17, 2019
Verkada has the fastest growing video surveillance sales organization ever. In less than 2 years, they already have more salespeople in the US...
Door Operators Access Control Tutorial on Apr 17, 2019
Doors equipped with door operators, specialty devices that automate opening and closing, tend to be quite complex. The mechanisms needed to...
Securadyne CEO: IPVM 'Entertaining For An Ignorant Few' on Apr 16, 2019
Securadyne's CEO Carey Boethel is unhappy with IPVM's report - Failed Integrator Rollup, Securadyne Sells to Guard Giant Allied. Indeed, he...
Dahua Repositionable IR Multi-Imager Camera Tested on Apr 16, 2019
Dahua has released their first repositionable multi-imager camera, the Multi-Flex 4x2MP, claiming integrated IR, true WDR, and flexible...
Strong ISC West 2019 For Manufacturers But Concerns For 2020 March Move on Apr 16, 2019
ISC West 2019 was strong for manufacturers, according to new IPVM survey results of 100+ manufacturers, consistent with 2018 results. However,...
Axis Supports HD Analog on Apr 15, 2019
In 2017, Axis declared 'Everything is IP': Now, in 2019, Axis has released support for HD analog, with their new encoders.  Why the change?...

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