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

Related Reports

Dahua 4K Camera Shootout on Aug 20, 2019
Dahua's new Pro Series 4K N85CL5Z claims to "deliver superior images in all lighting and environmental conditions", but how does this compare to...
Proactive CCTV "Only Affordable Video Archiving Solution" Profile on Aug 12, 2019
Proactive CCTV is claiming to offer "the only affordable video archiving solution on the market", reducing the storage typically required for H.265...
ProdataKey (PDK) Access Company Profile on Aug 09, 2019
 Utah based ProdataKey touts low cost cloud access, wireless controllers, and no dealer required national distribution availability.  But how does...
Razberi Technologies Company Profile on Aug 06, 2019
Razberi says they have doubled their revenue in the first half of 2019, citing their proprietary camera hardening and cybersecurity capabilities...
Hikvision 4K Camera Shootout on Aug 02, 2019
With their latest Smart Series 5 cameras, Hikvision is claiming cameras "fully loaded" with "state-of-the-art technology for high performance and...
Online Video Surveillance Sales Comparison - Amazon, B&H, CDW, LTS, Super Circuits, More on Jul 31, 2019
IPVM has uncovered the key trends and top options being offered across commonly used surveillance sellers. How has the market shifted since we...
Ionodes Company Profile on Jul 31, 2019
What happened to Ionodes? With seasoned leadership from Jean-Paul Saindon founder of SmartSight and Dr. Michael Gilge, founder of VCS, back in...
Australia Security Full Show Report on Jul 25, 2019
IPVM went to Australia attending the 3 days of the Australia Security Exhibition: This was held at the ICC Sydney, as shown below: In this...
How To Quickly Research An Unknown Company on Jul 23, 2019
There are hundreds of companies in the physical security markets, ranging from a flood of new startups to small companies that may or may not be...
Avigilon ACC7 VMS Tested on Jul 22, 2019
Avigilon's Control Center 7 boldly claims it will "transform live video monitoring" with the new Focus of Attention "AI-enabled" interface. We...

Most Recent Industry Reports

Uniview Beats Intel In Trademark Lawsuit on Aug 19, 2019
Uniview has won a long-running trademark lawsuit brought by Intel, with Beijing's highest court reversing an earlier Intel win, centered on...
Suprema Biometric Mass Leak Examined on Aug 19, 2019
While Suprema is rarely discussed even within the physical security market, the South Korean biometrics manufacturer made global news this past...
Verkada People And Face Analytics Tested on Aug 16, 2019
This week, Verkada released "People Analytics", including face analytics that they describe is a "game-changing feature" that "pushes the...
Dahua OEM Directory 2019 on Aug 16, 2019
US Government banned Dahua OEMs for dozens of companies. The following directory includes 40+ of those companies with a graphic and links to...
Installation Course - Register Now on Aug 15, 2019
Register Now for the September 2019 Video Surveillance Install Course. This is a unique installation course in a market where little practical...
Axis Suffers Outage, Provides Postmortem on Aug 15, 2019
This week, Axis suffered an outage impacting their website and cloud services. Inside this note, we examined what happened, what was impacted...
Hikvision Scrutinized In The Netherlands on Aug 15, 2019
Hikvision is facing unprecedented scrutiny in the Netherlands, at the same time the US government ban has taken effect. This week, a Dutch...
Axis 4K Camera Shootout 2019 on Aug 14, 2019
Axis' 4K Q3518-LVE claims the "best video quality possible", with Lightfinder super low light performance, Axis' high end Forensic WDR, and...
CheckMySystems Company Profile on Aug 14, 2019
CheckMySystems says that too many users respond, "I get an email when something is wrong" when talking about their video system maintenance plan,...
Hikvision OEM Directory on Aug 13, 2019
The Chinese government-owned and US-government banned Hikvision has become the world's largest video surveillance manufacturer and generally hidden...

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