MJPEG vs. H.264by John Honovich, IPVM posted on Apr 17, 2009 About John Contact John
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.
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.
Comment #1 by Jason Spielfogel posted on Apr 20, 2008
Comment #2 by John Honovich posted on Apr 20, 2008
Most Recent Industry Reports
Winners Losers Spring 2015 on May 18, 2015
The industry is in the midst of major changes. Consolidation, driven by commoditization and declining financials, is real. New products are moderately better than last year, but still not enough t...
Free Top IPVM Resources on May 16, 2015
Here are 12 of the top IPVM resources, available for free. Members, if you want to share / introduce IPVM to a friend, this directory is a great start so they can see the outstanding informati...
Testing Dahua HDCVI Encoder With VMSes on May 14, 2015
HD Analog cameras have incredibly low prices for true HD video. But HD analog recorders are pretty simplistic and underwhelming. Moreover, many want to use HD analog cameras with their establishe...
The $100 MP Era is Here on May 13, 2015
The video surveillance industry has entered a new era. This era is disrupting the biggest players in the industry and changing long-held industry dynamics. The Old Era - 2009 to 2013 ...
Samsung Wisenet Lite Cameras Tested on May 11, 2015
Far lower-cost MP cameras are a major trend now. So far, the 'Chinese' have been leading the way here. Samsung's Wisenet III series hit the market offering performance similar to more expensive h...
Testing IP Camera Test Monitor (Tatung) on May 06, 2015
Integrators frequently cited insufficient installation tools as one of the key problems of IP camera installation. While many use a laptop, the size and necessary accessory devices to do this make ...
WDR Camera Shootout 2015 on May 04, 2015
This is the most comprehensive Wide Dynamic Range (WDR) IP camera shootout ever. We tested 10 of the latest generation multiple-exposure true WDR cameras, including: Arecont Vision AV3116DNv1 ...
Uniview Chinese Camera Tested on Apr 28, 2015
The company claims $263 million in 2013 revenue and to be the third largest Chinese surveillance manufacturer (after Hikvision and Dahua). Despite being owned by American investment firm Bain Capi...
Google Maps Camera Calculator Released on Apr 27, 2015
The new IPVM Google Maps Camera Calculator empowers surveillance professionals to plan and design systems like never before. Whatever project you are working on, enter the address and start mappin...