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

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...
LAST DAY - Camera Course Winter 2017 on Feb 02, 2017
Learn video surveillance and get certified. IPVM provides live online classes, recorded videos, personal help, cutting edge education and...
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...
IP Networking Course January 2017 on Jan 12, 2017
This is the only networking course designed specifically for video surveillance professionals plus it includes live training, personal help and...
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...
Hikvision No on H.265 But Pro On H.265+ on Jan 02, 2017
Hikvision said H.265 was a 'solution in search of a problem' a half year ago but now they are getting bullish, embracing H.265+. In this report,...
Surveillance Cameras 2017 Review on Jan 02, 2017
This report concisely explains the developments and most common options for surveillance cameras offered in 2017, including resolution, H.265, HD...
Calculating Video Surveillance Storage / Bandwidth on Dec 29, 2016
Calculating surveillance bandwidth is complex, and inexperienced users can easily underestimate bandwidth, leading to reduced storage durations...

Most Recent Industry Reports

Everbridge Mass Notification Service Examined on Mar 24, 2017
Everbridge is expanding in the security space. In January 2017 Everbridge acquired PSIM platform IDV, and have also begun integrating with other...
Hikvision Removing Auto 'Phone Home' on Mar 24, 2017
Facing pressure over their cameras auto phoning home and their Chinese government ownership, Hikvision has begun quietly removing automatic...
Axis Camera Vulnerabilities From Google Researcher Analyzed on Mar 23, 2017
A Google security researcher has reported 6 vulnerabilities for Axis cameras, affecting multiple models and firmware versions. In this report, we...
OpenEye Takes Aim At Exacq on Mar 23, 2017
First Milestone targeted Exacq with a takeover offer, and now OpenEye is gunning for them with an offer to swap out Exacq for their cloud-managed...
Lock Keyways For Access Control Guide on Mar 23, 2017
Lock keyways can be the difference between a lock working or not. Understanding keyways is important for access control. Indeed, a member recently...
Broken Browser Support for Video Surveillance on Mar 22, 2017
Modern web browsers have left the security industry behind. Current Chrome, Firefox, and Microsoft Edge browsers do not support NPAPI plugins,...
ADI Favorability Results on Mar 22, 2017
150 North American integrators provided feedback on 6 distributors, and why they do (or do not do) business with ADI. ADI is clearly a big name in...
1 Million Dahua Devices Exposed To Backdoor on Mar 22, 2017
Statistics show that 1 million Dahua devices are publicly exposed and vulnerable to the Dahua backdoor. Despite this, Dahua has downplayed the...
Hikvision Hires Crisis Communication Writer on Mar 21, 2017
Hikvision has hired a crisis communication writer as the company ramps up its efforts to deal with the 'crisis' it feels it is facing. 'Crisis...
Glass Break Sensor Tutorial on Mar 21, 2017
Burglars often break glass windows to get into a house. Using glass break detectors in conjunction with alarm contacts is a good way to protect the...

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