Dahua 4mp, 6mm turrets (IPC-HDW4421C)

muzzy

n3wb
Joined
Aug 4, 2015
Messages
10
Reaction score
4
My seller has sent me the chinese firmware but it is very old: General_IPC-HX4(2)X2X-Themis_Chn_P_Stream3_V2.400.0000.4.R.20150321
 

Larebear

Pulling my weight
Joined
Mar 31, 2015
Messages
908
Reaction score
240
Location
Eastern Washington State
I also find (Hikvision, Dahua and other brands) that they all need their settings tweaked to get the best at night.
I did tweak the settings for both the day and night profiles but didn't try tweaking the settings after I switched on WDR. I doubt if I'll need WDR here. These are the final settings that I used for the day and night profiles.

 

Attachments

digger11

Getting comfortable
Joined
Mar 26, 2014
Messages
370
Reaction score
377
I played around with frame rates and bit rates a bit today to try to get a feel for storage requirements for continuous recording. At 10 FPS, CBR @ 10240, and BI set to cut the bvr file at 4GB, BI was rolling the files every 66 min.

With the above settings, BI was showing a bit rate for the camera of ~ 1250 kB/s.

Changing the Bit Rate in the camera to CBR @ 4096 resulted in a bit rate for the camera in BI of ~ 550 kB/s, with very little in the way of additional compression artifacts.

Changing the Bit rate in the camera to VBR @ 10240, with Quality set to 6 (Best), resulted in a bit rate for the camera in BI of ~ 160 kB/s, with noticeable compression artifacts. The interesting thing though, was that when I did an extract (no re-encoding) from BI and looked at the video directly, the artifacts seemed less noticeable. This makes me wonder if the BI console doesn't do quite as good of a job of displaying a VBR stream as it does with a CBR stream.

I used virtualdub to copy a key (I) frame at each of the above bit rates from the video, and then used irfanview to crop out the same section of each frame, showing a pitchback net sitting in front of a cinder block wall, about 45' from the camera.

VBR @ 10240 (actual observed bit rate of ~ 160 kB/s)


CBR @ 4096 (actual observed bit rate of ~ 550 kB/s)


CBR @ 10240 (actual observed bit rate of ~ 1250 kB/s)


VBR looks like it would really cut down on the file size, but I feel it is a little too aggressive in its compression, even at its best quality setting.
 

Attachments

muzzy

n3wb
Joined
Aug 4, 2015
Messages
10
Reaction score
4
Few days ago I have received these cameras. I have it with two diferent lenses 2.8mm and 3.6mm. Cameras with 2.8mm lens manufactured two months later and have newer firmware than cameras with 3.6mm lens (firmware 2.400.0000.10.R 2015-06-18 vs 2.400.0000.7.R 2015-04-22). And this new firmware has higher maximum resolution of 2688*1520 (vs 2560*1440 in older firmware). So its true 4Mp not 3.7Mp

If you want to get this higher resolution ask you sellers to send you newer firmware.
Is it possible to read firmware from one camera and flash it to another?
 

wxman

Pulling my weight
Joined
Feb 15, 2015
Messages
631
Reaction score
163
Location
Southern United States
I moved the camera to a new temporary location. Here are a couple of snapshots, first one with WDR off and second with WDR on and set to the default 50. Finally got some sunshine today. Will post another capture later tonight. Camera has 2.8mm lens.

WDR Off


WDR On (50)

Just by saving your WDR shot and using a photo editor, I was able to increase the Gamma value, Contrast and Saturation making the image look much more natural....but the shadows are still almost non-existent and I would expect to see well-defined shadows even with WDR on....Since there's some puffy cumulus clouds in your shot, do you happen to know if by chance the sun was behind one of the clouds during the WDR shot? This looks more like the kind of image I'd expect in the shade.
 

aster1x

Getting the hang of it
Joined
Jul 8, 2014
Messages
400
Reaction score
88
Well spotted @wxman. I agree with you. I also bet that the sun was behind the clouds. The hard shadow in the middle of the first picture which is coming from the houses at the right of the picture does not exist in the second picture. Therefore the WDR feature feature of the camera has no shadows to compensate, in other words the contrast in the second picture is flatter than the first. However a proper WDR sensor would automatically compensate for the lack of high contrast areas and would not flatten (or reduce) the picture contrast. In other words it seems that the camera is trying to immitate the wide dynamic range by reducing the contrast all over the picture. I still have not seen any creditable demostration of the WDR ability of the new 4Mpixel cameras.

We also must understand that a true wide dynamic range sensor should not require any firmware alteration or software manipulation of the image.
 
Last edited by a moderator:

Larebear

Pulling my weight
Joined
Mar 31, 2015
Messages
908
Reaction score
240
Location
Eastern Washington State
Since there's some puffy cumulus clouds in your shot, do you happen to know if by chance the sun was behind one of the clouds during the WDR shot?
It was sunny when I took both snapshots, but it's possible that there might have been a cloud moving by on the second shot that partially blocked the sun. I'll try again on a clear day with no clouds. Today, it's all clouds and rain.

Next time I'll try tweaking the brightness, contrast, sharpness, etc. with WDR turned on, although I'm pretty sure I won't be using it here.
 

digger11

Getting comfortable
Joined
Mar 26, 2014
Messages
370
Reaction score
377
This is more of a FOV comparison than anything else. Here is a single frame captured by my 2.8mm DS-2CD2332-I @ 1080p along with a single frame from my 3.6mm IPC-HDW4421C @ 2560 x 1440.
The Dahua turret is positioned about 8" above the Hik.
 

Attachments

badmop

Getting the hang of it
Joined
Jul 21, 2015
Messages
475
Reaction score
28
@digger11
Wow, I'd love to walk around wherever that cabin is, looks like an awesome place! Jealous, I see other buildings near, I imagine it's not out by itself, but still awesome!
 
Last edited by a moderator:

aster1x

Getting the hang of it
Joined
Jul 8, 2014
Messages
400
Reaction score
88
This is more of a FOV comparison than anything else. Here is a single frame captured by my 2.8mm DS-2CD2332-I @ 1080p along with a single frame from my 3.6mm IPC-HDW4421C @ 2560 x 1440.
The Dahua turret is positioned about 8" above the Hik.
This is an unfair comparison. The HIK shot looks more blured than the dahua because the resolution of the HIK is only 2Mpixels rather than the 4Mpixels of the dahua. The dahua is certainly crispier due to the resolution.
Since we all know that the FOV in camera changes between different resoutions, at least configure the two cameras at equal resolutions.
 

wxman

Pulling my weight
Joined
Feb 15, 2015
Messages
631
Reaction score
163
Location
Southern United States
It was sunny when I took both snapshots, but it's possible that there might have been a cloud moving by on the second shot that partially blocked the sun. I'll try again on a clear day with no clouds. Today, it's all clouds and rain.

Next time I'll try tweaking the brightness, contrast, sharpness, etc. with WDR turned on, although I'm pretty sure I won't be using it here.
Thanks! That would be very helpful just to make absolutely sure we're comparing apples to oranges. I know on my Hikvisions (3mp non-WDR) that the image can look perfect while the sun is shining but as soon as a cloud rolls over partially blocking the sun, my yard turns so dark that you almost can't even recognize the plants.

Speaking of clouds, one thing I did notice is that in the non-WDR image, the clouds are very over-exposed, whereas in the WDR shot, the clouds are normally exposed making the layered structure of them more identifiable. In my Hikvision Non-WDR cam, clouds get more over-exposed when a cloud partially blocks the sun because the darkness of the shady ground puts more range into the picture. When the sun comes back out in full strength, the cloud exposure is more normal....So if it's true that your WDR shot was while the sun was partially blocked, then that would still indicate some improvement as it was able to keep the clouds from overexposing despite increased range in the image.
 

digger11

Getting comfortable
Joined
Mar 26, 2014
Messages
370
Reaction score
377
This is an unfair comparison. The HIK shot looks more blured than the dahua because the resolution of the HIK is only 2Mpixels rather than the 4Mpixels of the dahua. The dahua is certainly crispier due to the resolution.
Since we all know that the FOV in camera changes between different resoutions, at least configure the two cameras at equal resolutions.
Since I stated that it was a comparison of the FOV between two of my cameras at specific settings, I don't know how you can say it was unfair. Do the two pictures not demonstrate the FOV seen by each camera?

And by the way, on the Dahua, your statement that the FOV changes between resolutions would be incorrect. Unlike the Hik, which gives a different FOV for 3mp than it does for 1080p, the Dahua appears to scale the image to whatever resolution you choose. A snapshot taken from the camera gui at each of the 6 resolutions that the Dahua supports, all show exactly the same FOV.
 

aster1x

Getting the hang of it
Joined
Jul 8, 2014
Messages
400
Reaction score
88
Obviously it is a matter of priorities and compromises between resolution and FOV. I would select as priority the highest possible video and picture quality and compromise on the FOV. On the other hand I did not know that Dahuas scale up the image to the configured resolution, HIKs do not scale up. However does n't scale up burden the camera CPU since the scale up is a CPU intensive operation? Also does the scale up create any artefacts like jagged diagonal lines of high contrast?
 

digger11

Getting comfortable
Joined
Mar 26, 2014
Messages
370
Reaction score
377
Honestly I was a bit surprised when I looked at the snapshots from the different camera resolutions. The 1.3M (1280*960) looked squished. You can get a feel for what the images would look like if you take the 2560x1440 image I posted above and past it into irfanview, and then tell irfanview to Image>Resize/resample, clear the "Preserve aspect ratio" checkbox, and set the dimensions to each of the following pixel settings:
2304x1296
1920x1080
1280x1024
1280x960
1280x720
 

Larebear

Pulling my weight
Joined
Mar 31, 2015
Messages
908
Reaction score
240
Location
Eastern Washington State
Thanks! That would be very helpful just to make absolutely sure we're comparing apples to oranges. I know on my Hikvisions (3mp non-WDR) that the image can look perfect while the sun is shining but as soon as a cloud rolls over partially blocking the sun, my yard turns so dark that you almost can't even recognize the plants.
Here are two more captures. The sun was out and equally bright in both snapshots. All controls with and without WDR are set to the default, which is mid range (50). I haven't tried tweaking the controls while WDR is on yet.



 

Attachments

wxman

Pulling my weight
Joined
Feb 15, 2015
Messages
631
Reaction score
163
Location
Southern United States
Hmm, very strange how this WDR works. Sure seems like it just reduces the contrast of the image. I downloaded the images and put in a photo editor and can digitally enhance both images to look basically identical. I can't really distinguish much (if any) "range improvement" in the WDR. I must say that I'm disappointed and really wonder if this is "true" 120db WDR like it's supposed to be or just some type of digital WDR.

As a comparison, this is a Sony Effio-P Standard Def. Analog camera with 120db True WDR. Notice how with WDR off, it's so dark in the room that you can't identify the dude while everything out the window is overexposed/blown out. When WDR turns on, it instantly lightens up inside the room while darkening outside the window. This is the kind of results I was hoping/expecting.

 

Larebear

Pulling my weight
Joined
Mar 31, 2015
Messages
908
Reaction score
240
Location
Eastern Washington State
Hmm, very strange how this WDR works. Sure seems like it just reduces the contrast of the image. I downloaded the images and put in a photo editor and can digitally enhance both images to look basically identical. I can't really distinguish much (if any) "range improvement" in the WDR. I must say that I'm disappointed and really wonder if this is "true" 120db WDR like it's supposed to be or just some type of digital WDR.
Thanks for the comparison wxman. I have no experience with WDR and didn't know what the advantage was to have it enabled. As you mentioned, it seems like the WDR with the Dahua didn't do much more than decrease the contrast. Must be digital and not be true WDR right?
 

aster1x

Getting the hang of it
Joined
Jul 8, 2014
Messages
400
Reaction score
88
@wxman Well done and thank you for properly demonstrating the true WDR effect. You have confirmed my suspicions as well that this dahua may not really be true WDR. Untill someone produces similar to yours results from the Dahua, the Dahua should not be considered true WDR at the sensor level.
 
Last edited by a moderator:

pbc

Getting comfortable
Joined
Jul 11, 2014
Messages
1,024
Reaction score
156
Interesting, this really helps understanding what WDR does as the previous pics were confusing. Wonder if the Hikvision FWD models have true WDR or digital.
 

wxman

Pulling my weight
Joined
Feb 15, 2015
Messages
631
Reaction score
163
Location
Southern United States
You're very welcome! I guess it's possible that true WDR can be accomplished in different ways in which some sensors may do it better than others. I'm assuming Dahua may use Aptina brand sensors, which may perform WDR differently than Sony brand sensors. Also worth noting is that with the Sony example, they convert WDR mode to "full" and contrast automatically changes to "high"...Perhaps similar results could be had with the Dahua if one were to manually increase the contrast when in WDR mode? One other factor to consider is that Sony Effio-P sensor is a CCD sensor, whereas the Dahua 4mp model is a CMOS sensor. Perhaps WDR works better on CCD than CMOS? More questions than answers here, so we can't say for sure yet that Dahua does not have true WDR; but from my initial impression, it isn't living up to my expectations.
 
Top