MJPEG vs. H.264

Author: John Honovich, Published on Apr 17, 2009

Recently, IQinVision releaed an article advocating benefits of MJPEG.

[Update Dec 2010: We conducted extensive testing comparing MJPEG and H.264. Read our Test Results of MJPEG vs H.264.]

While I found the article technically accurate, well written and worth reading, the nature of the application and its economics demand that MJPEG be almost always avoided. Since H.264 is hot right now, this is a popular claim to make. However, a discussion of this can help examine the economics and operational drivers driving this interest.

Jason's central claims are:

1. With moving cameras or images of high activity areas, MPEG4 and H.264 provide little bandwidth savings relative to MJPEG.

2. Proper network design requires factoring in worse case scenarios so you will need to dedicate the same amount of bandwidth whether or not you use MJPEG, MPEG4 or H.264.

3. MJPEG provides higher quality because of no intra-frame compression.

4. Unlike MJPEG, with MPEG-4 vendors deviate from standards, increasing potential integation costs.

My counterpoints are:

1. For most users, cameras usually have low or modest activity, translating into significant savings for MPEG-4 or H.264. Most cameras in the world are fixed. Most cameras have significant periods during the day when there is little or no motion (nights, weekends, etc.) Even within PTZs, PTZs are often left at a home position, or iterate over a series of pre-sets stopping for 5 - 10 seconds each.

Sign Up for the IPVM Newsletter
Sign Up for the IPVM Newsletter

2. Many, perhaps most organizations, do not set network bandwidth budgets for worst case scenarios. Sometimes, organizations don't want to pay the money for the extra capacity but sometimes it can't be done due to constraints of reutilizing existing infrastructure (very common in wireless networks). In other words, organizations generally trade-off infrequent pixelization for immediate cost savings. Maybe this is 'objectively' wrong but this is common.

2a. Jason does not discuss storage but storage is a HUGE economic driver in the move away from MJPEG. I have had a number of occasions where my DVR/NVR with a 1TB hard drive was only recording for 13 days. Why? I had forgot we recently integrated just a few megapixel cameras using MJPEG. Let's say we can save 1 Mb/s by switching from MJPEG to MPEG4. Over a two month period, for one camera, that is 650 GBs. It would cost you $300 to $600 to add that much storage for each MJPEG camera.

3. As for quality, the difference in quality is usually close enough that most customers are ok with it, especially for the savings.

4. The issue with deviation from standards is generally a one-time cost/problem that can be amortized by the manufacturer over many different customers. In the larger scheme of things, it's mainly a nuisance.

In sum, then, the economics of reducing network and storage costs are usually very significant budgetary and operational factors that drive purchasing decisions. With megapixel manufacturers starting to announce H.264 support, it will be interesting to see what IQinVision does.


Related Reports

ONVIF Profile G Video Storage Test on Aug 26, 2016
A standard to retrieve video stored on 3rd party devices. This is the aim of ONVIF Profile G. The proprietary nature of accessing recorded video...
Camera Course September 2016 on Aug 18, 2016
This is the only independent surveillance camera course, based on in-depth product and technology testing. Lots of manufacturer training exists...
Building Occupancy Codes and Access Control Tutorial on Aug 11, 2016
A building or room's classification can greatly impact which building codes must be followed. In terms of access control, these 'occupancy codes'...
Milestone Launches Exacq NVR Take-Over on Aug 04, 2016
Last year, Milestone took aim at both Avigilon (Milestone Launches Avigilon Conversion Program) and OnSSI (Milestone 'Free' Takeover of OnSSI...
Surveillance Recording Mode Statistics 2016 on Jul 28, 2016
Continuous? Motion? Boost? What recording should be used? What is used? This report compiles data from 90 integrators on storage modes most...
Video Surveillance Hard Drive Failure Statistics 2016 on Jul 22, 2016
Hard drive failures are decreasing and lifespans are getting longer, according to new IPVM statistics. Failing hard drives have historically been...
Video Surveillance Hard Drive Size Statistics 2016 on Jul 18, 2016
Many low end NVRs still use 1TB hard drives, but 10TB drives hit in the market in January 2016. So what size do integrators use most often?...
IP Networking Course on Jul 14, 2016
The reason for its popularity is that it is the only networking course designed specifically for video surveillance professionals plus it includes...
Smart CODEC Usage Statistics 2016 on Jul 13, 2016
Smart CODECS are one of the big new trends in the past year, with real ability to save significant amounts of bandwidth and storage. But how...
Selling Super High Resolution Cameras on Jul 11, 2016
Is bigger better? In the past decade, the surveillance industry has moved from 0.3MP to 1MP to 2MP to 3MP to 5MP to 4K (8.3MP), etc. But there...

Most Recent Industry Reports

ONVIF Profile G Video Storage Test on Aug 26, 2016
A standard to retrieve video stored on 3rd party devices. This is the aim of ONVIF Profile G. The proprietary nature of accessing recorded video...
Viakoo Health Monitoring Examined on Aug 26, 2016
Viakoo, the company of ex-Intransa leaders, says they have created a monitoring tool for security networks that is easy to deploy and offers...
Genetec Access Control Security Center 5.5 Release on Aug 26, 2016
Inside, we examine Genetec's new Access Control features in Security Center 5.5. Enhanced Active Directory and 'Universal Groups' New, Single...
Tailgating - Access Control Tutorial on Aug 25, 2016
Despite costing thousands of dollars per door, electronic access control systems are vulnerable to an easy exploit called 'tailgating'. Unless this...
Manufacturer Trade Show Costs Analyzed - Spending Millions on Aug 25, 2016
Ten million dollars plus is spent by manufacturers at every major trade show (e.g., ISC West, ASIS, IFSEC, Essen, etc.) And the bigger booths...
Axxon Next VMS 4.0 Tested on Aug 24, 2016
AxxonSoft is one of the biggest VMS vendors (reporting 263,000 channels sold in 2015), especially strong in their home market of Russia, but not...
Milestone Declares End-To-End Is A Dead-End on Aug 24, 2016
While Axis celebrates their end to end system win at top 50 global retailer H&M, their Canon sister company Milestone is proclaiming that...
Hikvision 20% Price Cut Twice In A Month on Aug 23, 2016
Days after celebrating the Chinese government's commitment of up to $3 billion USD more in funding, Hikvision USA is now launching up to 20% across...
HD Analog DVRs With Exacq, Milestone and Genetec VMSes Tested on Aug 23, 2016
HD analog offerings have proven to deliver HD video at radically lower prices. However, the main limitation for professional applications is their...
1 New Acquisition Per Year Planned for Qognify (Former Nice Security) on Aug 23, 2016
Want to be acquired? Qognify, the former Nice Security Group, has big money behind it and the plans for multiple acquisitions. In this note, we...

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