Turned off motion detection, expected BI CPU drop? +sighthound Q's

wideLoad

n3wb
Joined
Jul 4, 2016
Messages
17
Reaction score
1
Hi,

For my Blue Iris setup, I've turned off all motion detection triggering etc, no clips are being recorded. I have 5 4MP hikivision cams. CPU usage went from 50% to 40%. I was expecting a MUCH bigger drop.

Is this to be expected? Are there other areas I could turn off to lower CPU further in BI?

My goal here is to be using sighthound on the same box for triggering the BI cameras. So basically, sighthound will run a script to trigger the appropriate cam in BI when it detects an event. But I can't pull this off without getting CPU lower on BI.

Has anybody played this game? Thanks y'all.
 

ilrider78

Getting the hang of it
Joined
Apr 25, 2016
Messages
72
Reaction score
30
Location
TX
40% seems kinda high for 4 cameras not recording

Are you using the trial or licensed Blue Iris? What frame rates do you have set on the cameras and are you using direct to disc recording? Follow those tips in the link posted.
 

wideLoad

n3wb
Joined
Jul 4, 2016
Messages
17
Reaction score
1
Hello and thank you. Yes I agree, seems like high CPU usage with no motion detection or triggers.

BI is licensed version. Cameras and BI are matched at 15fps. Direct to disk is enabled.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Hello and thank you. Yes I agree, seems like high CPU usage with no motion detection or triggers.

BI is licensed version. Cameras and BI are matched at 15fps. Direct to disk is enabled.
have you enabled hardware acceleration?
are you logging in remotely?
 

wideLoad

n3wb
Joined
Jul 4, 2016
Messages
17
Reaction score
1
Yes, was viewing via remote desktop. Going direct killed about 2% CPU.

WOW, turning on intel HD acceleration with h.264 dropped it to 20% total usage. Tried again with VidPostProc, and it dropped it to 8-10%!!!!

Thank you! Wow, I've been missing out on the BI good life for a LONG time!! THANKS THANKS THANKS THANKS :)
 

wideLoad

n3wb
Joined
Jul 4, 2016
Messages
17
Reaction score
1
Some followup on triggering blueirirs via sighthound

I had to use this python file to trigger BI via sighthound: GitHub - magapp/blueiriscmd: Python cmd tool that talk with Blue Iris Camera surveillance software
I was unable to use simple "restful" http commands because the BI login system will just redirect you to login with commands like so (aka, the commands below don't work for me unless I'm logged in which is hard to script):
http://user:password@localhost:8888/admin?camera=short_cam_name&trigger
http://localhost:8888/admin?camera=short_cam_name&trigger&user=user&pw=password

So, once you have the above python script you can run it and it will give you all the options you have to pass to it command line. Then I had to execute that via a batch file for unknown reasons, just didn't want to work running without that.

Big picture is that using HTTP requests on BI is not super helpful, the python script is working via the BI json API and has the password authentication stuff baked in.

Thanks again for the help i received here.
 

wideLoad

n3wb
Joined
Jul 4, 2016
Messages
17
Reaction score
1
Just a quick followup for anyone else looking at blueiris and sighthound integration. I wound up having to set 20 second pre-record buffers on any cams in BI that were being triggered by Sighthound... otherwise the lag would cause the system to miss the initial motion. I have 16GB ram so this was manageable, although not ideal. You might have better results on a faster computer.

I also was unable to have sighthound "re-trigger" the cameras successfully, so I was only getting the initial motion. I had an idea to create a dupe camera and then trigger it with normal BI motion detection once it was initially triggered by sighthound... but it all got too complicated. In the end, wound up removing sighthound from the equation even though I do love their motion detection. Wish there was a plugin in BI for 3rd party paid motion detection algos, but that seems unlikely (as does sighthound actually selling their "app" as a plugin).

Thanks to all.
W
 
Top