H.264 Baseline vs Main Shootout (2012)

By: 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 Notified of Video Surveillance Breaking News
Get Notified of Video Surveillance Breaking News

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 : Members only. Login. or Join.

Related Reports

Video Surveillance Cameras 101 on Feb 25, 2020
Cameras come in many shapes, sizes and specifications. This 101 examines the basics of cameras and features used in 2020. In this report, we...
Glossary / Acronyms for Video Surveillance on Feb 10, 2020
This directory provides definitions and explanations for over 70 common video surveillance industry terms, including links to related IPVM...
Bandwidth Fundamentals For Video Surveillance on Jan 13, 2020
Bandwidth is the most fundamental element of computer networking for video surveillance systems. Because video surveillance can consume an immense...
IPVM Opens 12,000 Sqft Testing Facility on Dec 16, 2019
IPVM is proud to announce the opening of the world's first video surveillance testing facility that will allow us to significantly expand our...
Video Surveillance History on Jul 19, 2019
The video surveillance market has changed significantly since 2000, going from VCRs to an emerging AI cloud era. The goal of this history is to...
False Verkada 'Unrivaled' Low Light Performance Claim Removed on Jun 12, 2019
Verkada falsely claimed that it delivered 'UNRIVALED LOW LIGHT PERFORMANCE' until IPVM questioned. In fact, Verkada's low light performance is...
Smart CODEC Usage Statistics 2019 on Jun 03, 2019
Smart codecs are now nearly a standard feature in IP cameras, but our statistics show integrator adoption has not increased at the same rate. In...
Verkada Video Quality Problems Tested on May 23, 2019
Verkada suffers from numerous video quality problems, not found in commercial IP cameras, new IPVM testing of Verkada vs Axis and Hikvision...
Average Frame Rate Video Surveillance 2019 on May 23, 2019
What is the average frame rated used in video surveillance systems? In IPVM's 2011 statistics, the average was 6-8fps increasing to ~10fps in...
H.265 Usage Statistics on Apr 19, 2019
H.265 has been available in IP cameras for more than 5 years and, in the past few years, the number of manufacturers supporting this codec has...

Most Recent Industry Reports

YCombinator AI Startup Visual One Tested on Apr 02, 2020
Startup Visual One, backed by Silicon Valley's powerful Y Combinator, aims to be "Your 24/7 Watchman" with advanced analytics and object...
Free IPVM Memberships For The Unemployed on Apr 02, 2020
IPVM is giving 3-month free memberships (regular price $99) for the unemployed, no questions asked. To get it, just contact us, your request...
Dahua Faked Coronavirus Camera Marketing on Apr 01, 2020
Dahua has conducted a coronavirus camera global marketing campaign centered around a faked detection. Now, Dahua has expanded this to the USA,...
Video Surveillance Trends 101 on Apr 01, 2020
This report examines major industry factors and how they could impact video surveillance in the next 5 - 10 years. This is part of our Video...
USA's Seek Scan Thermal Temperature System Examined on Apr 01, 2020
This US company, Seek, located down the road from FLIR and founded by former FLIR employees is offering a thermal temperature system for the...
Terrible Convergint Coronavirus Thermal Camera Recommendation on Apr 01, 2020
A week after Convergint disclosed falling revenue, pay and job cuts, Convergint is touting 'extensive research' that is either grossly incompetent...
The IPVM New Products Online Show April 2020 Opens With 40+ Manufacturers on Mar 31, 2020
IPVM is excited to announce the first New Products Online show, with 40+ manufacturers, to be held April 14 to the 16th, free to IPVM members,...
USA's Feevr Thermal Temperature System Examined on Mar 31, 2020
This US company has burst on to the scene, brashly naming itself 'feevr' and branding itself as a "COVID 19 - AI BASED NON CONTACT THERMAL...
JCI Coronavirus Cuts on Mar 31, 2020
JCI has made coronavirus cuts, the company told employees in an email that IPVM has reviewed. Inside this note, we examine the cuts made, the...
Add Door Operators To Fight Coronavirus on Mar 31, 2020
IPVM recommends that integrators advocate and end-users consider adding door operators to fight the spread of coronavirus. This delivers...