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

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.

Read this IPVM report for free.

This article is part of IPVM's 6,544 reports, 882 tests and is only available to members. To get a one-time preview of our work, enter your work email to access the full article.

Already a member? Login here | Join now

Related Reports

Surveillance Storage 101 on Mar 23, 2020
This guide teaches the fundamentals of video surveillance...
VSaaS 101 on Mar 25, 2020
Video Surveillance as a Service (VSaaS) is the common industry term for cloud...
NetApp Presents Hybrid Cloud Video Archive on May 11, 2020
NetApp presented its hybrid S3 cloud video archive at the April 2020 IPVM New...
Video Analytics 101 on Mar 16, 2020
This guide teaches the fundamentals of video surveillance...
AndroVideo Presents Edge AI Face Recognition Cameras on Jun 26, 2020
AndroVideo presented its AI at the edge face recognition cameras at the May...
Hanwha Presents AI Analytics and First 8K Camera on May 11, 2020
Hanwha presented their AI Analytics and the "Industry's First 8K" camera at...
VMS 101 on Mar 03, 2020
This guide teaches the fundamentals about video management...
Video Surveillance Cameras 101 on Feb 25, 2020
Cameras come in many shapes, sizes and specifications. This 101 examines the...
Video Surveillance Architecture 101 on Feb 18, 2020
Video surveillance can be designed and deployed in a number of ways. This 101...
Video Surveillance Trends 101 on Apr 01, 2020
This report examines major industry factors and how they could impact video...
Genetec Presents Security Center for Airports on Apr 28, 2020
Genetec presented its Security Center for Airports at the April 2020 IPVM New...
Video Surveillance Business 101 on Mar 30, 2020
This report explains the fundamental elements of the video surveillance...
Converged vs Dedicated Networks For Surveillance Tutorial on Feb 12, 2020
Use the existing network or deploy a new one? This is a critical choice in...
Milestone Presents XProtect On AWS on May 04, 2020
Milestone presented its XProtect on AWS offering at the April 2020 IPVM New...
ISS Presents Face As A Credential and UVSS on Apr 30, 2020
ISS presented its security platform, including access control integration,...

Recent Reports

Temperature Tablet Shootout - Dahua, Hikvision, ZKTeco, TVT + 5 More on Sep 30, 2020
Temperature tablets, aka terminal or stations, have emerged as a 'low-cost...
New Products Show Fall 2020 Tomorrow Bosch, FLIR, Hanwha, Tyco, Avigilon More! on Sep 30, 2020
IPVM's sixth online show concludes tomorrow with our special temperature...
ButterflyMX Raises $35 Million on Sep 30, 2020
Startup ButterflyMX has raised $35 million for its smartphone based intercom...
Worst Access Control Manufacturers 2020 on Sep 30, 2020
200+ Integrators told IPVM "In the past year, what access control...
Access Control Levels and Schedules Tutorial on Sep 29, 2020
Configuring access levels and setting up schedules is central to maintaining...
Avigilon / Motorola VS Virtual ISC West on Sep 29, 2020
ISC West has historically been so dominant that no player would think of...
Dartmouth College Deploys K3 Temperature Screening on Sep 29, 2020
While Dartmouth College has a $6+ billion endowment, the College has bought...
Hanwha AI Object Detection Tested on Sep 28, 2020
Hanwha has added detection and classification of people, cars, clothing...
Favorite Access Control Manufacturers 2020 on Sep 28, 2020
200+ Integrators told IPVM "What is your favorite access control management...
OnTech Smart Services Partners With Google and Amazon To Compete With Integrators on Sep 25, 2020
A pain point for many homeowners to use consumer security and surveillance is...
The Future of Metalens For Video Surveillance Cameras - MIT / UMass / Immervision on Sep 25, 2020
Panoramic cameras using 'fisheye' lens have become commonplace in video...
Hikvision Sues Over Brazilian Airport Loss on Sep 24, 2020
Hikvision was excluded from a Brazilian airport project because it is owned...
China General Chamber of Commerce Calls Out US Politics on Sep 24, 2020
While US-China relations are at an all-time low, optimism about relations...
Verkada Disruptive Embedded Live Help on Sep 24, 2020
Call up your integrator? Have someone come by the next day? Verkada is...
IP Networking Course Fall 2020 - Last Chance - Register Now on Sep 23, 2020
Today is the last chance to register for the only IP networking course...