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

Apr 19, 2016
26
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

  • 1592228238434.png
    1592228238434.png
    71 KB · Views: 10
Last edited:
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.
 
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
 
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
 
  • Like
Reactions: bp2008 and mat200
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
 
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.
 
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.
 
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:
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
 
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:
From that last screen cap of the cameras, none of them are using the substreams.
 
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?
 
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?
 
  • Like
Reactions: Flintstone61
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.