Video Quality / Compression Tutorial

Author: IPVM Team, Published on Oct 17, 2018

While CODECs, like H.264, H.265, and MJPEG, get a lot of attention, a camera's 'quality' or compression setting has a big impact on overall quality. In this training, we explain what this level is, what options you have and how you should optimize it.

To start, review these two images, (A) and (B):

camera a camera b

And answer this question before continuing:

With the information presented, the best answer is that it cannot be determined. We used the same camera for each image and simply increased compression for the 'B' image (while keeping everything else the same, including resolution and codec).

The fact that two exact shots with the same resolution can look significantly different has a number of important implications. Inside, we explain why, covering:

  • Quantization levels
  • Bandwidth vs. quality loss
  • Image quality examples
  • Manufacturer differences
  • MBR/VBR/CBR impact
  • Smart codec impact
  • Recommendations

Quantization Levels

Regardless of codec used (H.264, H.265, MJPEG, etc.), all IP cameras offer quality levels, often called 'compression' or 'quantization'.

H.264 and H.265 quantization is measured on a standard scale ranging from 0 to 51, with lower numbers meaning less compression, and thus higher quality. If this seems counter intuitive to you, it is understandable, but these are simply the measurements defined in H.264 and H.265 standards.

Key Tradeoff: Bandwidth Vs. Quality Loss

The key tradeoff in setting quantization is determining how much 'loss' you are willing to accept for a particular decrease in bandwidth. All production surveillance video compression is 'lossy', meaning that some information will be lost when video is compressed, making a crucial configuration decision:

***** ******, **** *.***, *.***, *** *****, *** * *** of *********, * ******'* '*******' ** *********** ******* *** * big ****** ** ******* *******. ** **** ********, ** ******* what **** ***** **, **** ******* *** **** *** *** you ****** ******** **.

** *****, ****** ***** *** ******, (*) *** (*):

camera a camera b

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

**** *** *********** *********, *** **** ****** ** **** ** cannot ** **********. ** **** *** **** ****** *** **** image *** ****** ********* *********** *** *** '*' ***** (***** keeping ********** **** *** ****, ********* ********** *** *****).

*** **** **** *** ***** ***** **** *** **** ********** can **** ************* ********* *** * ****** ** ********* ************. Inside, ** ******* ***, ********:

  • ************ ******
  • ********* **. ******* ****
  • ***** ******* ********
  • ************ ***********
  • ***/***/*** ******
  • ***** ***** ******
  • ***************

Quantization ******

********** ** ***** **** (*.***, *.***, *****, ***.), *** ** cameras ***** ******* ******, ***** ****** '***********' ** '************'.

*.*** *** *.*** ************ ** ******** ** * ******** ***** ranging **** * ** **, **** ***** ******* ******* **** compression, *** **** ****** *******. ** **** ***** ******* ********* to ***, ** ** **************, *** ***** *** ****** *** measurements ******* ** *.*** *** *.*** *********.

Key ********: ********* **. ******* ****

*** *** ******** ** ******* ************ ** *********** *** **** 'loss' *** *** ******* ** ****** *** * ********** ******** in *********. *** ********** ************ ***** *********** ** '*****', ******* **** **** *********** **** ** **** **** ***** is **********, ****** * ******* ************* ********:

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

  • ******** ***********/***** *** ******* ***** *** *** **** ** *********, but ****** *******.
  • ******** *******/****** *********** *** *** *** **** ****** *******, *** use **** ********* *** ****** ******* ****.

Demonstrated ** ********

*** ***** ***** ***** *** ****** ** ******** ******* ******. In ***** ** **** ****, ** **** ******** **** *** scenes (****** / ****** *** ******* / *******) *** ******** bitrate. *** ************ ****** *** ** **** ********** ** **** scenes ** ******* **** **. *********, ***** ******* *********, **** less ********** *** ******** ** *******.

Manufacturer **********

*** ************* *** ******* ******* ******. **** ** *** ***** touch ***** ********, *** ************ **** **** * ****** *** you. *******, **** *** **** ******** ** ************ *******, ************* options *** ********* ** *** ******** ***** ****** ****.

*****, ** **** ** * *** ************* ** ****** *********** their **********. *******, ******* ****** *** ***** ****** ************ *********** ************** *** **** ******* ** **+ ************* *********** ****** *** how ** ******* ***** ******* ** "*******" ***********. ** ******* from ****:

Axis *** **. *** *** *********

**** **** *** ********* *** **********. **** ******* ******* *** use ********** ***** ******* *** **** *********** *** **** *** ******* ******* ******* for *.***/*.*** *****. **** *** *** *** *** *** ***** to ******* ** "***********", **** ****** ******* ***** **** **********/***** bandwidth. ****** ** ****, ** ************* ***** *** ****** ******** the ***** ******** ** ********* ***** *******.

*** *** *** ********* **** * ******/****** *****:

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

********** ** ***** ** ** ****, **** *********** ** ******* to ~** ** *** ************ *****.

*****

*****'* ***** ***** ***** ************ ** *-******, **** *-****** ******* to **** ** * ******** ****** ("*/*-***** ***** **" *****). So ** *-****** *** *** ** ** *** *-****** *** to -*, *-****** **** *** * ******* ** ** ************. This ***** ** ******** ** ******* ************ ** * ******** level, ********* **** ***** *** ***** ** * ***** ***** to ******.

callouts

*********

*********'* *********** ******** *** ***** *** *****/***** ***, ** * scale ** "******" (**** ***********) ** "*******" (***** ***********), ********** to "******." ***** ******** *** ****** ** ******** ************ ******, ranging **** ~**-**. ***** ******** *** ************* ************ ****** *** the **** ***** **** *.*** *** *.***.

Important: ***/***/*** ******

**** ************ *********** *** ******** *** **** ********* (***), ***** varies ********* ** ***** ** ******** * ***-*** ******* *****, sometimes **** * ******* *** **** *** (****** ***). *** levels *** ***** ****** *** ************ ***** *** ****** ** targeting, *.*., ** **** ****** **** ****** ************ ***** **, with ******* ********** *** ********** ** *********.

*******, ** ******* *** *** ** ******** *** ****, ******* level ** *** ************ ******* *** *** ****, ** ********** is '********', **** ******* ***** ************* ******** ** **** ********* the ****. *** ********, ** *** **** * *** ***** stream *** ** ***/* ******* ** * ***** ****, *** camera *** *** * '****' ******* ***** ***** ** ** easy ** ********. *******, ** *** ****** *** ****** *** and * **** ** ***** ** ***** ** *** ******, it *** **** ** **** **** ** '***' ******* ** maintain *** **** ***/* ******** *** **** ** *********** ** more *********.

*** **** ** *** *** ****** ** ***** ********* *****, see ****** ** *** ** *** - ************ *****************.

Smart ***** ******

***** ************ ******** *** ************ ***** ****** ********* ***** ** *** image / ***** / *****. ************, * ****** ************ ***** was **** *** ** ****** *****. **** ***** ******, *** camera ************* ******* *** **********, ********* ** * ****** ************ (thereby ********* **** *********) ** ******* **** * ***** ************ level. ** ** *******, * ****** ** ******* ****** ******* a ******* *** **** ** ****** *******, ***** ****** **** and ***** ** *** ********** *** ***** *******. *** *** is ******** ******* ********* ***** *********** ******* *** ********* *******.

*******, ** ******** ********* ******* **** ***** ****** ** *** scene ***** *** ****** **** ** *********, ** **** ******** image ******* ******* *** ** ****. *** *******, ** *** of *** *****, ****** ****** ** ***** ***** ******** ****** blurring/smearing/artifacts ** *** *****, ******* ** *** ******* *** ********** below. ******** ****** ** ********* ******** ** ***** ***** ******.

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

What ****** *** ***?

**********, *** **** ********* ******** **: **** ******* ******* ** necessary ** *** ******'* ***********?

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

  • *** ***** ***** ** * ********** ******** ****. ******** **** a ************ ***** ** ** ** ** ** **** ** to ** ******** ** ******* **********. ***** *** ******* *** nearly ************* *** *********.
  • *** ***** ***** ******* ** *** ********** ** *** *****. More ******* ****** (**** ** ************) **** ********* ******* **** a ****** ******* ****** **** * ****** ***** (**** * stairwell). *** ******* *** ******** ***** ******** (**** * ****** across ** ************), *** **** ****** ******* ****** *** ******* meaningful *******.

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

  • ************ ~** ** *** "***** ****":***** ** ***** ** ******* *******, ** **** ***** ** to ***** *** **** ********* ******* ********* *** ***** *******. Many ************* ******* ** **-**, ****** ***** ****** *** ***** ****** ************ *********** ************* **** ******* ** *** ** *********** ******.
  • *** ***** ****** (*** *********):******* ** ***** ******* ******* ********** ** **** ******, ** recommend ***** ****** ** **** ******** ********, ** ***** *** be **** ** ******** ***** ******* ***** *********, ***** ******** remain ***** **** ******* ******.

[[****: **** **** *** ********** ******* ** **** *** ************* updated ** ****, ****, *** **** ** ******* ******* ***** options, ***** ***** *****, *** ** ** **** ***************]]

Comments (3)

*** **** **** **** **** *********** ** **** ******* ****** tree ***** *** ******. **** ****** **** ******* ********** *****. There *** **** **** ******* ***** *** ******* ** ****** can *********.

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

* ***** *********** ***-**** ** ********* ******* * ***** ******* and **** *** **** **** *** ****** ** *** ** is **** *********. * *** **** ******* **** ********* ******* and **** **** ** ****** *** ******** **** **** ****** it **** ***** ** *** **** ***. **** **** **** quality ******* ** ****. *** **** *** ***** ***** ** capacity ** **** ****.

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

H.265 Usage Statistics on Apr 19, 2019
H.265 has been available in IP cameras for more than 5 years and, in the past few years, the number of manufacturers supporting this codec has...
Pole Mount Camera Installation Guide on Apr 11, 2019
Poles are a popular but challenging choice for deploying surveillance cameras outdoors. Poles are indispensable for putting cameras at the right...
Spring 2019 IP Networking Course- Register Now on Apr 04, 2019
Register now for the Spring 2019 IP Networking course here. Just $299 for the course. This is the only networking course designed specifically...
Bezos-Funded Deep Sentinel Tested on Mar 28, 2019
Backed by Jeff Bezos, the Silicon Valley startup, Deep Sentinel, has declared: No One Does Home Security Like We Do Our Surveillance Team has...
Casino Security Consultant Carl Lindgren Interview on Mar 26, 2019
For more than 20 years, Carl Lindgren worked as a casino surveillance pro, while being active (and sometimes outspoken) on various online video...
Outdoor Camera Installation Guide on Mar 25, 2019
Outdoor camera installation can be fraught with problems. Creating a sturdy and weather tight mount is key for camera performance and longevity,...
Top Metrics For Ensuring Integrator Profitability - Statistics on Mar 20, 2019
How do integrators ensure the profitability of their projects? As part of our profitability study, 100+ integrators answered the following...
Installation Course - REGISTRATION CLOSED on Mar 14, 2019
This is the last chance to register for the March Installation course. CLOSED This is a unique installation course in a market where little...
Camera Pendant Mounting Guide on Mar 07, 2019
It is often necessary to suspend a camera from a high open ceiling. This is commonplace in retail, warehouse, industrial sites, hangars, and other...
Cable Firestopping Installation Guide on Mar 06, 2019
Installing cables through firewalls is a critical installation issue. Failing to properly seal a penetration can cause smoke and fire to spread,...

Most Recent Industry Reports

H.265 Usage Statistics on Apr 19, 2019
H.265 has been available in IP cameras for more than 5 years and, in the past few years, the number of manufacturers supporting this codec has...
ACRE Acquires RS2, Explains Acquisition Strategy on Apr 19, 2019
ACRE continues to buy, now acquiring RS2, just 5 months after buying Open Options. One is a small access control manufacturer from Texas, the...
Access Control Course Spring 2019 - Last Chance on Apr 19, 2019
Register for the Spring Access Control Course. IPVM offers the most comprehensive access control course in the industry. Unlike manufacturer...
Riser vs Plenum Cabling Explained on Apr 18, 2019
You could be spending twice as much for cable as you need. The difference between 'plenum' rated cable and 'riser' rated cable is subtle, but the...
Verint Victimized By Ransomware on Apr 18, 2019
Verint, which is best known in the physical security industry for video surveillance but has built a sizeable cybersecurity business as well, was...
Milestone Drops IFSEC on Apr 18, 2019
Milestone has dropped out of Europe's largest annual security trade show (IFSEC 2019), telling IPVM that they "have found that IFSEC in EMEA no...
The Fastest Growing Video Surveillance Sales Organization Ever - Verkada on Apr 17, 2019
Verkada has the fastest growing video surveillance sales organization ever. In less than 2 years, they already have more salespeople in the US...
Door Operators Access Control Tutorial on Apr 17, 2019
Doors equipped with door operators, specialty devices that automate opening and closing, tend to be quite complex. The mechanisms needed to...
Securadyne CEO: IPVM 'Entertaining For An Ignorant Few' on Apr 16, 2019
Securadyne's CEO Carey Boethel is unhappy with IPVM's report - Failed Integrator Rollup, Securadyne Sells to Guard Giant Allied. Indeed, he...
Dahua Repositionable IR Multi-Imager Camera Tested on Apr 16, 2019
Dahua has released their first repositionable multi-imager camera, the Multi-Flex 4x2MP, claiming integrated IR, true WDR, and flexible...

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