Is H.264 Lower Quality?

Author: Sarit Williams, Published on Nov 14, 2013

Is H.264 lower quality? Even Avigilon now says no, but many still argue yes. 

One of These Images is H.264, the Other MJPEG

Take a look at these two images, one of them uses H.264, the other uses MJPEG:

 So, which one is which?

How The Images Were Generated

Both images are from the same camera set to the same bitrate / bandwidth (1 Mb/s). Image A was captured with the CODEC set to MJPEG, while Image B was captured when set to H.264. They are both cropped from a 720p shot of a conference room wall.

Why Do They Look So Different?

The key issue is that we fixed the bandwidth. When bandwidth is locked, the compression level of any CODEC needs to adjust (this is the basis of CBR). When bandwidth is low like we did here, the compression levels must go higher (i.e., quality goes down).

Why is H.264 Better Quality Here?

Many assume that H.264 compression is higher and that MJPEG delivers either uncompressed or low compressed video. This is not the case. All CODECS compress video.

The key difference is how 'smart' the CODECs are in compressing. MJPEG only compresses individual frames (intra-frame compression) while H.264 compresses across frames (inter-frame compression) as well. Becuase H.264 can compress across multiple frames and find what stays the same over time, it can more intelligently reduce bitrate without impacting quality. This is why MJPEG's quality is so much worse in this example.

Background References

IPVM has a wealth of training and tests of video quality and CODECs, including:

1 report cite this report:

Major Manufacturers Dropping MJPEG on Nov 04, 2016
MJPEG has hung on for years, still in use in some systems despite H.264's dominance for the better part of the past decade. However, now some...
Comments (33) : PRO Members only. Login. or Join.

Related Reports on Bandwidth

May 2018 Camera Course on Apr 20, 2018
Save $50 on early registration until this Thursday, the 26th. Register now (save $50) for the Spring 2018 Camera Course This is the only...
April 2018 IP Networking Course on Apr 19, 2018
This is the last chance to register for our IP Networking course. Register now. NEW - 2 sessions per class, 'day' and 'night' to give you double...
Wireless Networking For Video Surveillance Guide on Mar 29, 2018
Wireless networking is a niche in video surveillance applications, but it can be a difficult one to understand with proper wireless design,...
Cellular (4G / LTE / 5G) For Video Surveillance Guide on Mar 06, 2018
In this report, we explain using cellular for video surveillance including: 4G vs LTE vs 5G 4G standards 5G future Advantage: Placing cameras...
Next Gen 5MP / 6MP Camera Shootout (Axis vs Dahua vs Hanwha vs Hikvision) on Feb 28, 2018
Many manufacturers have released new generation 5MP / 6MP cameras that tout super low light, WDR and other features historically typical in 1080p...
Hikvision 6MP Camera Tested (DS-2CD4565-IZH) on Feb 27, 2018
In the next installment of our ongoing testing of 5MP/6MP cameras, we test the Hikvision DS-2CD4565F-IZH, a 'Smart Series' vandal dome combining...
Video Privacy Mask Tutorial on Feb 27, 2018
Privacy has historically been hotly debated in the surveillance industry, especially in public surveillance systems where cameras may be located in...
Hanwha Wave VMS Tested on Jan 22, 2018
Hanwha has released their first open platform VMS, Wisenet Wave, an Network Optix OEM (see test results) enhanced with integrations and...
VSaaS Usage Statistics 2018 on Jan 18, 2018
VSaaS has been a 'next big thing' for more than a decade. The prospect of managing, storing and streaming video from the cloud rather than...
Multicasting Surveillance Tutorial on Jan 04, 2018
Network bandwidth can be a concern for some surveillance systems. While improvements in video codecs, such as smart codecs for H.264 and H.265,...

Most Recent Industry Reports

The Yolo Bro And The Death of Journalism on Apr 24, 2018
There's an old quote: The job of the newspaper is to comfort the afflicted and afflict the comfortable Unfortunately, the opposite is more...
DMP Adds Ring Video Doorbell Integration on Apr 24, 2018
Video doorbells have become one of the hottest items for security systems. After several years with no doorbell, DMP has announced integration with...
Milestone 2017 Financials Examined on Apr 24, 2018
For ISC West 2018, Milestone released ... their financials, touting "strong revenue growth in 2017". However, there were discrepancies with the...
Chinese Manufacturer Kickstarter Campaign Huge Success (EverCam) on Apr 23, 2018
In a week, a Chinese manufacturer's expertly done Kickstarter campaign has received $1.4 million in pledges, an incredible amount for a video...
Favorite Biometrics 2018 on Apr 23, 2018
Biometrics are on the rise, or at least integrator opposition to them is declining, according to new IPVM integrator statistics.   Almost half of...
Dahua and Hikvision Win Over $1 Billion In Government-Backed Projects In Xinjiang on Apr 23, 2018
Dahua and Hikvision have won well over $1 billion worth of government-backed surveillance projects in China’s restive Xinjiang province since 2016,...
May 2018 Camera Course on Apr 20, 2018
Save $50 on early registration until this Thursday, the 26th. Register now (save $50) for the Spring 2018 Camera Course This is the only...
Global Real-Time Video Surveillance - EarthNow on Apr 20, 2018
A new company, EarthNow, with backing from Bill Gates, Airbus and more, is claiming that: Users will be able to see places on Earth with a delay...
Dedicated Vs Converged Access Control Networks (Statistics) on Apr 20, 2018
Running one's access control system on a converged network, with one's computers and phones, can save money. On the other hand, hand, doing so can...
April 2018 IP Networking Course on Apr 19, 2018
This is the last chance to register for our IP Networking course. Register now. NEW - 2 sessions per class, 'day' and 'night' to give you double...

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