i-7 6700 16GB of RAM 16 cameras, CPU 100% (unable to get substreams working)

Joined
Apr 19, 2016
Messages
26
Reaction score
8
Hello all, been using BI for awhile, and finally upgraded from mostly 1440p cameras to full 4k cameras. Since I have upgraded, im noticing my CPU will never go down from 99-100%. I have went through the CPU optimizing and still not getting great results.
All of my 4k cameras are configured like this:
1592243535389.png

The last part of the CPU optimization I have not done is the substreams.
For this example I am using an Amcrest IP8M-2597E camera.
Using the settings for Amcrest:
1592242380136.png
Sub Stream is: /cam/realmonitor?channel={CAMNO}&subtype=1&authbasic={AUTH64}
With these configurations, I get no sub stream.

But if i let BI Find/inspect i get:
1592242448569.png
When i add the substream of: /cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif and save that. I get substream data flowing in, but then BI will start to crash over and over, with the only error logged being "Restarted after unexpected shutdown (1500/240)

It will not stop crashing until i remove that sub stream. Any thoughts?
(updated with corrected screenshots)
 

Attachments

Last edited:

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,696
Location
New Jersey
First thing I noticed that can be effecting CPU utilization is that you are using "overlays", typically date/time and camera name. Set those in the cameras and disable the "use overlay" feature.

I use Dahua cameras and have had not problems getting the substream enabled using "find/inspect". I can't give any advice on the Amcrest cameras, but maybe an aAmcrest expert will chime in.
 
Joined
Apr 19, 2016
Messages
26
Reaction score
8
First thing I noticed that can be effecting CPU utilization is that you are using "overlays", typically date/time and camera name. Set those in the cameras and disable the "use overlay" feature.

I use Dahua cameras and have had not problems getting the substream enabled using "find/inspect". I can't give any advice on the Amcrest cameras, but maybe an aAmcrest expert will chime in.
I should have updated my screenshots, after i took the first one, i realized i had overlays on, i disabled that for all cameras now.
1592243508103.png
 

looney2ns

IPCT Contributor
Joined
Sep 25, 2016
Messages
15,635
Reaction score
22,894
Location
Evansville, In. USA
Hello all, been using BI for awhile, and finally upgraded from mostly 1440p cameras to full 4k cameras. Since I have upgraded, im noticing my CPU will never go down from 99-100%. I have went through the CPU optimizing and still not getting great results.
All of my 4k cameras are configured like this:
View attachment 63926

The last part of the CPU optimization I have not done is the substreams.
For this example I am using an Amcrest IP8M-2597E camera.
Using the settings for Amcrest:
View attachment 63923
Sub Stream is: /cam/realmonitor?channel={CAMNO}&subtype=1&authbasic={AUTH64}
With these configurations, I get no sub stream.

But if i let BI Find/inspect i get:
View attachment 63924
When i add the substream of: /cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif and save that. I get substream data flowing in, but then BI will start to crash over and over, with the only error logged being "Restarted after unexpected shutdown (1500/240)

It will not stop crashing until i remove that sub stream. Any thoughts?
(updated with corrected screenshots)
The Receive buffer is low, set it up to 10-15 or more.
Uncheck decoder compat mode.
Do you have direct to disc enabled for each camera? Double check.
Have you excluded all BI folders from any antivirus, including defender?
How many cameras and at what bit-rates are they running at?
See if your load is too high for the cpu see this: Choosing Hardware for Blue Iris | IP Cam Talk
 
Joined
Apr 19, 2016
Messages
26
Reaction score
8
The Receive buffer is low, set it up to 10-15 or more.
Uncheck decoder compat mode.
Do you have direct to disc enabled for each camera? Double check.
Have you excluded all BI folders from any antivirus, including defender?
How many cameras and at what bit-rates are they running at?
See if your load is too high for the cpu see this: Choosing Hardware for Blue Iris | IP Cam Talk
OK i changed all of my cameras to 15mb receive buffer
All cameras that had decoder compatibility mode checked, removed that.
All my cameras are set to this recording setting:
1592246168962.png
I had my AV off to test, but i did add them as an exclusion
Cameras and their bit rates:
1592246519885.png
 

IAmATeaf

Known around here
Joined
Jan 13, 2019
Messages
3,310
Reaction score
3,297
Location
United Kingdom
Have you tried replacing {CAMNO} with the actual number, in my substreams I’ve entered the actual number rather than any aliases.
 

looney2ns

IPCT Contributor
Joined
Sep 25, 2016
Messages
15,635
Reaction score
22,894
Location
Evansville, In. USA
OK i changed all of my cameras to 15mb receive buffer
All cameras that had decoder compatibility mode checked, removed that.
All my cameras are set to this recording setting:
View attachment 63928
I had my AV off to test, but i did add them as an exclusion
Cameras and their bit rates:
View attachment 63929
Did that help anything?
In the cameras, you need to set the Iframe interval to the same as the FPS.
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,042
Reaction score
48,827
Location
USA
Show more of the cameras screen shot - I do not think you are running substreams. Plus you have a lot of cameras running high bitrates.
 

biggen

Known around here
Joined
May 6, 2018
Messages
2,576
Reaction score
2,865
Your bitrates are high for those 8MP jobbers but I'm guessing that is the result of changing to 4k. Try 1080. There isn't any really good reason to be running 4K for security cameras.
 
Last edited:

SouthernYankee

IPCT Contributor
Joined
Feb 15, 2018
Messages
5,170
Reaction score
5,320
Location
Houston Tx
Please provide a screen shots. full frame (use windows 10 snip & sketch tool)
1) windows task manager process tab sorted by memory (most at the top), Must contain, memory, disk, network, GPU, GPU engine columns
2) windows task manager performance, GPU
3) Blue Iris Setting about tab
4) Blue iris status (lighting bolt graph) clip storage tab
5) blue Iris status cameras tab
 

IAmATeaf

Known around here
Joined
Jan 13, 2019
Messages
3,310
Reaction score
3,297
Location
United Kingdom
Have you actually enabled substreams within the cam itself? BI can only make use of substreams if they are enabled within the cam.
 
Joined
Apr 19, 2016
Messages
26
Reaction score
8
Please provide a screen shots. full frame (use windows 10 snip & sketch tool)
1) windows task manager process tab sorted by memory (most at the top), Must contain, memory, disk, network, GPU, GPU engine columns
2) windows task manager performance, GPU
3) Blue Iris Setting about tab
4) Blue iris status (lighting bolt graph) clip storage tab
5) blue Iris status cameras tab
1592257242512.png
CPU is low due to 2 of my streams being down at the time, (one is back up and its at 90% CPU)
1592257269050.png
1592257370615.png
1592257419814.png
1592257834919.png
 
Last edited:

Flintstone61

Known around here
Joined
Feb 4, 2020
Messages
6,637
Reaction score
10,966
Location
Minnesota USA
Anybody ever have low free space on a spinner slow down windows and up the CPU utilization cuz it's got nowhere to do that Disk caching or Virtual memory?
 
Joined
Apr 19, 2016
Messages
26
Reaction score
8
From that last screen cap of the cameras, none of them are using the substreams.
Yea, so thats my issue... while working through my cpu usage issue... i was attempting to use the sub streams... but then, well thats where my first post comes in.. I guess my question about the sub stream piece is, for amcrest cameras, what should i be using as the substream request?
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
25,042
Reaction score
48,827
Location
USA
I would suggest trying a generic make and see if it will find the substream then.

Did it pick the Amcrest under the Find/Inspect option in BI or did you force it to Amcrest?

Some of my Dahua's I had to go to generic to get substream working.
 
Joined
Apr 19, 2016
Messages
26
Reaction score
8
It seems, i am only having 99% CPU when i run blue iris through UI3? i closed the web view that ive always used out, and opened just blue iris and im getting 11% CPU??????
 
Top