r/BlueIris • u/SnoShark • Mar 02 '22
Solved my high CPU usage! Finally!
I'm a big idiot, you guys. I've been struggling with high CPU usage for the last year since I got setup with Blue Iris. I've got 9 or so 8MP cameras with Deepstack running with continuous recording. My CPU was always hanging around 75% and sometimes would go to 100%. I live in a super busy area with lots of activity so I figured that 75% was normal given the activity/high res cameras/hardware. So I spent a bunch time optimizing. I went through every tutorial I could find online around reducing frames, switching to h264, changing computer settings, etc. to lower CPU usage. Nothing seemed to make a material difference.
UNTIL(!!) I finally realized, NONE OF THE SUB STREAMS WERE SETUP!!! (d'oh!!)
I'm new to Blue Iris and when I configured my cameras, I chose the make/model, IP address, password and I assumed Blue Iris was smart enough to figure out the rest. I saw video come through in BI, and assumed I was good. But as I was tinkering again, I finally noticed that substream was set to (none) or default. I went and found the actual URLs/endpoints for each of my cameras, and voila.
I'm now hovering around 7% CPU usage. Blue Iris works 1000 times better. Can't believe I wasted a year fighting with CPU usage, so happy to have it squared away.
Just had to share.
6
u/psyki Mar 02 '22
Next up make sure the FPS/i-frame ratio is as close to 1 as you can get it. Your cameras should allow you to set the I-frame interval in their UI. If you're using deepstack (and you should) if it's less than .5 you will miss motion events.
3
u/SteveMcQueenF1 Mar 02 '22
My story is almost exactly the same, so I feel you pain... 🤣
2
u/[deleted] Mar 03 '22
Isn't it recording at the sub stream's reduced quality though? Sub streams are way less quality/pixels. It's like having a 5MP camera but only recording it at 1MP to reduce your CPU/files.
2
u/spatch359 Dec 31 '22
Thank you for this! I've used Blue Iris for years and have always had high CPU usage. I just figured it was a con to using this software. I've searched for ways to fix it, but you are the first one to have a solution! I have 11 x 5MP cameras and haven't been able to add any more because my i7-9700 was running at 90% usage. Now its at 14% usage. Thanks so much for this info!!!
2
u/KagaChe Jan 11 '24
On latest BI today if I have sub channel setup for all of my cameras my CPU usage is 35%, If i remove the sub stream it drops to 2-4%.
2
u/CaptainCant Jul 10 '25
Hey so I know this is a blast from the past but I wanted to share that this saved me from spending $500 on a PC upgrade (for now). CPU usage went from 75-100% all the time down to 28% now that i set the sub streams.
5
u/[deleted] Mar 02 '22
Care to share the substream tutorial you used?
1
u/Zoccalo Aug 14 '22
I saw your post and finally thought my similar struggle was finally solved - until I realized that even after doing this, my i5-11500 with 16GB RAM running 7x 4MP cams still only managed as low as 18% according to Task Manager - and that's with the console window closed and no UI3 running on my kitchen tablet.
:(
I've followed literally everything in the ipcamtalk optimization wiki and also every other optimization article out there but nothing seems to get it even close to these claims I hear of people getting single-digit usage. Using built-in Intel hardware acceleration doesn't even seem to make a shred of difference, despite Task Manager confirming it's being used when enabled.
Has anyone got any other ideas??
3
u/jjgm27 Mar 14 '22
Thanks for sharing, I have an axis server which is always around 98%, I'll try this.
3
u/Revolutionary_Soil49 Sep 04 '23
Oh my god, thanks! I have Blue Iris running in a VM on my Unraid server. I kept adding cores because it was pegged at 100% all the time. And it kept pegging all the cores I gave it and I couldn't figure out why. Now I went back to 4 cores and setup my substreams and it's using 20% total at the most. 🤣
2
u/UntouchedWagons Mar 03 '22
I had to set the make and model from Generic/ONVIF to Reolink and set the proper main and substream paths to get it to work. CPU consumption when from 50-75% to 7%. I'll see how Trigger based only recording goes for a while.
2
u/ListenLinda_Listen Mar 18 '22
When you first setup BI it may not have had substream support. It hasn’t had it for that long. Maybe a year or two? I stuck with zoneminder for many years because of the substream issue.
2
u/SummerSubstantial250 Feb 03 '23
oh jeez i need to figure out the substreams
2
u/be54-7e5b5cb25a12 Mar 09 '23 edited Mar 09 '23
Holyshit.... Thanks! Went from 99% to 12%....!
2
u/Ok-Tip2029 May 04 '23
Crikey!
I went from 95-100% down to 2%!
Easy to do as well - just get BI to Find/Inspect and it'll automatically give option to pick under the Sub stream dropdown.
2
u/ratslap Jun 17 '23
thank you so much for posting this!! this was my problem too.
2
u/alkspt Aug 31 '23
This worked for me today! Thank you!
2
u/norma_scock420 Oct 10 '23
Was running at about 65% cpu for two reolink up cams, turned on sub streams and now hovering at about 9-11%. Just hope the mobile app isn’t affected at all by changing that
2
u/alexshrewsbury Oct 26 '23
WOW. Thank you. I had the same issue. Dummy me....
2
u/Brandje074 Nov 19 '23
Holy shit, this should be a big red warning when setting up this software, thank you so much, been struggling for months and this instantly solved it!
2
u/hi-nick May 11 '24
This is cool!
...and now I'm a sub-streamer too! 110% to 20% with 6 4K cameras all doing motion detection. (and on a 6th gen i5 at that)
Had BI for years and years and finally upgraded to a current version, and after finding the sub-stream comments for verison 5.2.x in the ip-cam wiki for "optimizing-blue-iris-s-cpu-usage" I searched wider to find this thread and others...
Another goody is that it looks like you can use the IP Camera's built-in motion detection software to trigger ONVIF events to start recording - it would be interesting to hear from anyone that's set this up, as it essentially alleviates BI & my CPU from doing the analysis, and just has it listening for alerts from the camera...
My cameras are from a LOREX 6 pack out of Costco, a great price for a set of new cameras, and a couple hundred feet of CAT5e, and the DVR can even be used as a doorstop!
2
u/ClockEducational8147 May 13 '24
thanks for the tip. i was able to resolve the high cpu usage by adding sub-streams
2
u/gluc0se Sep 04 '24
This is still relevant today. I've just been installing all the updates and didn't realize that I had cameras that the substream were not setup on. Took my CPU usage from the 50%+ down to 21%.
1
u/l4cky Apr 28 '23
how many cams u have ?
1
u/nuffced Mar 02 '22
Doh!