PTZ camera horrible night quality

leeeet

n3wb
Joined
Oct 17, 2023
Messages
16
Reaction score
16
Location
ca
I have a dahua PTZ camera professionally installed and am running into an issue even the installer doesn't know how to fix.

Daytime recording is fine and looks great. At night, there are lots of street lamps but it still is dark enough. My IP dahua cameras look amazing. However my PTZ camera is pixelated and horrible.

Am I missing a setting? I made sure bit rate is maxed. I tried messing with the camera image settings like brightness etc but nothing seems to have worked.
This is the camera:
1.png3.png
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,601
Reaction score
48,968
Location
Floriduh
For starters its an 8MP cam on a 1/1.8" sensor. That sensor is adequate for 4MP cams but like many cameras, not appropriate for 8MP

There's only so much you can do, but I think it can be improved.

Most of that looks like noise due to the too small sensor, we'll need to see your settings (on the camera itself) to begin to help tweak it.

It may well be you need to run that in B&W with IR as the sensor isnt capable of a good color image at night
 

leeeet

n3wb
Joined
Oct 17, 2023
Messages
16
Reaction score
16
Location
ca
For starters its an 8MP cam on a 1/1.8" sensor. That sensor is adequate for 4MP cams but like many cameras, not appropriate for 8MP

There's only so much you can do, but I think it can be improved.

Most of that looks like noise due to the too small sensor, we'll need to see your settings (on the camera itself) to begin to help tweak it.

It may well be you need to run that in B&W with IR as the sensor isnt capable of a good color image at night
Got it big red
Will report back
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,601
Reaction score
48,968
Location
Floriduh
Ok so those are ok but is that the NVR interface? You should use the direct camera GUI

exposure, gain, and DNR are going to be key. And NO backlight for now
 

leeeet

n3wb
Joined
Oct 17, 2023
Messages
16
Reaction score
16
Location
ca
Ok so those are ok but is that the NVR interface? You should use the direct camera GUI

exposure, gain, and DNR are going to be key. And NO backlight for now
Got it! Yeah I have so many issues with the direct camera GUI like the video never pop up even when I use microsoft explorer. Will try direct!
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,144
Reaction score
49,014
Location
USA
You have to get off of auto settings. And as mentioned, with that sensor, you may need to go to B/W

In terms of getting the most out of the camera, here is my "standard" post that many use as a start for dialing in day and night that helps get the clean captures and help the camera recognize people and cars.

Start with:

H264
16,384 bitrate
CBR
15FPS
15 iframes

Every field of view is different, but I have found you need contrast to usually be 6-8 higher than the brightness number at night.

We want the ability to freeze frame capture a clean image from the video at night, and that is only done with a shutter of 1/60 or faster. At night, default/auto may be on 1/12s shutter or worse to make the image bright.

In my opinion, shutter (exposure) and gain are the two most important parameters and then base the others off of it. Shutter is more important than FPS. It is the shutter speed that prevents motion blur, not FPS. 15 FPS is more than enough for surveillance cameras as we are not producing Hollywood movies. Match iframes to FPS. 15FPS is all that is usually needed.

Many people do not realize there is manual shutter that lets you adjust shutter and gain and a shutter priority that only lets you adjust shutter speed but not gain. The higher the gain, the bigger the noise and see-through ghosting start to appear because the noise is amplified. Most people select shutter priority and run a faster shutter than they should because it is likely being done at 100 gain, so it is actually defeating their purpose of a faster shutter.

Go into shutter settings and change to manual shutter and start with custom shutter as ms and change to 0-8.3ms and gain 0-50 (night) and 0-4ms exposure and 0-30 gain (day)for starters. Auto could have a shutter speed of 100ms or more with a gain at 100 and shutter priority could result in gain up at 100 which will contribute to significant ghosting and that blinding white you will get from the infrared or white light.

Now what you will notice immediately at night is that your image gets A LOT darker. That faster the shutter, the more light that is needed. But it is a balance. The nice bright night static image results in Casper blur and ghost during motion LOL. What do we want, a nice static image or a clean image when there is motion introduced to the scene?

In the daytime, if it is still too bright, then drop the 4ms down to 3ms then 2ms, etc. You have to play with it for your field of view.

Then at night, if it is too dark, then start adding ms to the time. Go to 10ms, 12ms, etc. until you find what you feel is acceptable as an image. Then have someone walk around and see if you can get a clean shot. Try not to go above 16.67ms (but certainly not above 30ms) as that tends to be the point where blur starts to occur. Conversely, if it is still bright, then drop down in time to get a faster shutter.

You can also adjust brightness and contrast to improve the image. But try not to go above 70 for anything and try to have contrast be at least 7-10 digits higher than brightness.

You can also add some gain to brighten the image - but the higher the gain, the more ghosting you get. Some cameras can go to 70 or so before it is an issue and some can't go over 50.

But adjusting those two settings will have the biggest impact. The next one is noise reduction. Want to keep that as low as possible. Depending on the amount of light you have, you might be able to get down to 40 or so at night (again camera dependent) and 20-30 during the day, but take it as low as you can before it gets too noisy. Again this one is a balance as well. Too smooth and no noise can result in soft images and contribute to blur.

Do not use backlight features until you have exhausted every other parameter setting. And if you do have to use backlight, take it down as low as possible.

After every setting adjustment, have someone walk around outside and see if you can freeze-frame to get a clean image. If not, keep changing until you do. Clean motion pictures are what we are after, not a clean static image.

And a PTZ is more work due to it seeing a much larger area.
 

leeeet

n3wb
Joined
Oct 17, 2023
Messages
16
Reaction score
16
Location
ca
Man this is tough. AI COding. GOt it turning it off.

So 4mp vs 8 mp
or 1.8 or 2.8 inch sensor?

I feel like 1/2.8 inch sensor on a 4mp camera is better than an 8mp on a 1.8 inch
 

leeeet

n3wb
Joined
Oct 17, 2023
Messages
16
Reaction score
16
Location
ca
im wondering why my IP cam with a 1/2.8 inch sensor is much better with night time image quality than my PTZ with the 1/1.8 inch .

Also tried AI coding and still not getting any video with the direct IP PTZ cam live feed. Does make AI IVS Harder
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,601
Reaction score
48,968
Location
Floriduh
Try original IE first
Them if not try Edge in IE mode
Last try Pale Moon 32 bit

clear cache on your browser each time you open it before login screen
 

garycrist

Known around here
Joined
Sep 25, 2021
Messages
2,335
Reaction score
6,884
Location
Texas
Have you fiddled with 3D and 2D noise reduction for the pixelation (if available)?
 

leeeet

n3wb
Joined
Oct 17, 2023
Messages
16
Reaction score
16
Location
ca
Have you fiddled with 3D and 2D noise reduction for the pixelation (if available)?
I have.. it's still horrible. When night arrives I'll try tinkering with more settings. I'm wondering if getting the same model but a 4mp 1/2.8 cmos sensor is actually better
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,601
Reaction score
48,968
Location
Floriduh
Let’s get to the root of that pixelization first…

As @wittaj posted, start with


H264
16,384 bitrate
CBR
15FPS
15 iframes
* substream same but 1024 bitrate

General coding - No AI
No h.265
ROI off

Night - get a starting point
Start at 1/60 manual exposure
3DNR 50
Gain 50
Iris 50 if you have a slider for it
All image settings 50
Backlite- nothing on

Show sample image- make sure it’s from the main stream on live view not substream.
 

leeeet

n3wb
Joined
Oct 17, 2023
Messages
16
Reaction score
16
Location
ca
In the meantime can anyone recommend a replacement for a PTZ camera with good night time image quality as well as IVS and auto tracking? I'm assuming the best bet is to downgrade from 8mp to 4mp?
Sucks that the 8mp 1/1.8 inch sensor is so bad.

 

mat200

IPCT Contributor
Joined
Jan 17, 2017
Messages
14,010
Reaction score
23,344
I have a dahua PTZ camera professionally installed and am running into an issue even the installer doesn't know how to fix.

Daytime recording is fine and looks great. At night, there are lots of street lamps but it still is dark enough. My IP dahua cameras look amazing. However my PTZ camera is pixelated and horrible.

Am I missing a setting? I made sure bit rate is maxed. I tried messing with the camera image settings like brightness etc but nothing seems to have worked.
This is the camera:
View attachment 175610View attachment 175611
Thanks @leeeet

For sharing ..

1697928350563.png

hopefully with some adjustments you'll get better results ..
 
Top