Worlds First Review - Dahua - IPC-Color4K-X / DH-IPC-HFW5849T1-ASE-LED - Full Color 4K Camera

Wildcat_1

Known around here
Joined
Dec 9, 2018
Messages
2,052
Reaction score
5,876
Location
US
î checked it fast... and now i have to go to bed :wave:

stutter is ONLY on liveview and recordview in smartpss/internet explorer with general/ai codec ... smart works fine. it is also on record if i record directly from live view/record view to my harddrive.

if i download a full block via webinterface (i have 8 minute default blocks) from the sdcard and watch on pc, there is no stuttering on any codec setting !

looney has a 37sec dav clip, so it must be a record with the plugin. it seems that dahua made changes to the codec and the encoder of smartpss/internet explorer plugin was not updated...

feel free to check looney :) i go to bed now...
Yes, it’s important to separate live and playback web interfaces web/smartpss etc) vs direct downloaded from SD and played back local to PC. This is also why I mentioned that Live View is not a huge concern at the moment ONLY because this definitely has an explanation and potential cause (in fact more than 1 on later FW that I’m seeing currently) I’ve placed in the bug. It’s also important to test against your downstream NVR or NVR platform to understand if it’s playing back well there or not.

There are some other anomalies though that are impacting offline caps and overall performance too that I’m looking into now and will update on when testing complete.
 

Wildcat_1

Known around here
Joined
Dec 9, 2018
Messages
2,052
Reaction score
5,876
Location
US
All, ok I promised I would update when I had finished testing against some theories I’ve been working on against new FW bugs I've come across so here we go. I’ve found a potential of 4 new bugs doing this testing and am detailing them below in no particular order.

This is a longer post but wanted to make sure you had the detail. I’ve already fed all of these details plus files, logs, my codebase change recommendation notes back to Dahua development engineers and notified @EMPIRETECANDY for his awareness and to help continue to drive these with me as a priority.

Lets go:


1 - Settings reverting/adjusting when logging out of Web GUI

This affects exposure and other under the hood adjustments which culminates in you ending up with a very different (in some cases flatter) image than you just set and saved.​
Affects: Primarily 7/09 FW, have not seen this issue on 6/11 or 6/24 yet. Only mitigation is to downgrade currently​


2 - Features/Functions Affecting Performance

After thorough testing I can see that certain functions (such as ROI I mentioned before but others too) and intensive tasks start impacting the cameras overall performance. This can be seen in a number of ways in my testing over the past few days but one key one is to look at network (NW) latency. You’ll see a performance degradation in the cameras latency under certain situations. This can take camera response times even through simple ICMP (ping) requests from 1-2ms to in excess of 150+ms and in many cases sustained while the camera is under a performance hit. If you monitor traffic on a managed switch between ports (cam and NVR etc) you’ll also notice this when it happens. Reducing the tasks the camera is doing assists but in some cases requires a reboot and cleaning of old files out. After that, performance returns to normal until the next highly intensive task.​
Therefore this points to resource handling of the camera and potentially a memory leak type of effect. The impact of this can be localized such as Live View / Play Back View and other Web GUI functions BUT also can impact the overall stream (local or remote) as I mention in Bug 3 below.​
I want to be clear this doesn’t happen all the time and does appear to be a perfect storm type of issue but wanted to mention it as I was able to track it down.​
Affects: I’ve seen this across all FW’s now I’ve been able to pinpoint the indicators. While this is somewhat addressed in 7/9 (peak network latency seen around 64ms vs 150ms+ on 6/11 and 6/24) due to the ROI bug I raised there, as I mentioned this still needs more work regardless of FW version to resolve the issue completely.​


3 - Frames Per Second Anomalies

I’ve now been able to trap (took me a long while and a lot of eyestrain) a very strange anomaly with FPS. Specifically the camera (under certain circumstances) is not meeting the FPS you set for recording. While some of this can be seen as part of the performance hit (it certainly shows up more when the camera is under strain) it also comes down to the underlying codec and encoding algorithms function.​
Now I have to stress to anyone that wants to recreate this, you ABSOLUTELY WON’T see this all the time. I have though been able to replicate and trap this a couple of times and I see in some cases just 1 frame dropped, i.e. 29 FPS on a 30 FPS record BUT weirdly I also see this impact the other way, wait for it………..31 FPS on a 30 FPS record. I’ve put this through an editor, thrown timecode and frame counters at it and even manually counted frames and can 100% state this is occurring.​
I even troubleshot this across storage mediums (to rule out write speed / transfer issues) and can prove that this is impacting the stream itself rather than just local (SD) storage. I took the same clip captured to both a set of SD cards and a Dahua 5216 NVR and sure enough saw the same issue. Again to be clear, this appears very randomly and points to both resource constraint + codec encoding algorithm needing tweaking.​
Affects: Again I’ve seen this across all FW but it is rare. Glad I was able to trap it.​


4 - Auto Iris and Auto Gain Controls Don’t Disengage

This is another new and interesting one that I’ve finally been able to pinpoint. I noticed that when I was dialing in this cam through this testing of the new FW (past few days) there were times where a setting would almost rubber band and trigger Auto Iris and AGC to go crazy. Then even if you reversed your change (for example moving gamma to 48 from 50 but then back to 50) it would not affect the image.​
In pulling apart the configs and looking at the codebase I can now see whats happening. Auto Iris and AGC have been tweaked to such a small tolerance (to preserve color at night) that if you breach those settings through decreasing too much light (not ‘real’ light but exposure, gamma etc) they will kick in and quick. This is not unique to Dahua at all BUT it is something I noted in 6/24 (more overly aggressive AGC & Auto Iris) and why you keep hearing me state adjustments should be from 6/11.​
You’ll notice this with 2 key characteristics, 1) watch your sky at night go from close to black or inky blue to brighter blue that changes the color balance of the entire scene with more noise and 2) watch a hard surface like a driveway or sidewalk go soft, desaturated and appear overall washed out, lacking sharpness. These are all indicative (as I mentioned in my videos during this review) of too aggressive AGC + Auto Iris algorithms.​
Luckily I’ve found a little workaround for this one. If you suddenly see your image get impacted this way, go to the Exposure tab, slide Exposure Compensation all the way down to something like 3 and then move back to (with 1 or 2 clicks of the slider bar) to your chosen (and correct for FOV) comp setting. You’ll see the sky (in the example above) go black or inky blue again, the image return to its correct look and this will stay until you adjust light impacting setting again on the camera that breaches the threshold.​
Affects: All FW currently BUT you see it more in less well lit FOV’s as the AGC and Auto Iris will of course kick in more quickly with darker scenes. Using the illuminators, a bulb, additional light that many have on scene will mitigate this happening. I do want to stress again though, as I did in my review that these 2 controls (AGC and Auto Iris) are under the hood and in the codebase, not user facing.​


Well, after that long post hopefully you’re still with me. If there is a silver lining to ALL of the issues above, its that these are primarily FW related (at least from how I see the cam reacting today and what I see in the codebase) therefore easy to fix by Dahua.

I’m pushing hard to get a new test FW ASAP with bug fixes for these and the other bugs I’ve raised and again am ensuring that all of these are built on 6/11 (which has way less aggressive AGC/Auto Iris for a start).

Will keep you updated.

HTH
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,141
Reaction score
49,010
Location
USA
@Wildcat_1 - so, do you think this auto iris and AGC bug you found could explain why the image stays brighter for so much longer when increasing shutter speeds?

As I mentioned in my review, when I first left everything at auto/default and just started playing with shutter, I was surprised how fast I could go with the shutter until the image started to get darker. Like after getting to 1/250 and not seeing it get darker, I did 1/10,000 just to see if it got dark because I thought maybe it was broke.

With that said, I wasn't noticing the typical issues when we would manually adjust iris and gain on other cameras, but wanted to see your thoughts?
 

Parley

Known around here
Joined
Dec 19, 2015
Messages
5,636
Reaction score
16,081
Location
Cypress, California
On mine, I turn off daylight savings time but it wants to check the block again and turn it back on. That has to be the last thing I do before exiting the program otherwise my camera is an hour off. Also when I try to download the earlier program it says I have the latest program and I cannot download it. I know there is trick somewhere to get around that problem. ;)
 

looney2ns

IPCT Contributor
Joined
Sep 25, 2016
Messages
15,646
Reaction score
22,915
Location
Evansville, In. USA
On mine, I turn off daylight savings time but it wants to check the block again and turn it back on. That has to be the last thing I do before exiting the program otherwise my camera is an hour off. Also when I try to download the earlier program it says I have the latest program and I cannot download it. I know there is trick somewhere to get around that problem. ;)
How are you trying to download the firmware? Are you trying to use the update in the cameras web GUI? I have never seen that work, it always says that you have the latest. I wish they would remove that it has never worked.
The best way is to have Andy send you whatever firmware you're after or check downloads here, or in Andy's empire tech subform.
 

Parley

Known around here
Joined
Dec 19, 2015
Messages
5,636
Reaction score
16,081
Location
Cypress, California
How are you trying to download the firmware? Are you trying to use the update in the cameras web GUI? I have never seen that work, it always says that you have the latest. I wish they would remove that it has never worked.
The best way is to have Andy send you whatever firmware you're after or check downloads here, or in Andy's empire tech subform.
Yes, the camera's GUI. Maybe I will just wait for the next software update.
 

Wildcat_1

Known around here
Joined
Dec 9, 2018
Messages
2,052
Reaction score
5,876
Location
US
1-me walking through the scene, and I think I see some in the leaves on the tree, upper left.
2-No, not the same exact clip, as it was recorded direct to the hd, and not the SD.
3-No
4-No
Thanks @looney2ns if/when you see this again please do send me the MP4 as well as the DAV. I'm going to reach out over DM for some other things I'm going to recommend you try, then will bundle up any findings I see and then a) add to bug and b) summarize here. In the meantime to prep for a fresh test can you go to System, Auto Maintain, check the Auto Delete Old Files, Customized, 1 day, then do a manual reboot. Do another test and see if you see the issue straight after the cam comes back online ?
Yep that’s what I did,
Reboot, upload 6/11 fw from local laptop to camera, after restart I did a full factory reset. Seems to have worked.

More testing to do but the settings change on exit thing seems to be cured.
yes as I mentioned that doesn’t appear to have been introduced until 7/9 so you should be a little better of :)
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,141
Reaction score
49,010
Location
USA
Nope - and it requires a plug in to download, and then my other cameras stop working live view in the camera gui and need to download the plug-in again for those cameras, then come back to this one and have to download the plugin again for this one...repeat cycle.
 

Wildcat_1

Known around here
Joined
Dec 9, 2018
Messages
2,052
Reaction score
5,876
Location
US
Nope - and it requires a plug in to download, and then my other cameras stop working live view in the camera gui and need to download the plug-in again for those cameras, then come back to this one and have to download the plugin again for this one...repeat cycle.
Plug-in should be being addressed in new test FW since I raised it on day 1 but will check back in on it
 

looney2ns

IPCT Contributor
Joined
Sep 25, 2016
Messages
15,646
Reaction score
22,915
Location
Evansville, In. USA
I typically for the most part use Chrome with IE tab extension installed. And to the best of my knowledge I've not had any issues doing so. I've also recently just a few times used edge, and that seemed to work okay as well. YMMV, just pay separate shipping and handling. :)
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,601
Reaction score
48,959
Location
Floriduh
Not sure whats going on there, but the upload is soft and fuzzy to me, the original is much better...?

There's no stuttering on local playback, but I'm seeing it on the uploads. I think its my tired laptop? Can anyone else comment on the quality?

View attachment 4116P_ch1_20210811025043_20210811025111.mp4
 
Last edited:
Top