Test: H.264 I vs P Frame Impact

Author: Ethan Ace, Published on Oct 02, 2013

Codecs like H.264 reduce bandwidth by only sending full frames every so often, mixing them with partial frames only capturing changes in between the full ones. They are called 'I' frames because they are the initial / full frames, followed by 'P', or predictive frames.*

Note: if you are not familiar with codecs, please read our Surveillance CODEC Guide before continuing.

I Frame Questions

Since I frames require much more bandwidth than P frames (frequently 10 or 20x more), some will argue that reducing the rate of I frames will reduce overall bandwidth significantly. For instance, instead of having an I frame each second, reduce it to 1 every 5 seconds.

On the other hand, some will argue that reducing I frames can result in quality problems because it can be harder for the processor to continue to faithfully update and represent the image if it has changed significantly since the last I frame.

We seek to answer these two questions:

  • How much bandwidth savings can you achieve by reducing the I frame interval?
  • How much quality degradation can occur by reducing the I frame interval?

The Tests Conducted

In order to answer these questions, we used five 720p cameras at various price points and performance levels:

  • Avigilon H3 1MP
  • Axis M1114
  • Axis Q1604
  • Bosch NBN-733V
  • Dahua HF3101

We aimed these cameras at a toy train set to create consistent motion, and varied I-frame levels from a default of one per second to as high as five and as low as one every four seconds.

*Some versions of H.264 also support 'B' or bidirectionally predictive frames, but these are less common in surveillance cameras and therefore excluded from this study.

****** **** *.*** ****** ********* ** **** ******* **** ****** every ** *****, ****** **** **** ******* ****** **** ********* changes ** ******* *** **** ****. **** *** ****** '*' frames ******* **** *** *** *******/ **** ******, ******** ** '*', ** ****************.*

****: ** *** *** *** ******** **********, ****** **** *************** ***** *********** **********.

I ***** *********

***** * ****** ******* **** **** ********* **** * ****** (frequently ** ** *** ****), **** **** ***** **** ******** the **** ** * ****** **** ****** ******* ********* *************. For ********, ******* ** ****** ** * ***** **** ******, reduce ** ** * ***** * *******.

** *** ***** ****, **** **** ***** **** ******** * frames *** ****** ** ******* ******** ******* ** *** ** harder *** *** ********* ** ******** ** ********** ****** *** represent *** ***** ** ** *** ******* ************* ***** *** last * *****.

** **** ** ****** ***** *** *********:

  • *** **** ********* ******* *** *** ******* ** ******** *** I ***** ********?
  • *** **** ******* *********** *** ***** ** ******** *** * frame ********?

The ***** *********

** ***** ** ****** ***** *********, ** **** **** **** cameras ** ******* ***** ****** *** *********** ******:

  • ******** ** ***
  • **** *****
  • **** *****
  • ***** ***-****
  • ***** ******

** ***** ***** ******* ** * *** ***** *** ** create ********** ******, *** ****** *-***** ****** **** * ******* of *** *** ****** ** ** **** ** **** *** as *** ** *** ***** **** *******.

***** ******** ** *.*** **** ******* '*' ** *************** ********** frames, *** ***** *** **** ****** ** ************ ******* *** therefore ******** **** **** *****.

[***************]

Key ********

***** *** ******* *** ********* **** **** ****:

  • ********** *-***** ********* ******* ** ******* ***** ******* ***********, *** a ***** ******** ** ********* ***********. ********* ** **-**% **** common **** ******** *-****** **** * ** * *** ******, while ********* ** **-**% **** ******** **** ****** **** * to *.
  • ********** *** ****** ** *-****** *** ****** ******* ** * significant ********* ** ***** ********** ****** *******, *** * **** ***** **** ** *********. ****** **** one *-***** *** ****** ** *** ***** *** ******* ********* bandwidth ** *-**%. **-**% ********** **** **** **** ******** *-****** to *** ***** **** *******.
  • ***** ********* ********* ********* ** *-***** ******** *********, *** **** versa, *** ***** ****** ** **** ****** ****** ****** ************* and ****** **** *** **** ************. 
  • **** ******'* *-***** **** ******** ********** ********** ** *-***** ********.
  • *** ***** ***-**** *** *** **** ****** ** **** **** that *** *** ******** ********* **** *** ****** ** *-******. Instead, *** ****** *********************, ******* *** ****** **** ********. *******, ******** *** ****** of *-****** ******** ** ********* ********** ******* ** ***** *******.
  • *** ***** ****** *** *** ***** *** **** **** *** I-frame *** ******, ****** ****** ***** **** ********.

Image ******* ******

** **** *****, ** **** *-***** ********'* ****** ** ***** quality *** ** ******* ******* *************. ********* ****** *******:

  • * *-***** *** ******
  • *.* *-****** *** ******
  • * *-****** *** ******
  • * *-***** ***** * *******
  • * *-***** ***** * *******

***** ****** **** *** ******* ********* ** ***** ******* ** the ****** ** *-****** ** *******, ** **** ** *** minimal ***** **** **********.

Bandwidth ****** 

**** ********** *** **** ******* * ******, ********* ******** ****** all *******, *** ********, ** ***** ** **** *****:

*** ***** ***** ***** *** *** ******* *** ***** ***********:

** ********, ********** *** ****** ** * ****** ** **** there **** ******** **** ** * ******, ************* ********* *********:

 

**** ***** ***** *** *********** ** ********* **** ********** **** one *-***** *** ****** ** *.* *** *. ***** **** Dahua *** *** ***** *** ****** *****, ** *** ******** from ***** *****. ****, *** *** ***** ***** *****'* *********/*********** performance.

P-frame *********/****

*** ****** *****, ***** *************, *********** *** ******:

  • *****, **** *** ********** ******** ** *-****** ** **** ***** (moving **** **** ** *****). *-****** *** ***** ** *** taller **** *****, ***** *-****** *** *****/***.
  • ******, *** *-***** **** ** **** ****** ******* ********** ********** regardless ** *-***** ********. **** *** **** ** **** *** relatively *** ****** ***** ****, *** ** * **** ****** scene ******* **** * ***** *****.

Bosch ***-*** *********** 

****** *** ***** ******* ** *** ****, *** ***-**** *** not ******** ********* **** *-***** ******** *** *********, ******* ******* approximately ****** ****** * **/*. ******** **** ****** ** * stream ********, ** ********** **** *** ****** *********** *** *** additional *-****** ************ ************. ******* ************ *** ** *******:

  • * *-***** *** ******: ~** 
  • *.* *-****** *** ******: ~**
  • * *-****** *** ******: ~**

**** **** ************ ******** ********* **** ****** **** *** *-***** per ****** ** *** ***** *** ** **** *******, ****** around **.

Comments (14)

"********** *** ****** ** *-****** *** ****** ******* ** * significant ********* ** ***** ********** ****** *******, *** * **** ***** **** ** *********"

*** **** * ********** *** ***** ******* ***** ******* ********* on *** ******** ** *-****** ? ** **** * ***** is ******** *** ********** **** *** **** * ** * frame, *** **** ******** *** *-****** ****** ***** ******* ? Are *** ****** **** ********** ****** *** ******* ? *** you **** ****** ** ********** ****** ******** ******* ******** *** Constant ******* ******** ?

* ****** *** ********* ***** ******* **** * ****** ***** they're ***** ***** ****** ** *********, ** ******* ** ***** a **** ******* ** * ****** ***. ** ******* *** artifacts *** *** ****** ****** *******, ***** *** ********** ** what ** ******* ** **** * ***** (*** ****** ******(*)) is *********. ** ** **** ***'** *** *** ******** ***** grow ****** *** ******.

** ** ********** ****** *** *******, ** **** ** *** and ***. ***** ***, ********* **** ******** *** ******** ** you ***** *** ***** * ***** *********. ***** ***, *** camera ****** ** **** ** *** * ******** ***** ************ level ** *** ****** * ******, *** ***'** ***** *** artifacts **** * ******.

**** **** ** ****, **** ****** ** *** ** **** straight ;) ** *** ********* **** ***** ** **** *** span ** *** *** ******* **** * ***** ** '**********' what ******* **** *** * *****. *** '**********' ** **** encoded/compressed ***** ** ****** **** ********** *********. ??

**** ** *******. ** ** *** **** * *** ****** through * *****, *** *******, *** ******* **** *** *** car ** * ******. ** ** ***** *** ****** ***** of *** ********** **** *** ******** *****, *** ********* **** the ******* ***** (*** ***, ** **** ** ***** *** car **** ** **, ***** ** *** ***** *****). **** will ***** ** *******, ******* ******* *** ** ******. *** since ********** * ****** ********* *** ******** * ***** *** changes, ** **** ******** ***** ***** *** **** * ***** is ****, ***** *** *** *** ** * "********" ** the *****.

*** **. ***** ****** ******* *** ******* ***** **** ********** before. *** *** ***** ** ********* **** ***** **** *-****** set ** * *** *********.

* ****** * ***** ********* ** ****** *** *** *******, so ********* *** ***** *** *** * ******* *******. *******, some ******* ** ***** *** ** '*****' **** ****** * frame *********.

**** ****** *** ****** *** ** ********* ***** ** *** report **** ***** **** ** ***** **** **** ****** *** comparisons. ***** ******* *** ****** ** ***** ***** *** **** for ***** ************?

** *** *** **** ******* ** ******* *** *** **** flexible ************* ** ******/***** * ***** *********. *'** *** * note ***** *********, ******, ******.

******. ** **** ***** ******* *** *** ********** ** ***** when ******* *** *******.

**** ***** ******* *** *-****** ********* ** ***** ******* *** bandwidth?

**** ****** ** *********** * ****.

*********** ******, *****. *** *** ******** *** ***** ** **** experiment? *'* ********* *** **** ********* (** ***** ** *** usage %) ********** *** ******** *** *-***** ******** ***** ****.

** ****'* ********* ******** **. *** ******* ** ***** *** in ***, **'* ******** ** ****. *** ********** ******* * I-frame *** ****** *** *, *** *******, ** *** ******* CPU *****, ** ****. ******** **** * *** ****** ** 1 ***** * ******* ********* ** ** *** ** ****. Those *** *** **** ******* ********, *** *** ******* *** practically **********.

*********** ********.

* ***** **** ** *** ***-********* *********** ** ****** ******* - **, ** ******. *.*** ********** - ***** ** *** typical ******** **** ********** ** ***** *******. **** ** ******* worse, ** **'* *** ******** **** ******* *** ****** **********. And, **** ***** ***** ***** *** **** **** ****** ******** hours *** ***** *******-******** ************, ** *** ***'* *** *** the ********* - ****** ****** ** *** *** ****. ***, try ** ******* * ******/***** *** *******.

* *** * *** ** '*************' **** *********** *** ***** rates, *** ********** *** *** *** ******** ******** ***** *** user ********* ** *** *** ***** ******* ******** (****) ** (I-frame ********, **
*** ****, ** ******** *** ****** ************ ***** **). ** particular, *********'* ***-********** ********* *** *** **** ** * ******* of * ***** *** ******. **, ** *** ***** ***** - ***, * *** - ****, ****'* ****, *** **** I-frame *** ******, *** * *** ** **** *** **** image. ***** *** ****, **'* ***** **** ******* *** ****** won't *** ** ******!

***** *** ********* (***** *******, *****, *** *******) ** ****** keep *** ****** ******** (** *********) ****** ** *** ***** steam *********. *'** **** ****' '*******' *** **** ** ** (1 *-***** *** ** ******, ** * ********** **) ** 1 *** *** *** ***** ********** *******, *** ****** **** little ****** ****** - ** ********** ******* ****** *******,*** *******. The *********** ** *** ** *** '******' ***** ** *** image, ** *** ****** ** ******** - *** ****** ******* - ** ****** **** ******* ** *** *-*****, **** ** 1 ***. ** ****, * ***** *** * ******** '********' about *** ***********, *** ** ******* ** ** '****-*********' ** subsequent *-******. * *** **** ** *** *-* *** ******* at * *** **** ** ** ******* ** ***-****** *** static ******, *** ******* ** ***-****** ** * *** ** motion *******. ****** ********** - ****** ** ***** **** * T1. ********* *** ********* ***** *** ********* (***** *****), *** other ******** ******** **** *** *******, ** * ***** *** the '**** *****' ** ********* ***********, *** *** *** ****** 1.5Mbs.

******, * **** ** ***** ******* *** ***** ******* **** impacted ** *** ********* (***** *** ****** ************ *******/****** **********) which ********* * ********* *** ** ******** *** * *** bandwidth ***********, (*** **** ****) *** **** *** **** ********** in ** ********.

****-**** **** ** **** **** **** *** *** ** ******** pulling ******* ** *** **** (*-***** *****) *** ***** ** is....

***** ** * *** ** **** *********** **** **** ***** be ******* **** ******* * ****** *** **. * ***** it *********** **** ******** ***-**** ********* *** *** ******** **** *** ****** ** I ******, *** ******** *** ************.*'** ***** ****** **** * ***** ******, *** * ****** if ***** *** ***** ******* **** ******* **** **** ********.

Login to read this IPVM report.
Why do I need to log in?
IPVM conducts unique testing and research funded by member's payments enabling us to offer the most independent, accurate and in-depth information.

Related Reports on Bandwidth

Camera Course Summer 2017 on May 25, 2017
Learn video surveillance and get certified. IPVM provides live online classes, recorded videos, personal help, cutting edge education and...
48MP 180 Camera (Digital Watchdog) Test on May 10, 2017
Camera resolution continues to advance, with Digital Watchdog offering the MegaPIX PANO 48MP 180° camera, the highest resolution mainstream camera...
Last Day - IP Networking Course May 2017 on Apr 26, 2017
Today is the last day to register for the May IP Networking Course. This is the only networking course designed specifically for video...
Hanwha Lowest Cost WiseNet X Camera (XND-6010) Tested on Apr 13, 2017
IPVM bought and tested the lowest-cost WiseNet X model, the indoor 2MP fixed focal XND-6010 dome, continuing our testing of Hanwha's new WiseNet X...
Pelco Surevision 3 Tested on Apr 12, 2017
Pelco has released generation 3 of its Surevision cameras, claiming improved performance in both super low light and WDR performance. We bought...
TVI 4.0 Doubles HD Analog Bandwidth on Mar 05, 2017
HD analog's move up market continues. Starting a few years ago at just 720p, HD analog is now poised for 4K and beyond. Techpoint, the company...
Arecont Vision MicroDome Duo Tested on Feb 14, 2017
Arecont Vision is back with another multi-head camera, this time thinking smaller with the MicroDome Duo, a two-imager model, with the tagline...
Arecont Lowest Favorability Results on Jan 25, 2017
Given Arecont is 3 time defending integrator choice for worst camera manufacturer, it should be little surprise they had the lowest score in the...
Avigilon Pro 4K Camera Tested on Jan 03, 2017
Avigilon is best known for their large sensor, high megapixel cameras. But with new offerings from Sony and soon Axis, the questions is how well...
IP Networking 2017 Book Released on Jan 02, 2017
The new IP Networking Book 2017 is a 197 page in-depth guide that teaches you how IT and telecom technologies impact modern security systems. The...

Most Recent Industry Reports

Milestone Entry Level Mobile Password Vulnerability Disclosed on May 24, 2017
While many manufacturers have only addressed cybersecurity vulnerabilities after public disclosures were made (or threatened), Milestone has...
How Integrators Use IPVM on May 24, 2017
150 integrators explained how they use IPVM and how it helps them stay informed and improve their business.  The 4 main uses integrators cited for...
Alarm Supervision Guide on May 24, 2017
Burglar alarms can constantly monitor the health of attached circuits, sensors, and devices to ensure that they remain operational. This is known...
Arlo Go Cellular Cloud Camera Tested on May 23, 2017
Totally wireless surveillance cameras are growing but almost all typically depend on a hub and local Internet access. However, many outdoor...
Avigilon New COO James Henderson Profile on May 23, 2017
It has been nearly 2 years since the infamous Bryan Schmode 'resigned' as Avigilon COO. Now, Avigilon once again has a COO, promoting James...
Hikvision Marketer Caught Spamming, Fails at Coverup, Fired on May 23, 2017
A Hikvision marketing employee was caught by IPCamTalk trying to surreptitiously disparage IPVM and IPCamTalk. This is an outgrowth of Hikvision's...
Aura's 'Invisible Ripple' Next Gen Intrusion Detection Tested on May 23, 2017
Aura Home is a startup intrusion detection system, but it claims new, high-tech sensing that monitors the 'invisible ripples' movement creates,...
Pelco Shutting Down Clovis Line, Laying Off 200 on May 22, 2017
Pelco's Clovis facility once turned out some of the industry's most popular products. Now, the facility is mostly building "obsolete" equipment,...
IP Camera - 15 Year Shootout on May 22, 2017
How far have IP cameras come? We bought and tested 4 cameras across the past 15 years to understand how much and where performance has...
Remote Video Monitoring Providers Directory on May 21, 2017
Remote video monitoring can help integrators generate RMR plus end users lower their security costs and/or improve response to critical...

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