I am experiencing a few problems with my Ubiquiti and Dahua CCTV System

Feb 5, 2019
16
2
Cape Town, South Africa
I am experiencing a few problems with my Dahua CCTV System. Let me explain.
This is what I have;

NVR DHI-NVR4116HS-8P-4KS2
System Version: 3.215.0000000.4, Build Date: 2018-01-19

Litebeam LBE-5AC-Gen2 (x1)
Firmware version: WA.v8.4.2

Litebeam LiteAP AC LAP-120 (x1)
Firmware version: WA.V8.5.11

LiteBeam M5 (x2)
Firmware version: XW.v6.1.8

4MP (x4)
Device Type: IPC-HDW4431EM-AS
System Version: 2.460.0000.15.R, Build Date: 2017-09-07

5MP (x2)
System Version: 2.622.0000000.18.R, Build Date: 2017-11-10

These are the issues I am experiencing, any advice will be greatly appreciated.

1. The live video feed, in particularly from CAM5 on the NVR is still laggy with as much as 7 seconds sometimes between one frame and the next.

2. The Motion Detect Email Events are very unreliable. Sometimes there is no Event with a Snapshot sent (yet there is one without the Snapshot) or sometimes there is a corrupt Snapshot attached or a Snapshot from the wrong camera or sometimes only 1 or 2 Snapshots are attached where all 6 cameras have been selected. It is extremely unreliable.
3. Playback on the NVR when more than one camera is selected not possible or extremely slow.
4. Why are there 3 emails for every Motion Detect alert (GMail and MWEB have already blocked sending via their SMTP servers due to excessive email)? Why send one email for a Motion Detect Event and then another with the attached Snapshot? And surely a "Clear" event is pointless on a Motion Detect? These events have to be reliable or it is pointless.

Something may be of assistance is, when reviewing the live video on the NVR as compared to the same live video on my PC in Internet Explorer there is a clear difference, the live video on the NVR is laggy and breaks up but not so in Internet Explorer. I will try attach a video clip.


I have sent these questions and issues to Dahua but have not had any response to date.

Thank you
Kevin
 

Attachments

  • IMG_20190204_185248[1].jpg
    IMG_20190204_185248[1].jpg
    5.3 MB · Views: 22
Last edited:
I am experiencing a few problems with my Dahua CCTV System. Let me explain.
This is what I have;

NVR DHI-NVR4116HS-8P-4KS2
System Version: 3.215.0000000.4, Build Date: 2018-01-19
..
Something may be of assistance is, when reviewing the live video on the NVR as compared to the same live video on my PC in Internet Explorer there is a clear difference, the live video on the NVR is laggy and breaks up but not so in Internet Explorer. I will try attach a video clip.
..

Thank you
Kevin

Hi Kevin aka @CandyMan_ZA

Re:
Something may be of assistance is, when reviewing the live video on the NVR as compared to the same live video on my PC in Internet Explorer there is a clear difference, the live video on the NVR is laggy and breaks up but not so in Internet Explorer.

Check to see if there is a way to get a "top" ( unix / linux ) / "task manager" style command run on the NVR so that you can see the load on the NVR.

Sounds like NVR ( 4xxx model - thus a lite version, less powerful compared to the 5xxx line ) maybe hitting a resource limit.

Remember NVRs are designed to record as a priority, and additional resources are then used for display.

You can try to see if changing the encoding to H.264 works better for performance. ( naturally at the cost of storage consumed )

Remember NVRs are lower powered embedded systems compared to a PC.

If you need a live display, consider using the PC for the display.
 
I was thinking along the same lines, your camera settings may be too high for your nvr to cope.
 
The NVR has a maximum incoming bandwidth of 80mbps. Turn down your frame rate and or bit rate a bit or switch to a different type of compression.

What's overall the network topology look like? How are you using the wifi?
 
Hi Kevin aka @CandyMan_ZA
Check to see if there is a way to get a "top" ( unix / linux ) / "task manager" style command run on the NVR so that you can see the load on the NVR.
Sounds like NVR ( 4xxx model - thus a lite version, less powerful compared to the 5xxx line ) maybe hitting a resource limit.
Remember NVRs are designed to record as a priority, and additional resources are then used for display.
You can try to see if changing the encoding to H.264 works better for performance. ( naturally at the cost of storage consumed )
Remember NVRs are lower powered embedded systems compared to a PC.
If you need a live display, consider using the PC for the display.
It is a dedicated NVR device, I am not able to install any 3rd party apps. The compression is set to H.264H. I have changed it to H.265 now and will monitor for any improvements.

You may need to lower the bitrate and or frame rate on a camera or two, to the point that the NVR can handle it.
Currently I have the Bit Rate set to 4096Kb/s and Frame Rate set to 20FPS. I have tried setting the Resolution to the lowest on all the cameras, ie. 720P, it made a little difference but still not smooth video. I also have not enabled the Sub Stream.

The NVR has a maximum incoming bandwidth of 80mbps. Turn down your frame rate and or bit rate a bit or switch to a different type of compression.
What's overall the network topology look like? How are you using the wifi?
According to the Litebeam on my premises incoming bandwidth used is about 50Mbps
This is what the layout is, note the 4 Litebeams (.21, .22, .23 and .24) and the 6 cameras.
 
Last edited:
Not on the NVR. I have not seen any difference since changing the compression to H.265.
NVR-4116-4KS2 on 3.215.0000000.4
d7c7b8c663c32ee747bc446e37ce5b80.jpg
 
@Barboots do you perhaps make use of the Motion Detect Events and Email notifications?
Yes, but I am no expert. I have also had the inconvenience of having to change NVR models due to a failed power supply in my 4116HS-4KS2.

I have moved from "motion detect" to "IVS tripwires". They false much less often. They take more setup and I am still learning. Unfortunately the required settings are a bit all over the place but I am getting emails from with snapshots attached. I also get a bunch of other emails I'd rather not receive, and tracking down the source settings is my current task. The "clear" ones I'm filtering via my email client as I am now pretty certain they are not optional.

I'd like to help, but maybe I will lead you astray with my own lack of understanding?

Cheers, Steve
 
Turn on substreams on your cameras, it will help the NVR save some CPU.

You could try recording the cameras directly to a PC using SmartPSS, this would increase network bandwidth but would help you figure out if the NVR simply isn't keeping up or if something else is going on.
 
  • Like
Reactions: mat200
The skipping has to be something to do with a bad switch or connector somewhere in your network. Try unplugging one camera at a time and see if the skipping or lag is reduced. We saw this issue on a fairly large install and come to find out, there was a 10/100 switch that was old and causing a bottle neck. We noticing skipping in the recording when recording continuously also. You may want to set your recording to continuous to see if the issue shows up there. I believe the processor works harder when recording in just motion.
 
The skipping has to be something to do with a bad switch or connector somewhere in your network. Try unplugging one camera at a time and see if the skipping or lag is reduced. We saw this issue on a fairly large install and come to find out, there was a 10/100 switch that was old and causing a bottle neck. We noticing skipping in the recording when recording continuously also. You may want to set your recording to continuous to see if the issue shows up there. I believe the processor works harder when recording in just motion.
Speeds not withstanding, you can also have issues with a live video feed on wifi because every wifi device isn't transmitting 100% of the time. They have to take turns. I'm not surprised they're having issues trying to use 6 cameras over wifi. This is why I asked about network topology. A bad cable or slow switch somewhere is also possible.

If you carefully examine the recorded video for various cameras you may find lots of dropped frames, in other words it may be worse than you realize.