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

Axis 'Sold Out' P3707-PVE Multi-Imager Tested on Oct 18, 2017
Axis faced significant product shortages over the summer. Perhaps the most notorious and significantly sold out model was the Axis P3707-PE 8MP...
Geovision GV-EDR2100 Tested Vs Hikvision on Oct 16, 2017
A number of ADI's top selling IP cameras are, at least surprisingly to us, from Geovision. We recently bought and tested the Geovision EDR2100...
Last Chance October Camera Course Registration on Oct 05, 2017
This is the last chance to register for the October Camera Course. Register now. Learn video surveillance and get certified. IPVM provides live...
Geovision 4MP Super Low Cost Turret Tested (EBD-4700) on Sep 29, 2017
~$100 cameras, even for 4MP, are now expected by many dealers, as price cuts and ongoing sales have set this expectation. At the same time, many...
Integrator Camera Optimization Preferences on Sep 27, 2017
How do integrators make cameras 'better'? What settings or optimizations do they change? ~150 integrators told IPVM what they do. First, they...
September IP Networking Course on Sep 14, 2017
LAST Chance - Registration is ending. Register now. This is the only networking course designed specifically for video surveillance professionals...
Dedicated Vs Converged IP Video Networks Statistics on Sep 12, 2017
'Convergence' has been a major industry theme for many years. All organizations have IP networks today with laptops, tablets, phones and more...
Dahua 4K IR PTZ Tested on Aug 21, 2017
4K has made its way to IR PTZs. In this report, we examine the Dahua 6AE830VNI, a 4K PTZ with 30x optical zoom, 200m (~650') integrated IR, and...
Sony Next Gen HD Dome Camera Tested (SNC-EM642R) on Aug 18, 2017
Sony has released their latest generation, claiming improved WDR and low light, increased IR range, and more. We tested the SNC-EM642R outdoor IR...
Cat 5e vs Cat 6 vs Cat 6a Network Cable Usage Statistics on Aug 16, 2017
Cat 5e? Cat 6? Cat 6a? What do integrators use in practice, today? 140+ integrators told IPVM. Here are the results: For those who want to...

Most Recent Industry Reports

Hikvision Access Control Tested on Oct 19, 2017
Hikvision aggressive pricing and marketing combined with generally reliable hardware and free software has made them a major player in video...
Verkada, Silicon Valley VSaaS Startup, Targets Enterprise on Oct 19, 2017
Verkada says they are building an enterprise-class VSaaS offering, calling it "The new platform for video security". This is a departure from the...
Exacq Unbreaks Avigilon Integration on Oct 18, 2017
For nearly 4 years, Exacq had broken and effectively blocked use with Avigilon cameras, as IPVM reported in January 2014. Now, Exacq has...
Search More Important Than Live Monitoring - Statistics on Oct 18, 2017
Search is overall more important than live monitoring to integrators, according to new IPVM statistics.  The key themes found in integrator...
Axis 'Sold Out' P3707-PVE Multi-Imager Tested on Oct 18, 2017
Axis faced significant product shortages over the summer. Perhaps the most notorious and significantly sold out model was the Axis P3707-PE 8MP...
Dahua Removes Auto Rebooting on Oct 17, 2017
For years, Dahua has automatically programmed its IP cameras to reboot weekly, a highly atypical and questionable practice. Following IPVM...
Deep Learning Tutorial For Video Surveillance on Oct 17, 2017
Deep learning is a growing buzzword within physical security and video surveillance. But what is 'deep learning'? In this tutorial, we explain...
Multipoint Lock Access Control Tutorial on Oct 17, 2017
Doors are notoriously weak at stopping entry, and money can be misspent on wrong locks that leave doors quite vulnerable. While closed and locked...
Buy From B&H, Ship Direct From ADI on Oct 16, 2017
B&H, one of the largest online sellers of video surveillance equipment to end users, regularly purchases their video surveillance equipment...
Competing Against Siemens on Oct 16, 2017
Siemens entered the integration business with 15,000+ customers, through their acquisition of Security Technologies Group in 2001. Since that time,...

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