1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Storage What kind of hardware for a DVR?

Discussion in 'Hardware' started by Cthippo, 26 Sep 2016.

  1. Cthippo

    Cthippo Can't mod my way out of a paper bag

    Joined:
    7 Aug 2005
    Posts:
    6,783
    Likes Received:
    102
    I'm toying around with the idea of building a home surveillance system and I'm wondering what kind of hardware I need for the DVR. I would be using 2 or 3 HD IP cameras hooked to a gigabit switch, so what does it take to capture and record that many streams at a reasonable framerate? Is such a system going to be heavily CPU limited or is the storage going to be the bottleneck?

    Thanks.
     
  2. play_boy_2000

    play_boy_2000 It was funny when I was 12

    Joined:
    25 Mar 2004
    Posts:
    1,531
    Likes Received:
    83
  3. Guest-16

    Guest-16 Guest

    Depends if you're encoding on the camera itself, in which case you'll get a compressed feed to save that should be low CPU use, or, raw footage from the camera that uses the CPU to do the compression. Surely you're not shooting 30FPS though? Instead ~1-5FPS? Very low storage + CPU use from three cameras.
    Or in an ideal world you'll have motion detection that'll trigger on the camera.
     
  4. Cthippo

    Cthippo Can't mod my way out of a paper bag

    Joined:
    7 Aug 2005
    Posts:
    6,783
    Likes Received:
    102
    The goal is to be able to capture at 30 FPS and I would trade resolution for better framerate. The plan, assuming I actually get around to trying this, is to run the DVR as a headless server and pull the footage off with the desktop. It would be triggered by a remote switch or button to start and stop recording.

    I've got a nice 1u server I inherited, but not sure how much grunt it has.
     
  5. Xlog

    Xlog Minimodder

    Joined:
    16 Dec 2006
    Posts:
    664
    Likes Received:
    66
    Unless you are using GigE cameras and all you want is to record, than pretty much any HW will do (prob even rpi2 would be enough, gig switch is an overkill). If you want to do something more on server side, then it will greatly depend on DVR software.
     
  6. play_boy_2000

    play_boy_2000 It was funny when I was 12

    Joined:
    25 Mar 2004
    Posts:
    1,531
    Likes Received:
    83
    All IP cameras do encoding on-cam. Don't bother dicking around with motion triggering, just dump a 2TB HDD in there and set it to continuous record. 5mbps 1080p @ 30fps, will be more than enough bitrate for moderate motion in a fixed camera (non-PTZ). You could probably even push that down below 3.5mbps with I-Frame spacing increased to 4 seconds.

    As I said above, this isn't complicated, all you're doing is taking 10-15 mbit/s of UDP traffic and writing it to disk. I ran 9x cameras (totaling ~20mbps) for years on a Athlon x2 5000+ and the cpu usage never exceeded 10%.
     
    Guest-16 likes this.

Share This Page