5442 S3 series, weird bitrate issue

Ok so not a real good test as we only had 2 cars after I set it to AI last night. And its a rainy overcast sloppy mess today, but here's a few caps.

I'm not seeing any noticeable difference yet. Will monitor. I changed nothing but the codec from General to AI
Same 30fps/60 iframe, 10240 bitrate CBR (I dont get a choice for ABR on my 5241E- Z12E? )

Certainly no better, but not worse enough for me to pinpoint anything

HOAEntrP2P_EntTag_main_20241106131908_@13.jpg HOAEntrP2P_EntTag_main_20241106084641_@13.jpg HOAEntrP2P_EntTag_main_20241106042912_@13.jpg HOAEntrP2P_EntTag_main_20241106012641_@13.jpg
 
Last edited:
Ok so not a real good test as we only had 2 cars after I set it to AI last night. And its a rainy overcast sloppy mess today, but here's a few caps.

I'm not seeing any noticeable difference yet. Will monitor. I changed nothing but the codec from General to AI
Same 30fps/60 iframe, 10240 bitrate CBR (I dont get a choice for ABR on my 5241E- Z12E? )

Certainly no better, but not worse enough for me to pinpoint anything

View attachment 206599 View attachment 206600 View attachment 206601 View attachment 206602
So if there's no choice for ABR and you're stuck using CBR, I assume that means that there's no ramping up and down? So what is the AI setting doing then?
 
Good question :idk:

I’ll try a reboot of the camera, it could just be older FW. Maybe only supported in S3
 
  • Like
Reactions: JDreaming
I cant get ABR to show as a choice in that 5241 Z12 OR a 5442H-ZHE with the new interface? I must be holding my tongue wrong
 
wait one hour and check one more time...
AI coding is reacting with some delay (minimum a few minutes) to analyze generated bitrate and then change slowly compression ratio to fit in configured average bitrate...

that's the beauty of this algorithm - it allows to big jumps in bitrate depending of needs / what is happening in video scene / movement but guaranties day (24 hour) average will fit configured value.

much better that CBR which try to stay at similar bitrate no matter what happens in video scene.

i had to use a CBR with no AI coding because some of the cams would ramp up to near 20 megabits which would make HD live view and playback in dmss stutter every second (just watching a single cam), regardless that the 5216-ei is connected to a gigabit lan with fiber optic internet with 1.5 gigabit upload and download and the network i'm using dmss on has 100 megabit download (while using the 5ghz wifi band near the router). no bandwidth bottlenecks anywhere. must be a dmss issue. happens on p2p and ddns.
 
  • Like
Reactions: JDreaming
For mine, new interface also without ABR, when you pick the AI codec it locks the selection for Bit Rate Type to CBR. Below that there's a non-selectable Reference Bit Rate that varies depending on what is selected for Resolution (1792-9728 Kb/s @ 2560x1440) . Below that you can set the Bit Rate.

ETA: I've not seen any ramping up as above. At 8,192 main stream for mine stays right around ~1,000-1,300 kB/s depending on day/night/what's happening.
 
Last edited:
  • Like
Reactions: JDreaming
^^^^
Yep same here

So where/how does one get ABR?
 
  • Like
Reactions: JDreaming
OK I got it, great screencap. Give me a few minutes
 
  • Like
Reactions: JDreaming
i had to use a CBR with no AI coding because some of the cams would ramp up to near 20 megabits which would make HD live view and playback in dmss stutter every second (just watching a single cam), regardless that the 5216-ei is connected to a gigabit lan with fiber optic internet with 1.5 gigabit upload and download and the network i'm using dmss on has 100 megabit download (while using the 5ghz wifi band near the router). no bandwidth bottlenecks anywhere. must be a dmss issue. happens on p2p and ddns.
Give camera on ABR one hour.
And put lower average bitrate
It will correct
 
  • Like
Reactions: JDreaming
I cant get ABR to even display as a choice.?
AICodec-camera.jpg

BUT with AI Codec.CBR 10240 my normal settings, I see it doing its variable thing.

Rest about 2000
AICodec-4.jpg

Then fast ramp up to 5000 and 13,000 when a target enters the scene
AICodec-5.jpg
AICodec-6.jpg


Expand Full screen
View attachment Recording 2024-11-06 182921.mp4

HOAEntranceP2P_EntTag_main_20241106181624_@3.jpg
 
Last edited:
Give camera on ABR one hour.
And put lower average bitrate
It will correct


what average ABR do you recommend for a 2.7mm cam with a large field of view? i had it on the 8 megabit setting. i'm able to observe things about 300ft away through a wooded area, albeit tiny but defined and not a mess of pixels.
 
Great capture. Only references to ABR that I see are for certain Dahua NVRs. And since I don't see the AI codec ramp down/up running BI, I wonder if that's also associated with Dahau's NVRs/SPSS/DMSS? I don't have the same traffic stats in live view on the cam to see the same but BI doesn't show it in its running stats updating ~1 second.
 
Yeah it seems to work just like VBS but better.
I need to test some more but the way I just demo’d shows no real image degradation and at night in pitch black it slows down to. 2000 so that would be a meaningful savings in HD space
 
I tried the AI codec in new S3s 5442s and saw no reference to ABR either. Same as the 5241 S2 shown. So must be referenced in the newer NVRs. I don’t get a range setting either..
 
  • Like
Reactions: JDreaming
Huh,
Must be FW version or model specific.

I have 2 5442 varibale focus S3 in the model #
2 5442 H-ZHE's
1 5442 Z4 S3

None have the ABR setting or the range

Not really a concern as Im seeing AI codec with CBR seems to work fine as my demo shows, just interesting
 
Last edited:
  • Like
Reactions: JDreaming
Another side note:'
During daylight, that same LPR camera at rest is very close to my set bitrate of 10240. Whn an object enters the scene, it will jump to 12000-13000 momentarily and back down gradually over 10 seconds or so. So at night with a black scene, it will drop to 2000 but during the day with more to see, it will hover at my set CBR bitrate
 
I read many posts about AI Codec with ABR (sometimes CBR), here my replies / comment...

- AI Codec with ABR (or VBR) is available only on NEWEST firmwares for 5xxx-S3 and TIOC-PRO..
Older ones have only AI Codec with CBR. Also older Full Color cams have only AI Codec with CBR even on latest firmwares.

- All AI Codec are developed to allow to use LOWER BANDWIDTH that in normal static modes..
I use on cameras (5442) mostly AI Codec with ABR with bandwidth set to 4096 and max bandwidth 8192...
I don't think that those mode are developed for pixel pickers who use normally 10-12 mbit/s in CBR 15FPS mode and analyze each pixel on video footage :)

- All AI Codec increases QUALITY for important elements: humans / vehicles (animals) detected by AI..
This allows to decrease bandwidth - video compressor focuses on important elements (people, cars) using more bandwidth for them at the expense of other elements (roads, grass, trees, walls) that are not as important.
This allows to use LOWER BANDWIDTH that in static modes.. At the cost that grass or trees will have little less priority..

- AI Codec requires that You have working any AI detection (IVS, Video Meta Data etc).
This will not work very well at night at 1/2000s where is only car light/plate visible and IVS/VMD don't work.

- All AI Codec modes allows to bigger bitrate jumps that normal static ones (No Ai Codec) to have better QUALITY for movement.
This is especially visible when You enable any AI Codec in first hour.
Please give minimum one HOUR to camera in any AI Codec mode to stabilize the bandwidth used.
Camera slowly analyze how much bandwidth was used for different elements (I-frame, delta-frames) and slowly optimize those (the changes are done slowly at many minutes frequency).

- ABR - means Average Bit Rate - where camera guarantee that average bitrate generated for 24 hours will be as configured.
This mode allows to BIG jumps in bandwidth used for video / movement quality. If there is big movement / image changes cameras try to have them in better quality by using more bandwidth.
This is much better than classic CBR which uses the same bandwidth for static scenes and scenes where is a lot of movement / change.

As I told higher I use mostly AI Codec with ABR with average bandwidth set to 4096 and max bandwidth to 8192.
Sometimes there are higher/lower values depending of the location. This configuration works very well in normal comercial installations.

- in latest firmwares for 5xxx-S3/TIOC-PRO there are a new third option for AI Codec: VBR.
This is replacement for SmartCodec (which is deprecated). This mode allows to BIGEST possible SAVINGS in bandwidth.
This is done by dynamic I-Frame, which can be 2 seconds or 30 seconds depending what is happening on the video scene.

This mode has a new feature (not available in Smart Codec) called Virtual I-frame which as I understands solves (somehow) problem with long I-frames (known from SmartCodec) - the video feed can be played in apps without waiting up to 30 seconds for next full I-frame.
How it works, I don't know - I didn't tested.. question is what is required to Virtual I-frame to work (newer versions of DMSS, NVR with newest firmware??).
 
Last edited: