Shutter speed and other settings for night colour image (IPC-T5442TM-AS-LED).

garmcqui

Young grasshopper
Joined
Apr 25, 2017
Messages
48
Reaction score
22
Hi all, I ordered a couple of cameras from Andy (great price and exceptionally fast shipping to UK, thanks @EMPIRETECANDY!!), one of which is a 3.6mm IPC-T5442TM-AS-LED.
Now installed and just trying to get settings right for the best colour night vision...

Our rear garden has some light from street lighting. I would rather not use the in-build white LEDs, but I have a 9W LED light mounted on a shed, which can be used. Camera config is as follows:

IMG_0440.jpeg IMG_0442.jpeg

Testing various shutter speeds, this is at 1/60, without external light:
IMG_0437.jpeg

this is at 1/60, with external light on:
IMG_0438.jpeg

this is at 1/30, without external light, obviously better on still motion, but I assume motion will blurred:
IMG_0439.jpeg

For identification/recognition purposes, do I need the shutter speed to be faster than 1/60? In which case, am I better having it at 1/100 or 1/120 and keeping the 9W light on?

Regarding the other settings, I haven’t played with many yet (WDR seemed to make the night image darker?), but am wondering how people generally switch between day and night profiles? There only seems to be a schedule setting, no auto switching, is this correct?

Thanks!
G
 
Last edited:

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,598
Reaction score
48,950
Location
Floriduh
Couple of suggestions

Dont use h.265, use h.264 or h.264.h.
Bump bitrate to at least 8192
Match FPS to Iframe
WDR will generally create some degree of motion blur. Try not to use it at night

1/60 is the min to minimize motion blur. Some scenes and faster objects need 1/120 min. I usually set to 1/120 and adjust lighting (whatever the source) to that vs vice versa
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,598
Reaction score
48,950
Location
Floriduh
Also get out there and walk around and review the footage with motion. Don’t rely on a static image.
One thing you’ll find is that with a single light source such as the one you show with offset from the camera, targets will be backlit to varying degrees across the scene and you may want to run BOTH the shed light and the camera LEDs
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,130
Reaction score
48,995
Location
USA
Avoid WDR at night. During the day if needed use as low as possible.

The camera has a schedule you can set up, but you will need to go in a couple of times per year to adjust based on sunrise/sunset or use this utility. The auto switching, if the camera has it, usually after a couple of days will simply pick profile and then only change color versus infrared, so most don't use that feature if it has it.




Light keeps away the perps, so keep the light on if it allows you to get color.

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
8192 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.
 

scoob8000

Getting the hang of it
Joined
Dec 28, 2018
Messages
101
Reaction score
48
Location
PA
Great post. This should be stickied somewhere if it isn't already.

I've had a few Hikvision based cams for awhile, but the image has been good enough I really haven't tweaked much.
But after adding a new 180* unit for my driveway the conditions are just right for some terrible motion ghosting.

I have the shutter set to 1/120 and the gain at 80. After reading this I'm going to mess with it more tonight and bump the gain down to 50, and possibly take the shutter back to 1/60 and see what I get.

Does h.264 vs h.265 really make that big of a difference too? I've left all of mine on h.265, but have h.265+ turned off. Variable, Highest quality, max 8192, and matched 15/15 fps/iframe.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,130
Reaction score
48,995
Location
USA
Great post. This should be stickied somewhere if it isn't already.

I've had a few Hikvision based cams for awhile, but the image has been good enough I really haven't tweaked much.
But after adding a new 180* unit for my driveway the conditions are just right for some terrible motion ghosting.

I have the shutter set to 1/120 and the gain at 80. After reading this I'm going to mess with it more tonight and bump the gain down to 50, and possibly take the shutter back to 1/60 and see what I get.

Does h.264 vs h.265 really make that big of a difference too? I've left all of mine on h.265, but have h.265+ turned off. Variable, Highest quality, max 8192, and matched 15/15 fps/iframe.
Yeah a faster shutter speed with too high gain negates the faster shutter and you may end up seeing more blur artifacts than a slower shutter and lower gain.

Here is a thread on H265 versus H264. The macroblocking of H265 can be problematic in some field of views. And some cameras process it better than others. But H264 will give you the best chance at digital zoom because of the macroblocking of H265.

 

scoob8000

Getting the hang of it
Joined
Dec 28, 2018
Messages
101
Reaction score
48
Location
PA
Making a little progress. My results thus far.. I've only tweaked 3 of my cams so far, using BI to schedule the shutter and gain.
A couple I keep in day mode with enough ambient lighting. But even 1/30 shutter at 50% gain is leaps and bounds better than default settings regarding motion blur.

It seems like the brightness/contrast is opposite. I left the brightness at 50, and turned the contrast down to 45 at night and got a much clearer image in the shadows.

I also learned that with the day/night mode set to auto (or IR leds set to auto) you cannot set the gain. The slider disappears and the camera acts like it's locked at 100%.
 
Top