"New" Setup and CPU utilization question

Matts1984
Posts: 496
Joined: Fri Apr 10, 2020 1:12 pm
Location: Maryland, USA

Re: "New" Setup and CPU utilization question

Post by Matts1984 »

I wish I could help. Mine aren't Lorex and from my (much shorter time spent) Googling, I came up dry too. It looks like they just want you to use their NVR - of course :) Perhaps someone else here has already run into this.

While it won't help you at all, this is what mine looks like:
Config.JPG
Config.JPG (21.23 KiB) Viewed 25825 times
Blue Iris 5.9.4.x | Server 2022 VM | Xeon E5-2660 v3 @ 2.60GHz - 16 Cores | 24GB RAM | 8TB RAID | Sophos UTM WAF | Mostly various SV3C Cameras
brokenarrow03
Posts: 6
Joined: Tue May 19, 2020 1:55 am

Re: "New" Setup and CPU utilization question

Post by brokenarrow03 »

Looks like these Lorex do not have the setting, unless its buried somewhere else!
Capture.JPG
Capture.JPG (24.5 KiB) Viewed 25826 times
HeneryH
Posts: 721
Joined: Thu Jul 18, 2019 2:50 pm

Re: "New" Setup and CPU utilization question

Post by HeneryH »

brokenarrow03 wrote: Wed Jun 10, 2020 4:43 pm I have looked and Googled for the better part of a couple weeks now and cannot find any reference to Frame Intervals, key frames, or anything else they go by on my cameras. So i am asking for help if anyone knows where this setting is on my cameras.
Vodoo magic...

I'm an engineer and ever since middle school I have found unit analysis very helpful. If you look at the units on a number (ie km/hr) you can usually easily figure out how to get hrs by simple * and /.

The reason I bring this up is that I am ALWAYS annoyed by the lack of clarity on units in this setting in particular.

I have always heard that it is the interval that key frames are saved. So if you have raw 30 frames per second stream, then perhaps you want 1 key frame for every 30 real frames (or one key frame every second).

So what are the units?????? Who the heck knows. I never understood.
User avatar
IronSheepdog
Posts: 13
Joined: Mon Apr 26, 2021 12:46 pm

Re: "New" Setup and CPU utilization question

Post by IronSheepdog »

brokenarrow03 wrote: Wed Jun 10, 2020 8:06 pm Looks like these Lorex do not have the setting, unless its buried somewhere else!

Capture.JPG
Sorry for posting this old thread. Did you ever figure this out? I have a bunch of Lorex cameras as well and cannot change the keyframe/frame interval since there is no setting in the cameras for it. My ratios at always at 0.50 no matter what I do.
User avatar
Thixotropic
Posts: 744
Joined: Wed Sep 04, 2019 7:20 pm
Location: Low-Earth Orbit

Re: "New" Setup and CPU utilization question

Post by Thixotropic »

brokenarrow03 wrote: Wed Jun 10, 2020 4:43 pm So i am asking for help if anyone knows where this setting is on my cameras. Lorex LNB8111-C
Found this through a search on another site:
turns out that that tho the UI is dumbed down, the underlying (Dahua) API still mostly works, so one can use commands to set things the GUI may not present, like I-frame interval (called GOP in the API):

for example, this gets you the current configuration (note that "GOP" stands for "Group of Pictures"):

http://192.168.0.73/cgi-bin/configManag ... ame=Encode

and on my Lorex E891ab, this returns the following:

table.Encode[0].ExtraFormat[0].Audio.Bitrate=64
table.Encode[0].ExtraFormat[0].Audio.Channels[0]=0
table.Encode[0].ExtraFormat[0].Audio.Compression=AAC
table.Encode[0].ExtraFormat[0].Audio.Depth=16
table.Encode[0].ExtraFormat[0].Audio.Frequency=8000
table.Encode[0].ExtraFormat[0].Audio.Pack=DHAV
table.Encode[0].ExtraFormat[0].AudioEnable=false
table.Encode[0].ExtraFormat[0].Video.resolution=704x480
table.Encode[0].ExtraFormat[0].Video.BitRate=256
table.Encode[0].ExtraFormat[0].Video.BitRateControl=CBR
table.Encode[0].ExtraFormat[0].Video.Compression=H.264
table.Encode[0].ExtraFormat[0].Video.CustomResolutionName=D1
table.Encode[0].ExtraFormat[0].Video.FPS=15
table.Encode[0].ExtraFormat[0].Video.GOP=15
table.Encode[0].ExtraFormat[0].Video.Height=480
table.Encode[0].ExtraFormat[0].Video.Pack=DHAV
table.Encode[0].ExtraFormat[0].Video.Priority=0
table.Encode[0].ExtraFormat[0].Video.Profile=High
table.Encode[0].ExtraFormat[0].Video.Quality=4
table.Encode[0].ExtraFormat[0].Video.QualityRange=6
table.Encode[0].ExtraFormat[0].Video.SVCTLayer=1
table.Encode[0].ExtraFormat[0].Video.Width=704
table.Encode[0].ExtraFormat[0].VideoEnable=true
table.Encode[0].ExtraFormat[1].Audio.Bitrate=64
table.Encode[0].ExtraFormat[1].Audio.Channels[0]=0
table.Encode[0].ExtraFormat[1].Audio.Compression=AAC
table.Encode[0].ExtraFormat[1].Audio.Depth=16
table.Encode[0].ExtraFormat[1].Audio.Frequency=8000
table.Encode[0].ExtraFormat[1].Audio.Pack=DHAV
table.Encode[0].ExtraFormat[1].AudioEnable=false
table.Encode[0].ExtraFormat[1].Video.resolution=704x480
table.Encode[0].ExtraFormat[1].Video.BitRate=1024
table.Encode[0].ExtraFormat[1].Video.BitRateControl=CBR
table.Encode[0].ExtraFormat[1].Video.Compression=H.264
table.Encode[0].ExtraFormat[1].Video.CustomResolutionName=D1
table.Encode[0].ExtraFormat[1].Video.FPS=30
table.Encode[0].ExtraFormat[1].Video.GOP=60
table.Encode[0].ExtraFormat[1].Video.Height=480
table.Encode[0].ExtraFormat[1].Video.Pack=DHAV
table.Encode[0].ExtraFormat[1].Video.Priority=0
table.Encode[0].ExtraFormat[1].Video.Profile=High
table.Encode[0].ExtraFormat[1].Video.Quality=4
table.Encode[0].ExtraFormat[1].Video.QualityRange=6
table.Encode[0].ExtraFormat[1].Video.SVCTLayer=1
table.Encode[0].ExtraFormat[1].Video.Width=704
table.Encode[0].ExtraFormat[1].VideoEnable=false
table.Encode[0].ExtraFormat[2].Audio.Bitrate=64
table.Encode[0].ExtraFormat[2].Audio.Channels[0]=0
table.Encode[0].ExtraFormat[2].Audio.Compression=AAC
table.Encode[0].ExtraFormat[2].Audio.Depth=16
table.Encode[0].ExtraFormat[2].Audio.Frequency=8000
table.Encode[0].ExtraFormat[2].Audio.Pack=DHAV
table.Encode[0].ExtraFormat[2].AudioEnable=false
table.Encode[0].ExtraFormat[2].Video.resolution=704x480
table.Encode[0].ExtraFormat[2].Video.BitRate=1024
table.Encode[0].ExtraFormat[2].Video.BitRateControl=CBR
table.Encode[0].ExtraFormat[2].Video.Compression=H.264
table.Encode[0].ExtraFormat[2].Video.CustomResolutionName=D1
table.Encode[0].ExtraFormat[2].Video.FPS=30
table.Encode[0].ExtraFormat[2].Video.GOP=60
table.Encode[0].ExtraFormat[2].Video.Height=480
table.Encode[0].ExtraFormat[2].Video.Pack=DHAV
table.Encode[0].ExtraFormat[2].Video.Priority=0
table.Encode[0].ExtraFormat[2].Video.Profile=High
table.Encode[0].ExtraFormat[2].Video.Quality=4
table.Encode[0].ExtraFormat[2].Video.QualityRange=6
table.Encode[0].ExtraFormat[2].Video.SVCTLayer=1
table.Encode[0].ExtraFormat[2].Video.Width=704
table.Encode[0].ExtraFormat[2].VideoEnable=false
table.Encode[0].MainFormat[0].Audio.Bitrate=64
table.Encode[0].MainFormat[0].Audio.Channels[0]=0
table.Encode[0].MainFormat[0].Audio.Compression=AAC
table.Encode[0].MainFormat[0].Audio.Depth=16
table.Encode[0].MainFormat[0].Audio.Frequency=8000
table.Encode[0].MainFormat[0].Audio.Mode=0
table.Encode[0].MainFormat[0].Audio.Pack=DHAV
table.Encode[0].MainFormat[0].AudioEnable=false
table.Encode[0].MainFormat[0].Video.resolution=3840x2160
table.Encode[0].MainFormat[0].Video.BitRate=4096
table.Encode[0].MainFormat[0].Video.BitRateControl=CBR
table.Encode[0].MainFormat[0].Video.Compression=H.264
table.Encode[0].MainFormat[0].Video.CustomResolutionName=3840x2160
table.Encode[0].MainFormat[0].Video.FPS=15
table.Encode[0].MainFormat[0].Video.GOP=30
table.Encode[0].MainFormat[0].Video.Height=2160
table.Encode[0].MainFormat[0].Video.Pack=DHAV
table.Encode[0].MainFormat[0].Video.Priority=0
table.Encode[0].MainFormat[0].Video.Profile=Main
table.Encode[0].MainFormat[0].Video.Quality=4
table.Encode[0].MainFormat[0].Video.QualityRange=6
table.Encode[0].MainFormat[0].Video.SVCTLayer=1
table.Encode[0].MainFormat[0].Video.Width=3840
table.Encode[0].MainFormat[0].VideoEnable=true
table.Encode[0].MainFormat[1].Audio.Bitrate=64
table.Encode[0].MainFormat[1].Audio.Channels[0]=0
table.Encode[0].MainFormat[1].Audio.Compression=AAC
table.Encode[0].MainFormat[1].Audio.Depth=16
table.Encode[0].MainFormat[1].Audio.Frequency=8000
table.Encode[0].MainFormat[1].Audio.Mode=0
table.Encode[0].MainFormat[1].Audio.Pack=DHAV
table.Encode[0].MainFormat[1].AudioEnable=false
table.Encode[0].MainFormat[1].Video.resolution=3840x2160
table.Encode[0].MainFormat[1].Video.BitRate=4096
table.Encode[0].MainFormat[1].Video.BitRateControl=CBR
table.Encode[0].MainFormat[1].Video.Compression=H.264
table.Encode[0].MainFormat[1].Video.CustomResolutionName=3840x2160
table.Encode[0].MainFormat[1].Video.FPS=15
table.Encode[0].MainFormat[1].Video.GOP=30
table.Encode[0].MainFormat[1].Video.Height=2160
table.Encode[0].MainFormat[1].Video.Pack=DHAV
table.Encode[0].MainFormat[1].Video.Priority=0
table.Encode[0].MainFormat[1].Video.Profile=Main
table.Encode[0].MainFormat[1].Video.Quality=4
table.Encode[0].MainFormat[1].Video.QualityRange=6
table.Encode[0].MainFormat[1].Video.SVCTLayer=1
table.Encode[0].MainFormat[1].Video.Width=3840
table.Encode[0].MainFormat[1].VideoEnable=true
table.Encode[0].MainFormat[2].Audio.Bitrate=64
table.Encode[0].MainFormat[2].Audio.Channels[0]=0
table.Encode[0].MainFormat[2].Audio.Compression=AAC
table.Encode[0].MainFormat[2].Audio.Depth=16
table.Encode[0].MainFormat[2].Audio.Frequency=8000
table.Encode[0].MainFormat[2].Audio.Mode=0
table.Encode[0].MainFormat[2].Audio.Pack=DHAV
table.Encode[0].MainFormat[2].AudioEnable=false
table.Encode[0].MainFormat[2].Video.resolution=3840x2160
table.Encode[0].MainFormat[2].Video.BitRate=4096
table.Encode[0].MainFormat[2].Video.BitRateControl=CBR
table.Encode[0].MainFormat[2].Video.Compression=H.264
table.Encode[0].MainFormat[2].Video.CustomResolutionName=3840x2160
table.Encode[0].MainFormat[2].Video.FPS=15
table.Encode[0].MainFormat[2].Video.GOP=30
table.Encode[0].MainFormat[2].Video.Height=2160
table.Encode[0].MainFormat[2].Video.Pack=DHAV
table.Encode[0].MainFormat[2].Video.Priority=0
table.Encode[0].MainFormat[2].Video.Profile=Main
table.Encode[0].MainFormat[2].Video.Quality=4
table.Encode[0].MainFormat[2].Video.QualityRange=6
table.Encode[0].MainFormat[2].Video.SVCTLayer=1
table.Encode[0].MainFormat[2].Video.Width=3840
table.Encode[0].MainFormat[2].VideoEnable=true
table.Encode[0].MainFormat[3].Audio.Bitrate=64
table.Encode[0].MainFormat[3].Audio.Channels[0]=0
table.Encode[0].MainFormat[3].Audio.Compression=AAC
table.Encode[0].MainFormat[3].Audio.Depth=16
table.Encode[0].MainFormat[3].Audio.Frequency=8000
table.Encode[0].MainFormat[3].Audio.Mode=0
table.Encode[0].MainFormat[3].Audio.Pack=DHAV
table.Encode[0].MainFormat[3].AudioEnable=false
table.Encode[0].MainFormat[3].Video.resolution=1280x720
table.Encode[0].MainFormat[3].Video.BitRate=1024
table.Encode[0].MainFormat[3].Video.BitRateControl=CBR
table.Encode[0].MainFormat[3].Video.Compression=H.264
table.Encode[0].MainFormat[3].Video.CustomResolutionName=720P
table.Encode[0].MainFormat[3].Video.FPS=15
table.Encode[0].MainFormat[3].Video.GOP=30
table.Encode[0].MainFormat[3].Video.Height=720
table.Encode[0].MainFormat[3].Video.Pack=DHAV
table.Encode[0].MainFormat[3].Video.Priority=0
table.Encode[0].MainFormat[3].Video.Profile=High
table.Encode[0].MainFormat[3].Video.Quality=4
table.Encode[0].MainFormat[3].Video.QualityRange=6
table.Encode[0].MainFormat[3].Video.SVCTLayer=1
table.Encode[0].MainFormat[3].Video.Width=1280
table.Encode[0].MainFormat[3].VideoEnable=true
table.Encode[0].SnapFormat[0].Audio.Bitrate=64
table.Encode[0].SnapFormat[0].Audio.Compression=G.711A
table.Encode[0].SnapFormat[0].Audio.Depth=16
table.Encode[0].SnapFormat[0].Audio.Frequency=8000
table.Encode[0].SnapFormat[0].Audio.Pack=DHAV
table.Encode[0].SnapFormat[0].AudioEnable=false
table.Encode[0].SnapFormat[0].Video.resolution=3840x2160
table.Encode[0].SnapFormat[0].Video.BitRate=5120
table.Encode[0].SnapFormat[0].Video.BitRateControl=VBR
table.Encode[0].SnapFormat[0].Video.Compression=MJPG
table.Encode[0].SnapFormat[0].Video.CustomResolutionName=3840x2160
table.Encode[0].SnapFormat[0].Video.FPS=0.100000
table.Encode[0].SnapFormat[0].Video.GOP=60
table.Encode[0].SnapFormat[0].Video.Height=2160
table.Encode[0].SnapFormat[0].Video.Pack=DHAV
table.Encode[0].SnapFormat[0].Video.Priority=0
table.Encode[0].SnapFormat[0].Video.Profile=Main
table.Encode[0].SnapFormat[0].Video.Quality=5
table.Encode[0].SnapFormat[0].Video.QualityRange=6
table.Encode[0].SnapFormat[0].Video.SVCTLayer=1
table.Encode[0].SnapFormat[0].Video.Width=3840
table.Encode[0].SnapFormat[0].VideoEnable=true
table.Encode[0].SnapFormat[1].Audio.Bitrate=64
table.Encode[0].SnapFormat[1].Audio.Compression=G.711A
table.Encode[0].SnapFormat[1].Audio.Depth=16
table.Encode[0].SnapFormat[1].Audio.Frequency=8000
table.Encode[0].SnapFormat[1].Audio.Pack=DHAV
table.Encode[0].SnapFormat[1].AudioEnable=false
table.Encode[0].SnapFormat[1].Video.resolution=3840x2160
table.Encode[0].SnapFormat[1].Video.BitRate=5120
table.Encode[0].SnapFormat[1].Video.BitRateControl=VBR
table.Encode[0].SnapFormat[1].Video.Compression=MJPG
table.Encode[0].SnapFormat[1].Video.CustomResolutionName=3840x2160
table.Encode[0].SnapFormat[1].Video.FPS=0.100000
table.Encode[0].SnapFormat[1].Video.GOP=60
table.Encode[0].SnapFormat[1].Video.Height=2160
table.Encode[0].SnapFormat[1].Video.Pack=DHAV
table.Encode[0].SnapFormat[1].Video.Priority=0
table.Encode[0].SnapFormat[1].Video.Profile=Main
table.Encode[0].SnapFormat[1].Video.Quality=5
table.Encode[0].SnapFormat[1].Video.QualityRange=6
table.Encode[0].SnapFormat[1].Video.SVCTLayer=1
table.Encode[0].SnapFormat[1].Video.Width=3840
table.Encode[0].SnapFormat[1].VideoEnable=true
table.Encode[0].SnapFormat[2].Audio.Bitrate=64
table.Encode[0].SnapFormat[2].Audio.Compression=G.711A
table.Encode[0].SnapFormat[2].Audio.Depth=16
table.Encode[0].SnapFormat[2].Audio.Frequency=8000
table.Encode[0].SnapFormat[2].Audio.Pack=DHAV
table.Encode[0].SnapFormat[2].AudioEnable=false
table.Encode[0].SnapFormat[2].Video.resolution=3840x2160
table.Encode[0].SnapFormat[2].Video.BitRate=5120
table.Encode[0].SnapFormat[2].Video.BitRateControl=VBR
table.Encode[0].SnapFormat[2].Video.Compression=MJPG
table.Encode[0].SnapFormat[2].Video.CustomResolutionName=3840x2160
table.Encode[0].SnapFormat[2].Video.FPS=0.100000
table.Encode[0].SnapFormat[2].Video.GOP=60
table.Encode[0].SnapFormat[2].Video.Height=2160
table.Encode[0].SnapFormat[2].Video.Pack=DHAV
table.Encode[0].SnapFormat[2].Video.Priority=0
table.Encode[0].SnapFormat[2].Video.Profile=Main
table.Encode[0].SnapFormat[2].Video.Quality=5
table.Encode[0].SnapFormat[2].Video.QualityRange=6
table.Encode[0].SnapFormat[2].Video.SVCTLayer=1
table.Encode[0].SnapFormat[2].Video.Width=3840
table.Encode[0].SnapFormat[2].VideoEnable=true

then this URL will SET the gop (for the main pulled rtsp stream) to 15 (was 30)

http://192.168.0.73/cgi-bin/configManag ... deo.GOP=15
Blue Iris 5.x x64 | Windows 10 Pro x64 | 16GB RAM | i7-7700 3.6 GHz | 1TB HDD | 2TB RAID NAS | 9 Cameras | Almost Dual NIC | 2KVA UPS
honkkis
Posts: 6
Joined: Sat Jul 29, 2023 4:11 pm

Re: "New" Setup and CPU utilization question

Post by honkkis »

Are you going to record 24/7, or only on motion or other interest? I changed my BI-setup recently to use substreams for analysis and record only alarms in high definition (3.1MP to 8k). My camera setup is single 8k Reolink, single 4.1MP Honeywell, two 3.1 MP MileSights and two 4.1 MP HikVisions. My BI-computer is Asrock DeskMini 300 with Win11, Ryzen 3 3200G cpu, 32GB RAM, single 128GB SSD as system disk and single 2.5" 500Gb 7200rpm laptop hard drive for recordings. HDD isn't even NAS-variety, just recycled it from my old Lenovo workstation laptop.

I'm using direct disk recording (h.264 or h.265 depending on camera). I have CodeProject.AI to recognise objects and have Google Coral USB. I have set camerra buffer RAM to around 18Mb per camera and using five second pre-recording. Google Coral cost me about 60€, since I had time to wait. Codeproject and Coral are somewhat experimental still.

Previously, when I used main streams for all purposes, processor load was around 35%. After changing to sub streams for analysis, processor load is around 2-3%. Difference between substream and mainstream is such big that it can differentiate between using old hardware, or buying new! It definitely shows in electricity use in common energy efficient household. Ryzen 3200G is low end cpu by all means, but with good system architecture, it's able to do some heavylifting!

So, my suggestion for this case and everyone else, check the substreams!

Edit:typo
Post Reply