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...
Spring 2019 IP Networking Course
on Jan 10, 2019
You can register for the Spring 2019 IP Networking course here.
This is the only networking course designed specifically for video surveillance...
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
Sales Cuts At Rasilient
on Feb 19, 2019
Over the past 2 years, video surveillance storage specialist Rasilient has expanded its workforce significantly, aiming to build its own branded...
Ubiquiti Favorability Results 2019
on Feb 18, 2019
Ubiquiti has quietly grown into a $1+ billion annual revenue company, with offerings across wireless, wireline network and video surveillance (see...
Hikvision Chairman Praises United Front
on Feb 14, 2019
Hikvision’s controlling shareholder held a meeting last month praising the United Front, a Communist Party organization known for its secretive...