r/Dahua

▲ 3 r/Dahua

Having been at this for several weeks with lots of searching and many hours of troubleshooting, I finally found an answer to this specific Dahua issue that no single post seemed to tie together accurately.

​

System:

- Dahua NVR, with native "plug and play" topology

- 2 brand new Dahua 6MP TiOC Pro cameras

- Directly connected to NVR PoE port

- Continuous 24/7 recording

Critical for this issue: I know they are brand new, so failing quartz, worn out flash memory, clock burnout, or clock component failure would be a highly unlikely cause from the get go.

Symptoms observed:

- Cameras were drifting apart by fractions of a second over a long time

- One channel was consistently running about 0.5 seconds behind the other over a 12 hour period

- Playback on that lagging channel would freeze for a moment and then fast-forward very quickly "catching up"

- Subtle "rubber banding" under very heavy motion outdoors

- One channel was just microscopically behind the other even during normal operation

This looks like an obvious NTP/RTC issue to most observers but from the data I collected over days, I don't believe that's the case for most of the issue, if at all.

My theory: this is caused by a combination of 2 separate issues:

  1. Dahua firmware sync thresholding

  2. Encoder pipeline overload for certain 6MP TiOC Pro profiles operating at 25fps.

PART 1: Time sync investigation

The initial troubleshooting involved a myriad of combinations:

- Enable NTP on the NVR

- Enable NTP on the cameras directly

- Use "pool.ntp.org" as a source

- Use "google.com" NTP source

- Use "NVR camera sync"

- Experiment with the intervals in the NVR sync setting

- Cold reboots performed after each change

In the end, the channels still drifted significantly over time, albeit with varying rates. It was consistent, however, that one channel was always trailing the other by a constant percentage. The drift wasn't massive, but it was still a few fractions of a second each hour.

The key takeaway here is that the magnitude was incredibly small, so a catastrophically bad oscillator or a severely failingRTC chip seems very unlikely to be the primary cause. Instead, I suspect that Dahua's firmware uses a thresholding value when checking the RTC clock. If the drift is below a certain value, the firmware treats it as "within tolerance" and doesn't actively correct the timestamp because it would theoretically destabilize the stream and GOP sync. I believe the firmware implicitly treats even micro drifts below this internal threshold as acceptable quartz tolerance and allows them to accumulate between channels over many hours.

BOGUS TIME CACHE FLUSH

At one point, I decided I wanted to force a huge deviation in timestamps to see if the system could even detect it. I disabled NTP on everything, temporarily set the system clock to be completely wrong, disabled DST, set time zone to Beijing GMT+8, and performed a full system reboot. On reboot, the cameras and NVR re-negotiated the Plug and Play connection, and performed an RTC rewrite to both cameras. It was this action that provided my first major insight: when the NVR had to "redo" the RTC, it finally synced the cameras correctly, drastically reducing long term desync. My theory is that the NVR was retaining a cached synchronized value in volatile memory, and not correcting aggressively when the drift was under the defined threshold.

PART 2: Playback catch up issue

Now that the cameras seemed to be time-syncing properly, the "catch up" issue still persisted on one of the streams: a short freeze, followed by rapid fast forwarding and re-syncing. I no longer attributed this to RTC failure at this point.

THE ACTUALBOTTLENECK

My original configuration was the default 6mp, 25fps, CBR High bitrate for thecameras.

I believe that in some hardware implementations for the 6MP TiOC Pro line, the processor is unable to sustain 25fps video, especially on Outdoor scenes. The workload:

- Motion detection (complex)

- AI event processing

- Time sync corrections (if enabled)

- Simultaneous streaming to NVR

- Recording of the video

- Streaming from NVR to client (if needed)

This looks to me like a bottleneck in the encoder. Here's what I think is happening:

  1. Complex outdoor scene triggers heavy motion

  2. Encoder processing demand exceeds what the processor can consistently output at 25fps

  3. Frames are dropped by the encoder

  4. The NVR's buffer starts to run out of valid data

  5. Playback on the viewer shows a stutter/freeze

  6. The NVR's buffer catches up by playing the stream back faster to compensate for the missing frames and get the current timestamp in sync again

  7. This creates the visible "rubber band" effect.

I also suspect that the encoder latency contributes to the time sync issue as well, not a failingRTC. The delay might not be constant, but will vary depending on the workload and result in a long term micro desync.

FINAL STABLE CONFIGURATION

TIME CONFIGURATION

- Disable NTP on the cameras

- Disable NTP on the NVR after the initial, full sync described above.

- Disable DST

- One camera acts as the single time authority by its connection to the NVR

- Periodic manual sync required

VIDEO CONFIGURATION

- 6MP

- 15FPS (This made the difference)

- VBR

- Maximum Bitrate: 8192Kbps

- Compression: Standard H.265

- GOP / I Frame Interval: 30

WHY 15fps CHANGED EVERYTHING

When I dropped the framerate from 25fps down to 15fps, the workload for the encoder was cut nearly in half. Suddenly, there was no stuttering, no freeze-ups, no rubber banding on playback. The streaming stability increased dramatically, as did the ability for the system to keep the time synced up over long periods. This made me certain that the bottleneck was in the encoder throughput for these specific cameras. I am now strongly convinced that 15fps is the stable operational framerate for continuous outdoor high complexity recording for these cameras.

STORAGE

I tested storage: two 6MP cameras, at 8192Kbps VBR running for days. I estimate this will yield about 16 days of retention on a 3TB drive, which is a very acceptable trade-off for stream stability and image quality.

FINAL CONCLUSION

If you're experiencing any of these symptoms with Dahua cameras:

- Tiny but persistent channel desynchronisation

- Freezing and "catching up" behavior on playback

- Rubber banding under motion

- One channel consistently delayed by a tiny margin

- General stream instability at high FPS

Then check BOTH Dahua's time sync thresholding and your camera's encoder load. For these specific Dahua 6MP TiOC Pro cameras, the main culprit seemed to be exceeding the encoder's sustainable processing capacity at 25FPS, exacerbated by the firmware's preference for tolerating very minor micro-drift. Bringing the FPS down to 15 stabilized the system and resolved all observed issues.

reddit.com
u/Strict-Investment-2 — 2 days ago
▲ 2 r/Dahua

EZVIZ CS-H6c WiFi cameras found via ONVIF search on Dahua XVR1B08 but won't authenticate

Hey everyone, hoping someone here has dealt with this before.

I have two EZVIZ CS-H6c-R101-1G2WF WiFi cameras and a Dahua DH-XVR1B08-I/T XVR. Both devices are on the same subnet, cameras have static IPs. The RTSP stream works perfectly — VLC pulls it up fine with the verification code. So network connectivity is not the issue.

The XVR finds both cameras instantly via Search Device as ONVIF devices. That part works fine. The problem is authentication — they show a red dot, login failed/timeout when added. This was happening on V4.003 and still happens after upgrading to V4.004 which claimed to add WiFi camera support.

Things I've already tried:

  • Every manufacturer option in the XVR manual add dropdown (Private, ONVIF, etc.)
  • Plug and Play toggle on the XVR
  • EZVIZ desktop app and iVMS-4200 Remote Configuration to check camera settings
  • Direct browser access to the camera on port 80 and 8000 — both refused connection

The verification code from the camera label works for RTSP and Hik-Connect but not for ONVIF authentication on the XVR. Open to any suggestions on what I might be missing.

Also a separate but related question — since IMOU is a subsidiary of Dahua like EZVIZ is of Hikvision, has anyone had better luck integrating IMOU WiFi cameras with a Dahua XVR? Wondering if that's a viable alternative or if it runs into the same issues.

Thanks

reddit.com
u/hercules4molympus — 7 days ago
▲ 1 r/Dahua

Help pls

I have my dvr from my village house where there was a theft happened on my house so i wanna check my cctv footage but the issue is i don't think dvr is working so I can't connect it to anything rn and I want the records to my pc i have this hdd from my dvr but when I plug it in pc it doesn't show me any videos records I know dvr uses different formats of recording that's why it doesn't show me anything so I have heard people have special software for it so pls do tell names of them and would be appreciated if you also explained bit how to use the software and free of course will be better but I don't mind buying a software if needed thank you

u/Sweet-Relative-821 — 8 days ago
▲ 0 r/Dahua

Disco rígido o ssd?

Hola alguno tuvo experiencia con el ssd de dahua ? Estoy pensando en utilizar uno de 512gb ya q no preciso de tanto. Y me parece razonable el precio del ssd

reddit.com
u/GrinGoFix — 7 days ago
▲ 3 r/Dahua

Dahua not showing picture..

As the title says recently I don't get a picture of someone driving or walking past my house in the event tab section. I have to play the video to see who it is, which is annoying as I like to quickly look at the picture.

u/victweety — 11 days ago
▲ 2 r/Dahua

[DMSS] Account login issues on Android, but fine with iOS

Good morning.

I’m having an issue with the DMSS app for Android, if someone has any knowledge to share please?

I have iOS devices, have logged in, can log out and back in again without issue. My wife has an Android device and I’ve attempted to log in with the same credentials however it’s reporting incorrect username and/or password.

I’ve deleted the Android app, cleared cache, cleared data, enabled all permissions and it still fails to log in.

All devices are on the same network. The NVR is hardwired. And I have no issues accessing cameras on my iOS devices either connected on wifi, or away from home. All firmware is up to date across everything.

Are there any tips or tricks left to try please?

reddit.com
u/mrpayner — 13 days ago
▲ 2 r/Dahua

Factory Seal issue on Dahua DH-IPC-HDW3641EM-AS-0280B-AUS 6MP

Hi All,

Wondering if anyone else has experience this issue in the past ?

I had this camera installed for about 4 years with no issues and recently it condensated from the inside so decided to open it and figure out what would have caused this since no warranty on the unit.

Upon inspection, I discovered a significant factory assembly error. The main internal O-ring gasket was incorrectly seated during manufacture. The gasket was pinched and crushed outside of its designated groove when the housing was originally torqued down at the factory.

It appears that internal wiring was not properly routed during assembly. The unit is now fixed sealed the unit again and replaced the silica gel pack to absorb any moisture.

Didn't trust it in operation so decided to upgrade the camera to the 3866 8mp version.

Of course Dahua doesn't want to know about it acknowledge or offer any assistance.

u/Memz180 — 12 days ago