record direct to disc..I need help getting BI to run under my Parallels Windows 7 VM. I have two cameras and right now the app is showing 100%. What can I do to help reduce the CPU utilization? Thanks!
record direct to disc..
What is your cpu? what is the camera resolution?Yes, I already have that set. Right now it's pretty stable at 80% - 85%.
If you have the ability to replace the HD with an SSD, this will also decrease the amount of CPU you are using. I am running BI in a Parallels VM with 12 cameras, and my CPU usage is 20-30% with no GUI and 60-70% with GUI. I upgraded the primary HD to an SSD and run the instance from there with an attached virtual HD on regular HD for storage. I am recording in H.264 with BI as the DVR for viewing while writing.
You are likely running low resolution cameras and that explains the low cpu consumption...Sorry for the late reply...long holiday weekend. I think the reason you are seeing the high CPU is because of the pre-trigger buffer size. While it is nice to have the frames before the trigger, this will cause additional CPU usage. The only other difference I see between you settings and mine is the direct-to-disc vs mine being re-encode. I would think your setting would have less overhead than the re-encoding.
Sorry for the late reply...long holiday weekend. I think the reason you are seeing the high CPU is because of the pre-trigger buffer size. While it is nice to have the frames before the trigger, this will cause additional CPU usage. The only other difference I see between you settings and mine is the direct-to-disc vs mine being re-encode. I would think your setting would have less overhead than the re-encoding.
Its not doing nothing with the stream. Its analyzing the stream for motion detection - if you have it enabled. Additionally, ivms displays the substream in matrix view unlike blue iris that is displaying the full stream. CPU consumption has always been the Achilles heel of Blue Iris, however, new power efficient pc's are cheaper than 100 per camera licenses.You could try to set Variable bitrate on your camera, it can save a lot of bandwidth and also CPU (~15%).
Not sure in which case pre-buffer consumes CPU, but I have not measured any additional usage even with 150 frames.
The problem with BlueIris is that it consumes so much CPU even when it does absolutelly nothing with the stream, in my case 53% cpu time (usage of one core) (2048 x 1536 @ 15 fps, 500kB/s, on Pentium E5200@2.5Ghz), in comparison iVMS-4200 PCNVR from Hikvision can record the stream with 0%
Its not doing nothing with the stream. Its analyzing the stream for motion detection - if you have it enabled. Additionally, ivms displays the substream in matrix view unlike blue iris that is displaying the full stream. CPU consumption has always been the Achilles heel of Blue Iris, however, new power efficient pc's are cheaper than 100 per camera licenses.
It is not as simple as you make it seem... the reason your method of displaying the substream and recording the main is in efficient is because the software still has to process both streams in some fashion. With ivms, the software is simply pulling the substream until you go full screen or the camera triggers a recording. Blue iris is always pulling the main stream and recording it (if you are using pretrigger frames)....it can be done as others have done it, exacq, for example, but it takes lots of work and needs to be specific for each camera to work properly.
Well if you know how to implement it more efficiently then provide the developer with instructions...if it were that easy he would have already done it..Its more complex then it looks like on the surface.The only reason why it is inefficient is because it was implemented inefficiently.
iVMS is pulling whatever it needs, it may be only substream, or only mainstream or both, depending on your settings and camera view.
You can configure iVMS to always record the main stream, that takes ~0,03% of CPU time.
If you do the same with BlueIris, it will take ~53%.
If you use ffmpeg from command line, it will take ~0.5% (ffmpeg.exe -i rtsp://admin:12345@192.168.2.38:554/Streaming/Channels/1 -acodec copy -vcodec copy D:/abc.mp4)
The thing is, you may not need motion detection or any other processing of the main stream in BlueIris, you may want to only record it and get alarms triggered externally, or from the substream processing.
Well if you know how to implement it more efficiently then provide the developer with instructions...if it were that easy he would have already done it..Its more complex then it looks like on the surface.
That is exactly the case. Based on some email communication in the past, I know the developer is working on some optimization but I doubt it will ever be as efficient as ivms or exacq...but yes, the "fancy features" are exactly what brings most users to blue iris. If we simply wanted to record video 24/7 any old NVR or ivms would suit the need. Powerful Pc's are cheap at least here in the US. As an example I just picked up an hp business elitedesk 800 g1 i5-4590 for 317. This machine had an in service date of August 2015 so its a less than a month old and will have a next business day warranty until august 2018.....I am not saying that it is easy, it could be, but if not enough people want more effective direct record, then it will not be done no matter how easy it is, new fancy features will get implemented instead, you can always buy a better PC or lower fps anyway, right?