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

Joined
Feb 5, 2019
Messages
16
Reaction score
2
Location
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

Last edited:

mat200

IPCT Contributor
Joined
Jan 17, 2017
Messages
13,665
Reaction score
22,764
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.
 

looney2ns

IPCT Contributor
Joined
Sep 25, 2016
Messages
15,521
Reaction score
22,657
Location
Evansville, In. USA
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.
 

Jagradang

Getting the hang of it
Joined
Aug 10, 2017
Messages
172
Reaction score
36
I was thinking along the same lines, your camera settings may be too high for your nvr to cope.
 

tangent

IPCT Contributor
Joined
May 12, 2016
Messages
4,342
Reaction score
3,523
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?
 
Joined
Feb 5, 2019
Messages
16
Reaction score
2
Location
Cape Town, South Africa
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:

Barboots

Pulling my weight
Joined
Mar 15, 2018
Messages
408
Reaction score
241
Location
Perth, Western Australia
@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
 

tangent

IPCT Contributor
Joined
May 12, 2016
Messages
4,342
Reaction score
3,523
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.
 

bababouy

Known around here
Joined
Mar 29, 2015
Messages
1,053
Reaction score
1,630
Location
almost to the bottom
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.
 

tangent

IPCT Contributor
Joined
May 12, 2016
Messages
4,342
Reaction score
3,523
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.
 
Top