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

Discussion in 'Dahua' started by CandyMan_ZA, Feb 5, 2019.

Share This Page

  1. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    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
     

    Attached Files:

    Last edited: Feb 5, 2019
  2. mat200

    mat200 IPCT Contributor

    Joined:
    Jan 17, 2017
    Messages:
    3,901
    Likes Received:
    2,026
    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.
     
    redfive and looney2ns like this.
  3. looney2ns

    looney2ns IPCT Contributor

    Joined:
    Sep 25, 2016
    Messages:
    6,664
    Likes Received:
    4,796
    Location:
    Evansville, Indiana
    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.
     
  4. Jagradang

    Jagradang Getting the hang of it

    Joined:
    Aug 10, 2017
    Messages:
    92
    Likes Received:
    25
    I was thinking along the same lines, your camera settings may be too high for your nvr to cope.
     
  5. tangent

    tangent IPCT Contributor

    Joined:
    May 12, 2016
    Messages:
    3,754
    Likes Received:
    2,415
    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?
     
    fenderman likes this.
  6. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    Location:
    Cape Town, South Africa
    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.

    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.

    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: Feb 6, 2019
  7. Barboots

    Barboots Getting the hang of it

    Joined:
    Mar 15, 2018
    Messages:
    146
    Likes Received:
    59
    Location:
    Perth, Western Australia
    I'm pretty sure that these machines allow you to view the incoming bandwidth. I'll check later...
     
  8. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    Location:
    Cape Town, South Africa
    Not on the NVR. I have not seen any difference since changing the compression to H.265.
     
  9. Barboots

    Barboots Getting the hang of it

    Joined:
    Mar 15, 2018
    Messages:
    146
    Likes Received:
    59
    Location:
    Perth, Western Australia
    NVR-4116-4KS2 on 3.215.0000000.4[​IMG]
     
    mat200, looney2ns and CandyMan_ZA like this.
  10. Barboots

    Barboots Getting the hang of it

    Joined:
    Mar 15, 2018
    Messages:
    146
    Likes Received:
    59
    Location:
    Perth, Western Australia
    Also:[​IMG]
     
    mat200 and CandyMan_ZA like this.
  11. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    Location:
    Cape Town, South Africa
    I'll have a look direct on the NVR UI when I get home, I don't see anything in the remote UI (ie. IE or Easy Viewer)
     
  12. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    Location:
    Cape Town, South Africa
    @Barboots do you perhaps make use of the Motion Detect Events and Email notifications?
     
  13. Barboots

    Barboots Getting the hang of it

    Joined:
    Mar 15, 2018
    Messages:
    146
    Likes Received:
    59
    Location:
    Perth, Western Australia
    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
     
    mat200 and CandyMan_ZA like this.
  14. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    Location:
    Cape Town, South Africa
    thanks Steve, I have also used and currently using IVS (Intrusion Detect) and experience similar results.
     
  15. Barboots

    Barboots Getting the hang of it

    Joined:
    Mar 15, 2018
    Messages:
    146
    Likes Received:
    59
    Location:
    Perth, Western Australia
    Maybe reboot? I've found some settings don't "take" so well unless you do.
     
  16. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    Location:
    Cape Town, South Africa
    Oh I have rebooted many times :) next boot is out the window :facepalm:
     
    looney2ns likes this.
  17. tangent

    tangent IPCT Contributor

    Joined:
    May 12, 2016
    Messages:
    3,754
    Likes Received:
    2,415
    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.
     
    mat200 likes this.
  18. bababouy

    bababouy Known around here

    Joined:
    Mar 29, 2015
    Messages:
    934
    Likes Received:
    1,213
    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.
     
    c hris527 and mat200 like this.
  19. tangent

    tangent IPCT Contributor

    Joined:
    May 12, 2016
    Messages:
    3,754
    Likes Received:
    2,415
    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.
     
    mat200 and fenderman like this.
  20. CandyMan_ZA

    CandyMan_ZA n3wb

    Joined:
    Feb 5, 2019
    Messages:
    12
    Likes Received:
    1
    Location:
    Cape Town, South Africa