All cameras pause every few seconds for a moment

Desertsweeper

Young grasshopper
Aug 26, 2015
52
9
Hi folks. I have 13 Hikvision cameras all direct-to-disc dual-stream and using Intel+VPP on a Core i7-1260p with 64GB Ram. Primary record is to a 2TB Samsung 980 Pro then offloads to mechanical. Even freshly recorded video to the SSD pauses every few seconds but not consistently. It does it in live view, replay and exported clips. CPU cruises well below 40% at peak. Any clues?
Here is a sample:
 
Last edited:
Turn off hardware acceleration.
The whole reason for having it is to run many cameras on a low-end CPU with iGPU and now I must turn it off to get decent video recording? In any case I turned it off and problem still exists. Went into the Hikvision setup for one camera and noticed it is happening with the live view there - so it is happening before it even gets to BI. Further update: upgraded to latest Intel graphics driver and now stable in Hikvision web live-view. In BI it i smooth in the little preview window but when you open it up so it switches to the high-res stream it is still doing it. Tried to turn of Variable Bit Rate that did not help.
Update: found it - it is do with resolution. Camera at 3840x2160 exhibits the issue. Anything below that like 3200x1800 or less and the problem goes away. Seems somehow my BI on this PC cannot handle 4K
 
Last edited:
Just curious (I am not familiar with Hikvision cameras) are any of the cameras connected via WIFI or through your router?
Every camera is connected to is own gigabit-speed port on a dedicated managed cisco PoE switch that is directly connected to the PC with BI via a 2.5Gb uplink
 
Wow quite impressive, that is definitely not a bottle neck then!
No I run mostly fiber at 10G but that little subnet is only at 2.5 which is still overkill
 
As far as using hardware decoding is concerned, around the time AI was introduced in BI, many here had their system become unstable with hardware acceleration (hardware decode) (Quick Sync) on (even if not using DeepStack or CodeProject). Some have also been fine. I started to see errors when I was using hardware acceleration several updates into when AI was added.

This hits everyone at a different point. Some had their system go wonky immediately, some it was after a specific update, and some still don't have a problem, but the trend is showing running hardware acceleration will result in a problem at some point.

However, with substreams being introduced, the CPU% needed to offload video to a GPU (internal or external) is more than the CPU% savings seen by offloading to a GPU. Especially after about 12 cameras, the CPU goes up by using hardware acceleration. The wiki points this out as well.

And many posts showing systems becoming stable once they stopped using hardware acceleration.

It may not have fixed your problem, but not running it will make your system better.

And if you aren't using substreams, you should, especially with lower end computers.
 
Thanks for you detailed explanation. I tried it off and on and for my current installation it made no difference. I do use the substream for efficiency. I rolled up my sleeves, starting with the cameras themselves. Updated firmware to latest versions. Tried to play with all settings. Then moved to BI and tweaked those. Ultimately the only trigger I can find is resolution. Any camera running in 4K does this. And the same cam set one resolution lower stops doing it. What I find confusing is that the system is not stressing in any way and there are no other services running. Task manager does not show any anomalies. The PC is running smoothly as best a system show. It's a dedicated little box with good bandwidth, way too much memory and a decent 12th gen core i7
 
Yeah something is up as I have several 4k cams on a 4th Gen with no issue.

If you disable all cameras is the CPU at 0%?
 
Yeah something is up as I have several 4k cams on a 4th Gen with no issue.

If you disable all cameras is the CPU at 0%?
I had to travel for two days but will check remotely tomorrow as I'm in the hotel with weak internet. That said the CPU hovers below 10% generally. I followed the best practices for a multi camera setup to minimise CPU usage and it's a dedicated box.