Assistance with T5442TM video settings

Burton_Flooring

Pulling my weight
Joined
Apr 20, 2018
Messages
133
Reaction score
163
Make sure you re-read my post #3 above as running any camera on default/auto settings will not get the best performance.

Yes, VERY good post :) I actually have a Starlight zoom bullet camera (Z5E) that is doing LPR and so I'm familiar with the whole manual shutter range and gain. LIFESAVER lol. Been able to capture plates very well and OpenALPR was working fantastic until they decided to no longer be free...so looking forward to trying out the new cam. This one will just be for general overview, so it won't have to be too extreme.
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,691
Location
New Jersey
H265 uses large blocks in an attempt to save space. That can result in missed motion and degradation of video. H264 or H264H are best.

I run 2MP cameras at 5120 for a bit rate, 15FPS for frame rate. 4MP cameras are at 10240 for a bit rate and 15FPS for a frame rate.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,844
Reaction score
48,454
Location
USA
This will explain H264 versus H265 a little better.

H265 in theory provides more storage as it compresses differently, but part of that compression means it macro blocks big areas of the image that it thinks isn't moving. However, it also takes more processing power of the already small CPU in the camera and that can be problematic if someone is maxing out the camera and then it stutters.

In theory it is supposed to need 30% less storage than H264, but most of us have found it isn't that much. Mine was less than few minutes per day. And to my eye and others that I showed clips to and just said do you like video 1 or video 2 better, everyone thought the H264 provided a better image.

The left image is H264, so all the blocks are the same size corresponding to the resolution of the camera. H265 takes areas that it doesn't think has motion and makes them into bigger blocks and in doing so lessens the resolution yet increases the CPU demand to develop these larger blocks.

In theory H265 is supposed to need half the bitrate because of the macroblocking. But if there is a lot of motion in the image, then it becomes a pixelated mess. The only way to get around that is a higher bitrate. But if you need to run the same bitrate for H265 as you do H264, then the storage savings is zero. Storage is computed based on multiplying bitrate, FPS, and resolution.

1638584913822.png




In my testing I have one camera that sees a parked car in front of my house. H265 sees that the car isn't moving, so it macroblocks the whole car and surrounding area. Then the car owner walked up to the car and got in and the motion is missed because the macroblock being so large. Or if it catches it, because the bitrate is low, it is a pixelated mess during the critical capture point and by the time H265 adjusts to there is now motion, the ideal capture is missed. That is what you are experiencing with motion.

In my case, the car is clear and defined in H264, but is blurry and soft edges in H265.

H265 is one of those theory things that sounds good, but reality use is much different.

As always, YMMV. But do not use Codec with BI or you may have trouble.
 
Joined
Apr 28, 2017
Messages
5
Reaction score
3
Makes sense. What are your thoughts on encoding strategy ("General" vs "Smart Codec" vs "AI Codec") with Dahua cameras?
Thanks.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,844
Reaction score
48,454
Location
USA
The general codec is the basic codec that it will comply with your settings for variable or constant bitrate and the bitrate number.

AI codec will reduce the video bitstream for anything recorded that isn't AI triggered to save storage space. This is used primarily if you are using IVS rules.

Smart codec will reduce the video bitstream for non triggered video recording to save storage space. This is used primarily for those using smart motion detection.

Personally, I would recommend the General codec. We recommend CBR over VBR and 24/7 recording, so AI and Smart codec basically mimics VBR and as such you could miss something important.
 
Joined
Apr 28, 2017
Messages
5
Reaction score
3
What would you suggest to improve the visibility of the darker areas of this scene? Exposure compensation? Brightness? Backlight settings (BLC, WDR?). I am not sure which I should start with as they all seem to improve results but with what pitfalls I'm not certain.

Camera is a white label Dahua, IPC-T5442T-ZE.

Thanks.
20220517_144903.pngScreen Shot 2022-05-17 at 2.48.33 PM.pngScreen Shot 2022-05-17 at 2.48.39 PM.png
 

Burton_Flooring

Pulling my weight
Joined
Apr 20, 2018
Messages
133
Reaction score
163
What would you suggest to improve the visibility of the darker areas of this scene? Exposure compensation? Brightness? Backlight settings (BLC, WDR?). I am not sure which I should start with as they all seem to improve results but with what pitfalls I'm not certain.

Camera is a white label Dahua, IPC-T5442T-ZE.

Thanks.
View attachment 128263View attachment 128264View attachment 128265

Like wittaj has mentioned, use WDR SPARINGLY, but I think WDR is your best bet here. What do the rest of y'all think?
 

locarno

Young grasshopper
Joined
May 19, 2022
Messages
69
Reaction score
8
Location
Polamd
Smart codec will reduce the video bitstream for non triggered video recording to save storage space. This is used primarily for those using smart motion detection.
CBR mean constant bitrate. So If I set Smart Codec and CBR it is bad because it will not dynamically adjust bitrate?
 
Top