Resolution vs Compression Tested

Author: John Honovich, Published on Nov 24, 2014

They are not the same thing.

Unfortunately, too many industry people conflate them.

Worse, resolution and compression can silently undermine each other.

The Impact

Compare the two images below. The resolution (aka pixel count) is exactly the same but the compression levels (and bandwidth) are much different:

 

Because of the compression difference, even though everything else is the same, the visual quality is much different.

Resolution vs Compression

Resolution, in surveillance, means the number of pixels (1MP, 2MP, 5MP, etc.) See: IPVM's Resolution Tutorial

Compression, in surveillance, means how much the pixels / video is compressed. There is a scale from minimum to maximum. In H.264, it is called quantization, ranging from 0 (least) to 51 (most). See: IPVM's Video Quality / Compression Tutorial

Compression Defaults

All IP cameras compress video, typically in the middle of that scale. IPVM testing shows 28 is average though manufacturers vary somewhat. Moreover, manufacturers generally do not reveal the actual quantization level, displaying their own scale. To learn more, see: IP Camera Manufacturer Compression Comparison

Making Lower Resolution Look Like Higher Resolution

In this test, we took a series of 720p IP cameras, decreased the compression levels to see how far we had to go to make it 'look' like a 1080p camera with default compression levels. We then compared bandwidth consumption of each camera.

Making Higher Resolution Looks Like Lower Resolution

Also, in this test, we took a series of 5MP and 1080p cameras, increased their compression levels to see how far we had to go to make it 'look' like lower resolution cameras (1080p / 720p respectively) with default compression levels.

Why

Our goal is to understand and show you:

  • How much compression can impact visual quality?
  • What benefits are there to reducing compression levels?
  • What benefits are there to increasing compression levels?
  • Can you get better quality or bandwidth consumption from such changes?

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

*************, *** **** ******** ****** ******** ****.

*****, ********** *** *********** *** ******** ********* **** *****.

The ******

******* *** *** ****** *****. *** ********** (*** ***** *****) is ******* *** **** *** *** *********** ****** (*** *********) are **** *********:

 

******* ** *** *********** **********, **** ****** ********** **** ** the ****, *** ****** ******* ** **** *********.

Resolution ** ***********

**********, ** ************, ***** *** ****** ** ****** (***, ***, 5MP, ***.) ***: ****'* ********** ********

***********, ** ************, ***** *** **** *** ****** / ***** is **********. ***** ** * ***** **** ******* ** *******. In *.***, ** ** ****** ************, ******* **** * (*****) to ** (****). ***: ****'* ***** ******* / *********** ********

*********** ********

*** ** ******* ******** *****, ********* ** *** ****** ** that *****. **** ******* ***** ** ** ******* ****** ************* vary ********. ********, ************* ********* ** *** ****** *** ****** ************ level, ********** ***** *** *****. ** ***** ****, ***: ** ****** ************ *********** **********

Making ***** ********** **** **** ****** **********

** **** ****, ** **** * ****** ** **** ** cameras, ********* *** *********** ****** ** *** *** *** ** had ** ** ** **** ** '****' **** * ***** camera **** ******* *********** ******. ** **** ******** ********* *********** of **** ******.

Making ****** ********** ***** **** ***** **********

****, ** **** ****, ** **** * ****** ** *** and ***** *******, ********* ***** *********** ****** ** *** *** far ** *** ** ** ** **** ** '****' **** lower ********** ******* (***** / **** ************) **** ******* *********** levels.

***

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

  • *** **** *********** *** ****** ****** *******?
  • **** ******** *** ***** ** ******** *********** ******?
  • **** ******** *** ***** ** ********** *********** ******?
  • *** *** *** ****** ******* ** ********* *********** **** **** changes?

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

Lesson * - ************* ******** *********** ******

****** *.*** ****** *********** / ************ ****** ** * ** 51, **** ************* ******** *** ****** ** **** *** **** can ********.

** ****** * ************* ***** ****** ******** ****, **** ***** *** *** **** *********** ******** ** ********* what ***** *********** ****:

  • ******* ** - **
  • ********: **-**
  • ****: **-**
  • *****: *-**
  • *********: **-**
  • *******: **-**
  • ****: **-**

******, **** *** ******* *** **** *****.

**** ***********, ******** *** *** **** ***********, ******** *** ********* range ** *********** ******, ********** ******** **** *********** ******.

********: *** **** *** *** ************** (** *********************) ** ******** ********* (** ********** ***********) **** ** ******** by **** **** ****** ** ****** ******. ***** ****.

Lesson * - ****** ********** ******* *** **** **** ***** ********** **** *** **** *********

**** ***** ** * '****' ***** ***********. ** *** **** a ****** ********** ****** (*** *****), ******** *** *********** ***** (say ** ~**), ** **** **** ******* ** * **** camera ** ******* *********** ******, **** **:

*** *** ******* ** ***** *** **** *** ***** / high *********** ***** ***, ** *******, ** ** **% ***** bandwidth **** *** **** / ******* *********** ***.

** ***** **** ** ** *** **** **** ** **** scenes **** ********** *** ***, **** **:

*****, ********* *** *** ***** / **** *********** ******* *** 50 ** **% **** **** *** **** / ******* *********** one.

******* * *** / **** ****** ** * ***** ******* camera, *** **** ******* *******.

Lesson * - ****** *** / ****** *********** ****

** *** ******** ***** *** ***** ** ******* * ****** resolution ****** *** ******* ** ** * ****** *********** ** get *** ********* ******* ** * ***** ********** ****** ** a ***** *** ****, **** **** *** ****** ********** ****** still *** *** **** ******* **** ** *** ***** ********** ones.

** **********, ****** **** ** *** *** *** *****, *** and ***** ***** *** ******* ** **** ****** ********** ******* have *********** ************ *****.

Lesson * - ***** *** / ***** *********** *** ****

**** ****** **** *** **** ** ******** *** *********** ***** of * ****** ** *** ****** *******. *** ******* ***** this ** * *** ****, ******* ** ********* ****** *** difficulty ** ********** *******.

** * **** *** / ****** ***, *** ******* *** able ** *** * **** / *** *********** ****** ** 'look' **** * ***** ******* *********** ******, **** **:

*******, ** *** *****, *** ********* *********** ** *** **** / *** *********** *** ***% ** ***% ******* **** *** 1080p / ******* *********** *******. ** ****, *** ******* ** trying ** **** ** **** ******, **** ** ******* *** storage *****, *** ***********.

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

** * ******** *** / **** ***, *** ******* *********** *** * **** / *** *********** ****** ** '****' like * ***** ******* *********** ******, **** **:

******* ***** ** ********** **** ******** *********** ** *** **** camera, ** *** ***** ******* ******** ******** ** *** ***** one.

***, **** ****** ***** ******* *** ***** ********, ********* ****** from **% ** ***% ******* *** *** **** / *** compression ****** ******** ** *** ***** / ******* ***.

*****

**** ** ****:

  • ** *** *** ***** ** **** *********** ** **** ******'* compression ******, ********** **** *** ***** **** ***** ** ***, because ************* ***** ***** ****. ********** * ***** ******** ****** *** ******* *****.
  • ** *** ****** ** ** **, *** * ****** ********** camera **** ****** *********** ******** ** **** ********* **** ********* quality *********.
  • ***** ****** * ***** ********** ****** *** ****** ** ******** its *********** *****. ******** ****** * ****** ********** ****** ***** may ** ****** **** ** ******* **** ******* ** *********** lower ******* / ******* **** **** ********** *********** ******.

Comments (20)

...try a higher resolution camera with higher compression settings to save bandwidth with minimized quality reduction. Avoid taking a lower resolution camera and trying to decrease its compression level. Consider buying a higher resolution camera which may be better able to deliver that quality at comparative lower network / storage cost than decreasing compression levels.

Higher than what? Than other cameras I have? Other cameras I could buy?

Lower than what?

Roger, as explained in the examples throughout the test report.

his assumption.

we dont think about YOU and your property incessantly.

...... and you'll be fine ;)

John, this report is very beneficial to better understand the relationship between resolution and compression settings and the impact upon a users perceived impression of picture quality and standards. However, the image samples generally relate to static targets. If you have a moving target and considerable scene change would there not be an increased risk of more compression artefacts at higher resolution with higher compression? Which would you expect to look better and have sharper stills, a 6 IPS recording at 720p resolution at 2Mbps CBR or a 6 IPS recording at 1080p resolution at 2Mbps CBR assuming it was a Hikvision or Dahua camera at the highest quality setting?

"Which would you expect to look better and have sharper stills, a 6 IPS recording at 720p resolution at 2Mbps CBR or a 6 IPS recording at 1080p resolution at 2Mbps CBR assuming it was a Hikvision or Dahua camera at the highest quality setting?"

If you are using CBR, you can not control the quality settings, by definition. The camera will do that automatically (i.e, as it hits / exceeds the bandwidth ceiling, it will increase the compression level to maintain the bit rate requirement).

As for 720p vs 1080p, I would expect the 1080p to deliver more details than the 720p, even if it had moderately more compression than the 720p in your 2Mb/s fixed bitrate scenario (i.e., the increased pixels would more than offset the moderately higher compression).

Your scenario would need an even, well lit scene to be true John. In low lit areas, a typical Dahua or HikVision camera will well surpass the 2Mbps mark natively and would then become heavily compressed. From the article above, it seems like the 720p would suffer far less than the 1080p.

So I think the real question become where is the trade off from higher res/higher comp to lower res/lower comp a net zero vs a bias one way or the other. I would assume this is a very subjective test and also model/firmware specific.

We'll run a test of 720p vs 1080p in low light this morning.

Please don't speculate. If you think something should be tested, either ask us to test it or submit your own test results.

Btw, we tested 7 models and the patterns were clear across the models, so your assumption that this is 'very subjective' and 'model/firmware specific' will need more evidence to back it up.

John,

We both have speculated here to a degree. My usage of Dahua and Hik cams have shown me that, generally speaking, it is hard to keep them anywhere near 2Mbps in darker scenes, IR or not. It's not to say it isn't possible to turn down sharpness and change other settings to keep the bitrate as low as you can, but under 2Mbps is a stretch. So, as per your testing has shown above, if you have a lower compressed 720p image vs a higher compressed 1080p image, the 720p may win out. However, you suggested the 1080p camera would provide more detail in your reply to Andrew above, which seems to cut against your own findings. So you can see the source of my confusion.

As far as the subjective comment, I was referring to the judgement we all have to make about which image looks better. We can measure many things, such as resolution, compression, etc., but I don't know of a quantitative factor for image quality. I think we would all most likely agree on our picks of favored images, but that just means we are being equally subjective.

"So, as per your testing has shown above, if you have a lower compressed 720p image vs a higher compressed 1080p image, the 720p may win out."

Please stop speculating. We are literally testing this right now. We'll post the results when finished.

"In low lit areas, a typical Dahua or HikVision camera will well surpass the 2Mbps mark natively"

As a point of reference, the typical Dahua or Hikvision camera has integrated IR. More than 60% of both Dahua and Hikvision models have integrated IR, verified by the 400+ models we track in the IP Camera Finder.

So we will test a Dahua and Hikvision IR camera here.

Looking forward to the results of the tests. Ideally would appreciate tests being also performed with good lighting conditions and with high scene change. System designers are always asking me what bit rate they should set a camera at relative to resolution and recording frame rate to achieve high quality play back without compression artefacts. It would be great to establish some guidelines to follow for popular cameras such as Dahua and Hikvision.

"System designers are always asking me what bit rate they should set a camera at relative to resolution and recording frame rate to achieve high quality play back without compression artefacts."

They should not set bitrates (i.e. CBR). Use VBR to ensure that you do not get compression artifacts.

We have done many bandwidth tests (each camera tests comes with bandwidth stats at the bottom). The level of bandwidth depends on the camera model and the scene.

The findings of this test is about patterns, not specific bandwidth levels for individual models. The same thing for a test like Testing Bandwidth vs Low Light (e.g., this shows that when lights go down, bandwidth goes up significantly, but the absolute amounts will vary).

John, most of the projects we get involved with for end users and integrators require continuous recording with a guaranteed recording duration. Dahua hardware is typically deployed at VBR with a capped bit rate setting and the highest quality setting (= 6), typically an IP-HDBW3202 camera may be configured at 6 IPS, 720p resolution, VBR capped at 1,920Kbps highest quality setting (= 6) or at 6 IPS, 1080p resolution, VBR capped at 3840Kbps highest quality setting (= 6). This method allows us to guarantee a minimum recording period as we can calculate the worst case storage requirements and our field testing suggests at these settings we hold picture quality and don't get compression artefacts. However, knowing the "sweet spot" per camera model for encoding settings for holding picture quality with complex changing scenes and guaranteeing recording duration and bandwidth usage is very valuable and any further advice is much appreciated. Dahua claim their newer Eco Savy series such as the IPC-HDBW5202 is more efficient with compression and can provide savings with bandwidth and storage. Have you or can you do comparisons between these different series cameras to confirm if their claims are correct or not without sacrificing picture quality?

We did some additional testing with integrated IR cameras this morning, on this topic, and as well as our Bandwidth vs. Low Light test which we've updated and added to our Bandwidth Guide.

In answer to specifics regarding Dahua and Hikvision 720p/1080p in low light:

  • 1080p does not have a major advantage over 720p in low light, even uncapped. See this example below. Details are only very very slightly improved in the 1080p stream. Quantization on both of these streams was ~29 in Hikvision and ~24 in Dahua (for some reason Dahua quality "4" didn't result in Q28 as it normally has in other models, so it was a bit lower than Hikvision).

  • With a 2Mb/s VBR cap, the same is true. Quantization is higher in the 1080p stream than 720p (Q35 vs. Q33 in Hikvision, Q30 vs. Q29 in Dahua), details delivered are still only marginally different.

Ethan,

Thanks for taking time to test this out. That said, I do have a few questions if you don't mind me asking.

1) The uncapped cameras you used were which models?

2) Did you happen to note the bandwidth usage for the uncapped tests?

3) When you said the quantization increased from 29 to 30 for the Dahua cams, was that true for both 720p and 1080p? They both had the same quantization with the 2mbps cap?

Again, great work. It's much appreciated by members such as myself.

Sorry to dig this from the grave, but I was still hoping for a response from Ethan above.

John,

I don't think Benros has enough pixels between his eyes there, I would not be doing my job if I did not tell you :)

Look familar?

Hi John,

do you have a camera with controllable preprocessor (noise reduction step)? so, is it possible to play trade-off between compression and noise reduction, keeping the same visual quality or same bitate and monitoring bitrate or quality change?

my understanding of your results with resolution / compression / bitrate is that low resolution with low compression ratio can't provide better visual quality as it effectively wasting bitrate to encode noise. and hi-res/hi-compression has a side effect of aggressive noise reduction.

or we can turn this inside out - instead of reducing noise algorithmically it is possible to reduce (lab-only, not in real life) noise physically, by providing more light. is it possible to test, how this hi-res/hi-compression vs lo-res/lo-compression will behave if you increase illumination 2 or 4 times?

can you take a try with that?

"do you have a camera with controllable preprocessor (noise reduction step)?"

Do you mean a camera that allows us to adjust the DNR setting? e.g., see: Camera DNR (Digital Noise Reduction) Guide

yes, exactly that. thank you for that link - this is what i was asking for!

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

4MP Camera Shootout - Axis, Dahua, DW, Hanwha, Hikvision, Uniview, Vivotek on Sep 24, 2018
4MP usage continues to climb, especially for low cost fixed lens models. To see who was best, we bought and tested seven 4MP models from Axis,...
Amazon Ring Spotlight Cam Tested on Sep 17, 2018
Amazon's Ring has released their latest camera entry, the Spotlight Cam, which we bought and tested in our Consumer IP Camera Analytics...
Vivotek 4MP Camera Tested (FD8379-HV) on Sep 13, 2018
Next in our series of updated 4MP testing, we bought and tested Vivotek's FD8379-HV, and entry level 4MP model claiming "top-notch quality video in...
October 2018 Camera Course on Sep 13, 2018
Today is the last day to save $50 on the October 2018 Camera Course, register now. This is the only independent surveillance camera course,...
VMS Export Shootout - Avigilon, Dahua, Exacq, Genetec, Hikvision, Milestone on Sep 13, 2018
When crimes, accidents or problems occur, exporting video from one's video surveillance system is critical to proving incidents. But who does it...
Dahua Low-Cost 4MP Camera Tested (N44CL52) on Sep 10, 2018
4MP use continues to increase, especially in low-cost models, according to integrators in our 2018 Resolution Usage Statistics. We bought Dahua's...
Consumer IP Camera Analytics Shootout - Arlo, Google / Nest, Amazon / Ring, Hikvision / Ezviz on Aug 27, 2018
Consumer IP camera usage is growing significantly driven by large companies including Google (with Nest), Amazon (with Ring), Netgear (with Arlo)...
SNMP / Network Monitoring For Surveillance 2018 on Aug 21, 2018
Surveillance systems typically rely on the the VMS to report issues, but this most often just means knowing a camera is "down" with no warning or...
Axis First IR PTZ Tested (Q6125-LE) on Aug 21, 2018
Axis is very late in releasing IR PTZs. While competitors such as Hikvision and Dahua have offered them for years, Axis has just released their...
Uniview Intrusion Analytics and VMD Tested on Aug 13, 2018
IPVM's IP Camera Analytics Shootout featuring Avigilon, Axis, Bosch, Dahua, Hanwha, Hikvision created some ill will with a Uniview distributor who...

Most Recent Industry Reports

Genetec Takes Aim At 'Untrustworthy' 'Foreign Government-Owned Vendors' on Sep 24, 2018
Genetec is taking aim at 'untrustworthy' 'foreign government-owned vendors'. This is not a new theme for Genetec as nearly 2 years ago, Genetec...
4MP Camera Shootout - Axis, Dahua, DW, Hanwha, Hikvision, Uniview, Vivotek on Sep 24, 2018
4MP usage continues to climb, especially for low cost fixed lens models. To see who was best, we bought and tested seven 4MP models from Axis,...
Alexa Guard Expands Amazon's Security Offerings, Boosts ADT's Stock on Sep 21, 2018
Amazon is expanding their security offerings yet again, this time with Alexa Guard that delivers security audio analytics and a virtual "Fake...
UTC, Owner of Lenel, Acquires S2 on Sep 20, 2018
UTC now owns two of the biggest access control providers, one of integrator's most hated access control platforms, Lenel, and one of their...
BluePoint Aims To Bring Life-Safety Mind-Set To Police Pull Stations on Sep 20, 2018
Fire alarm pull stations are commonplace but police ones are not. A self-funded startup, BluePoint Alert Solutions is aiming to make police pull...
SIA Plays Dumb On OEMs And Hikua Ban on Sep 20, 2018
OEMs widely pretend to be 'manufacturers', deceiving their customers and putting them at risk for cybersecurity attacks and, soon, violation of US...
Axis Vs. Hikvision IR PTZ Shootout on Sep 20, 2018
Hikvision has their high-end dual-sensor DarkfighterX. Axis has their high-end concealed IR Q6125-LE. Which is better? We bought both and tested...
Avigilon Announces AI-Powered H5 Camera Development on Sep 19, 2018
Avigilon will be showcasing "next-generation AI" at next week's ASIS GSX. In an atypical move, the company is not actually releasing these...
Favorite Request-to-Exit (RTE) Manufacturers 2018 on Sep 19, 2018
Request To Exit devices like motion sensors and lock releasing push-buttons are a part of almost every access install, but who makes the equipment...
25% China Tariffs Finalized For 2019, 10% Start Now, Includes Select Video Surveillance on Sep 18, 2018
A surprise move: In July, when the most recent tariff round was first announced, the tariffs were only scheduled for 10%. However, now, the US...

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