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 on Bandwidth

VMS Server Sizing on May 25, 2018
Specifying the right sized PC/server for VMS software is one of the most important yet difficult decisions in IP video surveillance. In the past...
Axis 12MP Stereographic Camera Tested (M3058-LVE) on May 10, 2018
Axis has released the M3058-PLVE, a 12MP sensor, stereographic panoramic camera and Axis' first with integrated IR claiming images "sharp to the...
Last Chance - May 2018 Camera Course on May 03, 2018
This is the last chance to register as the course starts next week. This is the only independent surveillance camera course, based on in-depth...
IP Network Hardware for Surveillance Guide on May 02, 2018
Video surveillance systems depend on IP networking equipment. In this guide, we explain the key pieces of equipment and features, explaining where...
Hikvision DarkfighterX Vs Darkfighter PTZ Tested on Apr 26, 2018
Hikvision has focused on improving low-light performance for PTZs, an area that has traditionally been a problem, even more so than fixed cameras,...
April 2018 IP Networking Course on Apr 19, 2018
This is the last chance to register for our IP Networking course. Register now. NEW - 2 sessions per class, 'day' and 'night' to give you double...
Wireless Networking For Video Surveillance Guide on Mar 29, 2018
Wireless networking is a niche in video surveillance applications, but it can be a difficult one to understand with proper wireless design,...
Cellular (4G / LTE / 5G) For Video Surveillance Guide on Mar 06, 2018
In this report, we explain using cellular for video surveillance including: 4G vs LTE vs 5G 4G standards 5G future Advantage: Placing cameras...
Next Gen 5MP / 6MP Camera Shootout (Axis vs Dahua vs Hanwha vs Hikvision) on Feb 28, 2018
Many manufacturers have released new generation 5MP / 6MP cameras that tout super low light, WDR and other features historically typical in 1080p...
Hikvision 6MP Camera Tested (DS-2CD4565-IZH) on Feb 27, 2018
In the next installment of our ongoing testing of 5MP/6MP cameras, we test the Hikvision DS-2CD4565F-IZH, a 'Smart Series' vandal dome combining...

Most Recent Industry Reports

VMS Server Sizing on May 25, 2018
Specifying the right sized PC/server for VMS software is one of the most important yet difficult decisions in IP video surveillance. In the past...
China: Foreign Video Surveillance Is Security Risk on May 25, 2018
The Chinese government has long acknowledged that foreign video surveillance is a 'risk to national security' and has increasingly and almost...
US House Passes Bill Banning Gov Use of Dahua and Hikvision on May 24, 2018
Today, the US House of Representatives passed H.R. 5515, a bill that includes a ban on the US government's use of Dahua and Hikvision. This follows...
Hanwha Wisenet X Analytics and VMD Test on May 24, 2018
Continuing our updated testing of camera analytics, we tested Hanwha's Wisenet X analytics for over two weeks in multiple scenes, indoors and out,...
Ambitious Mobile Access Startup: Openpath on May 24, 2018
This team sold their last startup for hundreds of millions of dollars, now they have started Openpath to become a rare access control small...
Amazon's "Dangerous New Face Recognition Technology" Says ACLU on May 23, 2018
The ACLU has caused a stir, with a new report Amazon Teams Up With Law Enforcement to Deploy Dangerous New Face Recognition Technology,...
Software Only VMS vs NVR Appliances on May 23, 2018
Should you buy your own PC/server and load VMS software on it or get a turnkey appliance (both hardware and software, e.g., NVR, Hybrid DVR) from a...
Buy Arecont: Top Bid $10 Million Cash on May 22, 2018
Last year, Arecont had a deal for a purchase price of $170 million (see Failed Arecont China Acquisition). This year, Arecont has a deal for a...
Installing Box Cameras Indoors Tutorial on May 22, 2018
This tutorial starts our physical installation for video surveillance series, starting with Box Cameras, one of the oldest and most basic types....
The Hikvision Smart Classroom Behavior Management System on May 22, 2018
Hikvision's rapidly growing offering of analytics, which we most recently examined with Hikvision's ethnic minority analytics, is now going into...

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