The first question you'll face when installing CCTV cameras: DVR or NVR? Both record and stream to your phone, but the difference lies in the type of camera and how it's connected, and that affects cost, quality and ease of installation.
The DVR: analogue cameras over coax
A DVR (digital video recorder) works with analogue HD cameras, the best-known types being AHD, TVI and CVI.
- The camera sends the picture over a coax cable (like a satellite dish cable, usually RG59).
- Power comes over a separate cable (usually 12 V), or a combo cable carrying coax and power together.
- The DVR is what converts the picture to digital, compresses it and records it.
Its advantages:
- Cheaper cameras and recorder.
- Very easy to install and set up.
- If the building already has old coax, you can reuse it and just upgrade the cameras.
- Coax reaches long distances (up to about 300 m depending on the cable and quality).
Its drawbacks:
- Quality is usually 2 to 5 megapixels; 8 MP exists, but it's more expensive and needs a DVR that supports it.
- Each camera needs two cables running to the recorder.
- Fewer smart features (image analysis happens in the DVR only).
The NVR: IP cameras over network cable
An NVR (network video recorder) works with IP cameras, and each camera contains a small computer that compresses the picture and sends it over the network.
- Connected with network cable (Cat5e or Cat6).
- With PoE (power over Ethernet), one cable carries both picture and power, via a PoE switch or an NVR with built-in PoE ports.
- The maximum network cable length is 100 m from the switch to the camera.
Its advantages:
- Higher quality: 4, 5 and 8 MP are common.
- Smart features in the camera itself: telling people from cars, line crossing and restricted zones.
- One cable per camera, and neater wiring.
- Flexible: a camera can be anywhere on the network, even in another building.
Its drawbacks:
- More expensive cameras.
- Setup needs a little networking knowledge (addresses and the router).
- If the network is weak or the switch is poor, the picture stutters.
A quick comparison
| DVR (analogue) | NVR (IP) | |
|---|---|---|
| Cable | Coax + power | One network cable (PoE) |
| Maximum distance | About 300 m of coax | 100 m per cable |
| Common quality | 2–5 MP | 4–8 MP |
| Smart analysis | Limited | In the camera itself |
| Cost | Lower | Higher |
| Ease of setup | Easier | Needs some networking |
There's also a middle ground: XVR (or hybrid) recorders accept analogue cameras and a few IP cameras too. Useful if you have an analogue system and want to add one or two IP cameras.
The hard drive: how much space do you need?
The space depends on the number of cameras, the quality, the compression type and whether you record continuously or on motion.
An example: 4 cameras at 2 MP with H.265 compression, each about 2 megabits per second, recording 24 hours:
- Total = 8 megabits per second = 1 megabyte per second.
- Per day ≈ 86,400 megabytes ≈ 86 GB.
- A 1 TB drive ≈ about 11 days, and a 2 TB drive ≈ about 3 weeks.
If you record on motion only, the period becomes much longer (2 to 5 times depending on the location). And H.265 compression saves roughly half the space compared with H.264. Work it out for your site with the hard drive storage calculator.
The drive type matters: use a surveillance drive (such as WD Purple or Seagate SkyHawk). An ordinary drive isn't designed to write 24 hours a day, every day, and fails sooner.
Power
- Analogue: a 12 V camera draws about 0.3–0.5 A (more at night when the infrared turns on). Use a central power supply with enough current and a margin, or a supply per camera. Work it out with the camera power calculator.
- IP with PoE: make sure the PoE budget of the switch or NVR covers all the cameras. An ordinary IP camera takes 4–8 W, and a camera with a motor or floodlights takes much more.
- Put the recorder on a small UPS so recording doesn't stop when the power blips.
The lens and field of view
The lens sets the range and the angle:
- 2.8 mm: a wide angle, suitable for a room or a nearby entrance.
- 3.6 mm: the most common, in between.
- 6–8 mm: a narrow angle that sees further with more detail, suitable for a gate or a street.
Work out the right lens for the distance with the camera lens calculator.
Viewing from your phone, and security
Both recorders connect to the router, and you view the cameras from the manufacturer's app from anywhere. But:
- Change the default password immediately, and make it strong.
- Update the recorder's firmware from time to time.
- Use the manufacturer's P2P/cloud feature instead of opening ports on the router.
- Keep the recorder somewhere locked and out of reach, so no one walks off with the hard drive.
Which should you choose?
| Location | The usual choice |
|---|---|
| A house or flat with 2–4 cameras and a limited budget | A 2 MP analogue DVR |
| A building with existing coax | A DVR, and just replace the cameras |
| A shop or office that needs detail (faces, cash) | An NVR with 4 MP cameras or more |
| A warehouse or factory with long distances and several buildings | An NVR with a good network, or fibre between buildings |
| Smart analysis and accurate alerts | An NVR |
If you want someone to design and install the whole system, see the CCTV installation service. And if the cameras are part of a smart home, see Home Assistant with ESPHome.
FAQ
Can I connect an IP camera to a DVR? No, unless the recorder is an XVR or hybrid that supports IP channels. An ordinary DVR only accepts coax.
Is a Wi-Fi camera better than a wired one? It's easier to install, but less reliable: the signal can drop, and recording is usually to a memory card inside the camera. For serious surveillance, wired is safer.