Camera Edge Storage / Recording Tutorial 2015

By: John Honovich, Published on Jun 29, 2015

~70% of IP cameras allow storing video onboard, at the 'edge', typically through the use of SD cards.

The big question is whether and when it makes sense to use edge storage / recording inside the IP camera.

In this tutorial, we teach:

  • Edge compared to centralized and edge site storage
  • The 3 most common edge applications explained - server elimination, network load reduction and recording redundancy
  • Camera support and limitations
  • Third Party Compatability and ONVIF Profile G
  • Storage Reliability
  • Direct to NAS Alternative
  • Stealing Storage
  • The Business Case for Edge Storage
  • Future of Edge Storage

~**% ** ** ******* allow ******* ***** *******, at *** '****', ********* through *** *** ** SD *****.

*** *** ******** ** whether *** **** ** makes ***** ** *** edge ******* / ********* inside *** ** ******.

** **** ********, ** teach:

  • **** ******** ** *********** and **** **** *******
  • *** * **** ****** edge ************ ********* - server ***********, ******* **** reduction *** ********* **********
  • ****** ******* *** ***********
  • ***** ***** ************* *** ONVIF ******* *
  • ******* ***********
  • ****** ** *** ***********
  • ******** *******
  • *** ******** **** *** Edge *******
  • ****** ** **** *******

[***************]

Compared ** *********** *** **** **** *******

****** *** ************ ******* today **** *** ** centralized *******, ******* ** is * *** ****** or ** *** ** DVR ********. ***** ** captured ** * ****** and *********** ** * 'central' ******** ***** ******** video ***** *** ******** in *** **** **, server ** *********.

****** *************, **** **** sites, ********* **** * recorder (** ********* ********* on ****** ** *******) at **** ****. **** can ** ********** * form ** '**** *******' but ** ** *** camera ***** **** ******* but ********* ******** ** the ****.

** ********, **** **** storage, *** ***** ** captured, ******* *** ****** right ****** *** ****** itself. ***** **** *** need ** ** **** out ** *** ****** unless ******* ***** ** view **** ***** ** review ******** *****. *******, only ** ******* ******* edge *******; **** ** not ******** ** ****** or ** *** ******* that **** ** ******** their ***** ** *****-***** recorders. ** ******* **** record ** ***** *** local **** ******* *** essentially '****** ******* ****" as **** ******* **** video ******* *** ********* in ***.

***** ***** *** ** recorded ** **** ******* mediums, *** **** ******* are** *****:

  • ** **** ***** *** frequently ***** **** ******* allowing ******* ** ** plugged **.
  • ** *** ****, * few ************* (*.*. *******) built **** ****** **** the ******* *** *** significant ********* **** ************ made **** *********.
  • ** *** ****, * few ************* ******* ******** hard ***** ** ** connected ******** ** *** camera.

Common ************

***** ********* ************ *** most ****** *** **** storage:

  • *** ****** ***********- ******* ** ******* up * ****** ** deploying ** ***, **** record ****** *** ****** using **** ******* *** connect ** ***** ******* directly ***** * ******. This *** *** **** appeal ** ***** **** a ***** ****** ** cameras ** *** ******* represent **************** **** *** complexity ****.
  • ******* **** *********- *** *** ********* networks, **** ********, ********* inside *** ****** ********* reduces *** ******* ** the *******. ******* ** streaming ************ ** ******** there ** ******, *** video **** ** *********** when ******* ***** ** watch **** ** ** an *************.
  • ********* **********- **** ******* *** be **** ** * back-up ** ********* *********, ensuring **** ** ***** is **** **** ** the ******* ********** **** down *********** ** *** VMS / *** ** offline ************. **** *** connection ** *** ******** is *************, *** ******** can ******* ***** ****** during *** ******** ** be **** **** *** camera ** ** (****: must ****** *** ******* for **** ******* *** integration **** ******** *******). Redundancy *** **** ******* is **** ***** **** in ***** *****, ******* critical ************.

Camera *******

************, ** **** ******* is *********** *** ** cameras, **** ** ***-****, low-end ****** ** *********** no ********** ****.**% ** ** ************** ******* ******* ** the **** ****** ****** , ****** *** *** SD *****.

***** *** ***** ********* limitations ********** ***********:

  • ******* ****
  • ******* ***********
  • ******** / ********* *************

Storage **** ***********

** ****, *** *** storage **** *** **** used ** ** ******* ranges **** **** ** 128GB.

**** ** *******, ********** older ****, **** ******* SDHC *****, ******** ******* to ****. ***** ******* may ******* ****, ***** removes **** **********. *******, regardless ** *** ** card ******* *********, **** sure *** ************ ******** the ******* ******* **** they *******.

** ********, **** ** becoming ****** ****** ***, for *******, ** **** Axis *** '************' ** with ********* ******* ***** ** cards.

**** *** ****** ** equivalent ** * *** 16 ******* ********, ***** for *****'* ** ***** is *** * *** of *******. **** *** camera, *** **** ** will ****** ******* ** resolution, ***** ****, ***********, motion ** ********** *********, activity ******, ***. **** said, ******* * ***** of ********* **** ** very **** ******* *********** on *** ** ***** key ********** *****.

Storage ***********

** *** **** *** years, ******** **** **** storage *********** **** ****** very ***********. *** *******, see:**** **** ******* *** Camera ********* ** *************** ****** **** ********* Problems, ****** ********. **** **** *** biggest ***, ** ***** partially ******* **** *** a ***** ******* *** marketed **** ******* *******. However, **** ******* ** issues **** ***** ******'* edge ******* **** **** received.

*** ***** ****** ** the *** ** ***** 'quality' ** *****, ** SD ***** ***** **** flimsy ***** ********* ** enterprise *********. **** ******** people ********* ***** ** SD *****, ****** ** believe **** ** ************ as '*****' **** ******** throughput, **** **** ** what ** ******** *** reliable *******. ********, *******, who *** ***** * lot ** ********* *** its ***** ** ************,******** * '************ *********' version, ****** **** ** 64GB *** *** **** less **** *.* ***** effective ********.

****** ****: ******* *********** is * ******* *** before *** ****** **** storage, ***** **** **** specific ****** ******** ** what **** ********* *** are ******* ** ******* / ********.

Third ***** *************

*** ******* ******* ***** is, *************, *** **** as * ** * years ***. ***** ***** VMS ******* *** **** storage ******* ****. **** if *** *** ****** video ****** * ******, it **** *** **** you *** ****** ******** it. **** ** ******* support ** ***** *** only ***** *** *********** opening ** ********** ***** files. **** **** ******* VMS *********** *** **** for ***** *** ***, not *** ***** *******.

** *** *********** ****, users ********* ****** ** connect ****** ** ************'* cameras ** * *** and ****** **** ***. However, **** **** *******, most ***** ******* ** cameras *** *** *** that ** ******* *** party ****** *************, ********* only ****** ****. **** what **** *** ****, Genetec ****** *** *** widest ***** ***** **** storage ******* *** **** is ***** * ******** of *** *******.

*** / ***: ****** that **** ****** ** recorders *** ***** ********* with **** ****** ** edge *******.

ONVIF ******* *

* ***** ***** *******, G, **** ** ******** support / ********* ** recorded *****, ** *******. This *** *** ********* to **** ***** ***** systems ********** ** ***** / ******** ** **** as ***** / ******** integrating **** ****** **** storage. ** *** **** side, ******** ****** ******* for ***** ******* * is *******, **** *** listed ** ** **** 2015. *******, ** ***** are ********** ********** ***** Profile * ** **** time, ************* ************ ******** ************** ** ***** * variant ** ***** ***** **** *******.

******* * ** ****** progress *** *** ** a **** **** ****. The *********** **** ** helps **** ***** ** 2015 ** *** *** it **** **** ********* to **** ****** *** third ***** ************* *******.

Edge ******* *********** - ****** ** ***

*** ***********, ****** ** NAS, ****** ** ********** for ***** *** **** to ********* *** ******* but ****** **** ********* and/or ******* ******* ** storage. *******, **** **** only **** ** ***'* chosen *** ******** ****** to *** *********, ***** is ********. *** ********* ** *************** *** *** **** and **** ** ****.

Stealing *******

***** ******* *** ****** distributed ****** *** ******* of **********, ***** **** storage ***** ******* *** recorded ***** ******** *** cameras ***. *******, **** makes ** ****** *** an ********* ** ******* video ********. *** **** need ** ** ** access *** **** ** the ****** *** **** out *** ****. *** much ** * ********* risk **** ** *** whether ***** **** ****** it **** **** ***** on *** ******** ******** of *** ************. ** expect **** **** ******** facilities ** **** **** as ************ ***** *** rest ** *** ****** to ** **** ********* about ****.

The ******** **** *** **** *******

*** **** ******** **** for **** ******* ***** in ******, **** ******* systems **** ***** **********. In ***** *******, ***** using ********* ******** ** corporate ** ********, *** incremental ***** ** * ~$100 ** **** *** camera ** *** *********** and *** ********** **** the *** ***** **** supports **** ********* ** decent, ****** *** *******.

* *** ***** ***, using **** ******* ** eliminate *********** ***** / recorders *** ********** *** the **** *** ****** gotten *****. *** ***** who ****** ****** *** lowest ****, ** ****** has ******** * ******* and ***** **** *********** to ******* ****. **** only ********* **** **** Camera *********, ***** *** higher **** ** **** cameras *** *** ~$*** SD **** **** *** camera ****** **** ***** on *****, ********** ***** HD ****** **** *** so ***********.

*** *****, ******, ***** edge ******* ********* ***** can ****, ** ** only * *** ******* (1, * ** *) is ****** *** ****. In **** *********, *** cost *** ********** ** adding * ******** ********* a *** ** *****.

Future ** **** ******* / *********

**** ******* ** ********** a ***** ** **** (see**** **** ******* ***** statistics).

*** *** ******** *** (1) ***** ***** *************, (2) *********** *** (*) size. ****** ***** *** been **** ******** ** each ***** **** *** past *** *****, ** is *** ****. ******, the ******* ***** ******* looks ** ** ** a ******* ****. ** such, ******* **** ******* when ***** **** *******.

****: **** ** * substantially ******* ******* ** our**** **** ******* / recording ********.

Comments (14)

John,

Thanks for this. Maybe the manufacturers on here will move toward improving the offerings in this area. I have advocated for edge storage for a long time. Many other technologies moved intelligence and data to the edge years ago e.g access control. At one time, all access control decisions were made by a central processor which limited response time etc., but that was 30 years ago.

To me, I guess it's just logical to keep your data locally and only access it when needed. I wonder if use has improved since your 2012 article?

We spend a lot of money shipping huge amounts of video data around to massive storage arrays, clouds, etc. Our studys have shown that <2% of video is ever actually used. So at a site with 24TB of storage you're just hogging the network infrastructure for no reason.

That's like having a 15 ton dump truck deliver a shovel full of dirt. We have a ways to go in this area but the time could be short with the right company and resources.

Given the average system size, reliable, supervised edge storage would simplify a lot overly complex installations. Not sure why it hasn't been a priority before now.

Can't wait!

Dale, nice feedback!

"I wonder if use has improved since your 2012 article?"

We have 2014 edge storage statistics here - not much adoption and a lot of barriers cited.

"We spend a lot of money shipping huge amounts of video data around to massive storage arrays, clouds, etc."

Maybe I do not understand how you are using these terms. Indeed, there might be 3 ways here:

  • 'Pure' or 'Strict' edge - which is storage inside the edge device, i.e., camera
  • 'Site' or 'Store' edge - where video is moved into centralized recorders at the site or store but distributed relative to the company / organization (i.e., 100 sites has 100 recorders, 1 at each site).
  • 'Pure' or 'Strict' centralized - where no video is stored at the edge at all, and all video is moved across the WAN to a single data center (either internal to an organization or in the 'cloud')

The 'site' or 'store' edge has been the most common solution, because of the tradeoffs of going to either 'pure' position. Is that what you are alluding to or?

Today we store as in your "Site" edge example so the site network has all of the camera traffic all of the time with a large storage platform. Since for most purposes, a site is a system, I guess I don't consider that edge.

There is a recurring discussion to consider shipping video from all sites across a WAN to a central storage. As in your "strict" centralized. Yikes!

When I'm thinking edge, I think of "Strict" edge as in a modern badge reader that stores the data locally and can function independently of the host. Storage in the camera. Access only the video needed. If we can get to a reliable 128GB+ card that is supervised by the VMS, I dont see any reason why this can't be a viable architecture for small 50 cameras or less systems.

"If we can get to a reliable 128GB+ card that is supervised by the VMS, I dont see any reason why this can't be a viable architecture for small 50 cameras or less systems."

I think you can get there in the next few years. But what is the big benefit? Eliminating the traditional recorder on-site?

I wonder about:

  • Maintenance logistics - how much more cost, complexity, headache is dealing with dozens of SD cards vs a few hard drives?
  • Cameras needing more storage - some cameras because they cover a more active area, will require more storage for the same time requirements which could be an issue (i.e., all cameras have 128GB cards, some cameras record for 50 days, others only record for 15, etc.)
  • Accessibility issues - will retrieving recordings from many different devices cause delays or issues in playback? What happens when a camera is inaccessible, which is typically more common than a recorder.

I am not against it, I am just not sure if it will be a big win for larger organizations to go 'pure' edge.

I think you're right about the larger organizations. Even so, large organizations have many intances that are small, "one off", or temorary sites where a big head end just isn't justified. Places that have no security or monitoring presence at the site (remote access only). Also, small sites that are "tethered" to a larger facility.

On an enterprise scale pure edge may become unmanageable, for the reasons you mention. For a small or medium school district, or convenience store chain, maybe not.

I think the biggest obstacle has been the manufactuers haven't taken it seriously. If I'm able to store 250 or 500GB of data on a camera and I'm only ever going to view <2% of it, why would I want to continuously move all of it over a network somewhere else to store it?

I agree about small sites.

"If I'm able to store 250 or 500GB of data on a camera and I'm only ever going to view <2% of it, why would I want to continuously move all of it over a network somewhere else to store it?"

To play devil's advocate:

(1) You need a LAN connection anyway to the camera and whether you are sending 1MB once a day or 8Mb/s, on a LAN the incremental cost is minimal (i.e., sending from the camera to a recorder on site).

(2) The cost of storage in a box (recorder, NAS, etc.) can be less expensive than the cost of storage inside a camera (micro SD card).

Some good points, a few things I'd mention as well:

The two big limitations of edge-storage are overall card size (in GB) and difficulty in accessing the video (both of these are mentioned, I'm just confirming/rehashing). Edge storage is great for cases where you only have a small number of cameras and will need to access/retrieve recorded video very rarely.

I disagree with this statement though: This is not possible in analog or HD SDI cameras that need to transmit their video to stand-alone recorders.

Edge storage is really just storing the video in a way that keeps the traffic off the network. Cameras directly connected to an NVR/DVR would really be edge storage by most practical definitions.

Something else not mentioned in the article is the use of edge storage for network load management. I see/hear people ask about this a lot, and it doesn't work like that. Generally speaking, if you don't have the bandwidth to record video live, you won't be able to "buffer" it in the camera and move/trickle it to some centralized recorder later.

In terms of SD cards, I'd strongly suggest budgeting for a 3 year replacement cycle. You can use the data sheets from most of the popular cards and some basic math to calculate an expected life span, but in my experience there is more to it than just the total number of write cycles.

The good news is that bad SD cards will tend to show their flaws pretty early, and you can catch some of this before installing them in the field. Essentially:

1) Determine how much data you will use per day (within a few GB or so, it doesn't have to be perfect). Let's assume you're storing 30GB/day.

2) Multiple your daily storage by 90(days) for a total, 2700GB in this case.

3) Take your SD card size and divide the number above by your card size (eg: 2700GB/128GB card = 21.09)

4) Create a set of 3 random files, each that is a little bit smaller than your card size (you're going to copy this file to the card and you want to make sure you don't get an error from the file being too big for the card after your OS puts some crap on the card first).

5) Mount the SD card, copy thr first file, when that completes delete it and copy the 2nd, then the third. Do this process however many times simulates 90 days (eg: 21 times in this case).

6) Use a utility like this one to check the card for errors. If there are a high number of errors discard or return the card.

Or, to state the above another way, I've seen a lot of cards fail in the first 60-90 days, if they last that long they'll probably last a couple of years. You can simulate a bunch of write-cycles with some script-fu on linux or Windows and catch faulty cards before they're 100 miles away and 20 feet in the air.

"I disagree with this statement though: This is not possible in analog or HD SDI cameras that need to transmit their video to stand-alone recorders."

You disagree because, as you acknowledge, you define the term 'edge storage' differently.

"Cameras directly connected to an NVR/DVR would really be edge storage by most practical definitions."

This article, as the title notes, is about 'camera edge storage' in particular. NVR/DVR edge storage is perfectly valid and far more commonly used than camera edge storage, simply a different thing.

"Something else not mentioned in the article is the use of edge storage for network load management."

That is covered in point 2 of common applications.

Good advice on the SD card tests. Would be interesting / potentially useful for surveillance manufacturers or distributors do this as a service.

Good advice on the SD card tests. Would be interesting / potentially useful for surveillance manufacturers or distributors do this as a service.

Do you think it's worth the 90 days additional wear you put on the card though? Maybe just a couple out of a batch would be enough, no?

Not my speciality. Or they could just go with the SanDisk surveillance cards and hope / base their performance on that.

It's a tough call. I still think camera manufacturers should make it as easy as possible to get the SD cards from them, to reduce any dumb problems like a guy grabbing whatever card is at the bottom of their office draw, etc.

Or, to state the above another way, I've seen a lot of cards fail in the first 60-90 days, if they last that long they'll probably last a couple of years. You can simulate a bunch of write-cycles with some script-fu on linux or Windows and catch faulty cards before they're 100 miles away and 20 feet in the air.

If I'm understanding you correctly, this seems odd. I don't doubt that there is a good deal of variance in reliability of cards even of the same type and capacity, but it is well known that these cards lifespan is limited by the total number of cell rewrites, at least for the working ones.

Needlessly simulating 90 days of writes would be expected to reduce the lifespan of the card by 90 days on the ones passing the test. Do alot of them fail in just 2 or 3 days? Maybe that would be enough to eliminate the worst cards.

I disagree with this statement though: This is not possible in analog or HD SDI cameras that need to transmit their video to stand-alone recorders.

Why disagree? I suppose that SDI cameras could record uncompressed video to the SD card, but I would imagine that would fill up in a matter of minutes. As for any analog camera, I don't see how its possible at all.

Needlessly simulating 90 days of writes would be expected to reduce the lifespan of the card by 90 days on the ones passing the test. Do alot of them fail in just 2 or 3 days? Maybe that would be enough to eliminate the worst cards.

It would *sort of* reduce the lifespan, but not as directly as you think.

The cards have a spec that lists the number of overwrite/bit flip cycles before major degradation, and loss/corruption of data, occurs. The majority of the cards will fit to this spec (actually, exceed it) and everything is OK, but some will not.

I'm not saying this is an exact science, it's just some recommendations based on observations. 2 or 3 days worth of testing would only equate to 1 or 2 complete flips of the card data, almost no name-brand card should fail that quickly.

This is really no different than the burn-in tests typically done with components. Due to the nature of the SD cards being installed in the cameras it's generally not easy to just walk up and replace the card. Also, because of the way they fail, and the fact that many cameras still don't do much to check card integrity and report errors (last time I looked, over a year ago), you can end up in a case where your card is either completely dead, or at a very reduced capacity. If you are not regularly accessing stored video to verify the integrity of the card you will end up in a case where when you need the video it's not going to be there.

If the card can survive a simulated 90 day stress test there is a higher chance that it will go on to be reliable. I also feel that if you're using SD cards exclusively you need to setup a maintenance window that gives you a good margin of error. If a 90-day reduction in lifespan (and again, it's not direct) is going to be a major factor, then you should be using larger cards or not relying on edge storage for your solution.

This is really no different than the burn-in tests typically done with components.

In theory it's similar, though most components I'm aware of burn 24/48 hours, not for months. Most of the reason for that though is just because of the pipeline delay cost of having them there longer.

I'm not saying it doesn't make any sense, it's just that I feel like when I put an SD card into a continuously writing cycle, that the clock is ticking. But I can see where you are coming from.

Do you think it might be helpful to 'burn' a number of cards until they fail? That way you could graph where the biggest valley of reliability lies and adjust accordingly.

My experience with Sunell OEMs when using Edge recording (on Micro SD Slot): For a strange reason the Clock resets, so the recording is affected, either the camera does not record or the recorded file has a false Time/Date info. This need to be checked when testing these kind of solutions. Sunell provides a NTP tool but this is useless when you want to apply to real life situations because you are only installing a camera with no local VMS / NVR.

Login to read this IPVM report.
Why do I need to log in?
IPVM conducts unique testing and research funded by member's payments enabling us to offer the most independent, accurate and in-depth information.

Related Reports

Maglock Selection Guide on May 16, 2019
One of the most misunderstood yet valuable pieces of electrified hardware is the maglock. Few locks are stronger, but myths and confusion surround...
Panasonic 32MP Multi Imager Camera Tested (WV-X8570N) on May 16, 2019
Panasonic has released their first multi imager models including the 32MP (4x4K) WV-X8570N, claiming "Extreme image quality for evidence capturing...
Bank Security Manager Interview on May 15, 2019
Bank security contends with many significant threats - from fraudsters to robbers and more. In this interview, IPVM spoke with bank security...
Milestone XProtect 2019 R1 Tested on May 15, 2019
For the past few years, Milestone has released quarterly software updates XProtect VMS platform. What is new and how much impact do the updates...
Bluecherry Open Sources Entire VMS on May 13, 2019
Bluecherry announced they have "released the entire Bluecherry software application open source with a GPL license". We spoke to Bluecherry's...
Mining Company Security Manager Interview on May 10, 2019
First Quantum Minerals Limited (FQML) is a global enterprise with offices on 4 continents and operations in 7 countries with exploratory operations...
10 Facial Recognition Providers Review (Secutech) on May 09, 2019
Adding to our 19 Facial Recognition Providers Profiled report from ISC West, IPVM focused on facial recognition technology for our Day 2 coverage...
Proxy Access Control Tested on May 09, 2019
Silicon Valley Access Startup Proxy raised $13.6 Million in May 2019, focusing on mobile physical access control. Beyond the fund raising, Proxy...
Aegis AI Gun Detection Video Analytics Startup on May 07, 2019
Gun detection analytic startups are increasing as the promise of AI and the threats of active shooters grow.  One company, Aegis AI, is being led...
Restaurant Security Manager Interview on May 06, 2019
Wright’s Gourmet House in Tampa, Florida has been around for over 50 years. During most of that time, there were no security measures in place. Now...

Most Recent Industry Reports

Amazon Ring Public Subsidy Program Aims To Dominate Residential Security on May 20, 2019
Amazon dominates market after market. Quitely, but increasingly, they are doing so in residential security, through a combination of significant...
LifeSafety Power NetLink Vulnerabilities And Problematic Response on May 20, 2019
'Power supplies' are not devices that many think about when considering vulnerabilities but as more and more devices go 'online', the risks for...
Facial Recognition Systems Fail Simple Liveness Detection Test on May 17, 2019
Facial recognition is being widely promoted as a solution to physical access control but we were able to simply spoof 3 systems because they had no...
Inside Look Into Scam Market Research on May 17, 2019
Scam market research has exploded over the last few years becoming the most commonly cited 'statistics' for most industries, despite there clearly...
Maglock Selection Guide on May 16, 2019
One of the most misunderstood yet valuable pieces of electrified hardware is the maglock. Few locks are stronger, but myths and confusion surround...
Panasonic 32MP Multi Imager Camera Tested (WV-X8570N) on May 16, 2019
Panasonic has released their first multi imager models including the 32MP (4x4K) WV-X8570N, claiming "Extreme image quality for evidence capturing...
Trump Signs 'Huawei Ban' - Executive Order Targeting Foreign Adversary Technology on May 16, 2019
US President Donald Trump has signed an executive order targeting technology provided by 'foreign adversaries', in what is widely being called a...
Bank Security Manager Interview on May 15, 2019
Bank security contends with many significant threats - from fraudsters to robbers and more. In this interview, IPVM spoke with bank security...
Milestone XProtect 2019 R1 Tested on May 15, 2019
For the past few years, Milestone has released quarterly software updates XProtect VMS platform. What is new and how much impact do the updates...
San Francisco Face Recognition Ban And Surveillance Regulation Details Examined on May 14, 2019
San Francisco passed the legislation 8-1 today. While the face recognition 'ban' has already received significant attention over the past few...

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