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.
IPVM has a wealth of training and tests of video quality and CODECs, including:
Related Reports on Bandwidth
Bandwidth vs Low Light Shootout - Avigilon, Axis, Bosch, Dahua, Geovision, Hanwha, Hikvision, Uniview, Vivotek
on Feb 08, 2019
Nighttime bandwidth spikes are a major concern in video surveillance, but do all manufacturers' cameras perform the same? Are some more consistent...
Verkada Cloud VMS/Cameras Tested
on Jan 28, 2019
Verkada is arguably the most ambitious video surveillance startup in many years. The company is developing their own cameras, their own VMS, their...
Camera Course Winter 2019 - Last Chance
on Jan 24, 2019
This is the last chance to register for the Winter 2019 Camera Course.
This is the only independent surveillance camera course, based on in-depth...
Testing Bandwidth vs. Frame Rate
on Jan 23, 2019
Selecting frame rate has a major impact on surveillance bandwidth and storage consumption. But with smart codecs now common and cameras more...
Testing Bandwidth Vs. Low Light
on Jan 16, 2019
Nighttime bandwidth spikes are a major concern in video surveillance. Many calculate bandwidth as a single 24/7 number, but bit rates vary...
Managed Video Services UL 827B Examined
on Jan 09, 2019
Historically, UL listings for central stations have been important, with UL 827 having widespread support.
However, few central stations have...
H.265 / HEVC Codec Tutorial
on Jan 08, 2019
H.265 support improved significantly in 2018, with H.265 camera/VMS compatibility increased compared to only a year ago, and most manufacturers...
Surveillance Codec Guide
on Jan 03, 2019
Codecs are core to surveillance, with names like H.264, H.265, and MJPEG commonly cited. How do they work? Why should you use them? What issues may...
Most Recent Industry Reports
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...
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...
Axis Supports HD Analog
on Apr 15, 2019
In 2017, Axis declared 'Everything is IP':
Now, in 2019, Axis has released support for HD analog, with their new encoders.
Why the change?...