BlueIris 7 Second Freezes in Recordings

mcutugno

Young grasshopper
Dec 20, 2015
32
0
I am having an issue with BlueIris motion activated recordings freezing for a period of 7 seconds at random intervals. See this link for sample. Issue is at 07:18:25.

I am running BlueIris with 5 IP cams on an Athlon X6 1100xt with 16gb of ram and an SSD and my CPU utilization, even when triggering all of the cameras, does not go above 60%. I am using direct-to-disc recording and the issue only occurs on 2 of the 5 cameras. The cameras that have the issue are Amcrest 1080P ProHDs. The cameras that do not have the issue are various Foscams. All are HD H.264 models. I do not believe this is a network issue as all cameras are hard wired to a gigabit switch, I have lowered the bitrate and fps, and the network stream for each camera is around 150kbps. The issue also never occurs in live view, and is only on 2 of 5 cameras.

Things I have tried:
1. Changing all cameras from VBR to CBR and vice versa.
2. Lowering the fps and bitrate all the way down to 10fps and 1024kbps
3. Increasing the camera receive buffers to 20mb.
4. Experimenting with various recording profiles (I settled on Direct-to-Disc in .bvr).
5. Using RTP/UTP mode.
6. Unchecking Use RTSP/Timecode network option
7. Trying Various Amcrest camera profiles as well as generic H.264 stream profile
8. Changing encoding Codec on the Amcrest cameras from H.264H to H.264B to H.264
9. Turning off archiving and recording everything to my SSD.
10. Disabling Hard Drive sleep on my PC.
11. Disabling High Res Alert Images
12. Excluding BlueIris directories from AntiVirus
13. Turning off Pre-Trigger Frames (even though important for D2D)

I believe this may be an issue with the camera profile or some setting I have in the configuration of these cameras. Again, it only happens on 2/5 in my system so I don’t think my PC or the network is to blame. Below are my camera settings for the Amcrests:

Amcrest.jpg

Please assist. These freezes occur in just about every recording on these cameras and I am concerned that they could happen at a critical moment.
 
It is worth noting I just verified it freezes in live view as well once the recording is triggered.
 
@mcutugno Welcome to the forum. Try matching the cameras i-frame interval to the fps..
Does it freeze when viewing the camera direct in a browser?
 
Thanks!

I can confirm that when connected directly to the camera outside of BlueIris there is no freezing. Then when I checked the recording, there was a freeze of 7 seconds.

The i-frame is set to the same as the FPS.
 
I can confirm that this is happening with ONLY Blue Iris and Amcrest ProHD cameras. I have several other Hikvision and Foscam cameras and ONLY the Amcrest ProHDs (I have 3) freeze for the 5-7 seconds as mentioned. When I have the all cameras view up, you will see all 3 Amcrest cameras freeze at the exact same time and duration, while the other cameras continue. Again, this does not occur outside of Blue Iris.
 
I was able to fix this problem. The trick is to not use the PROHD 1080P RTSP profile in the camera setup. See my setup below. The freezes are gone.

Untitled-1.jpg
 
I've made the change and will monitor today to see if it fixed anything.

Does your two-way audio work? Specifically, can you talk to the camera? I see that it works in the web browser, but not in Blue Iris.
 
That SHOULD fix it. No two way audio does not seem to work to these cameras in BlueIris. If you figure out how to fix that can you post it here?

Thanks.
 
I have been using Blue Iris for years and love it. I got a Amcrest ProHD 1080P(1920TVL) camera today to replace a failed Foscam. So far I'm loving it, except I'm having the crash issue also. I have Blue Iris set up to send an alarm sound to the camera whenever it triggers. It's something about Blue Iris sending the sound to the camera that is causing the crash. Even using the test button under alarm settings will crash B.I. every time. I changed my settings according to mcutugno and it didn't help. I'm going to keep trying but if anyone else has any ideas I would love to hear them.
 
I have been changing the audio and video settings for the last four hours. No matter what I do as soon as I try to send the Alarm signal to the camera it crashes. I used this setup with the previous camera for months without a problem. Just to make sure it wasn't a problem with the B.I.4 update from yesterday I tried it on another camera and it still works fine. Here are the current settings.

Camera setting.jpg
 
The only thing different in my configuration is the port setup. However, if this was wrong I don't think you would even get an image. I have my IP address set as 192.168.1.23:XXXX with XXXX as the port. Also, in the discovery port I have the http port as well. In the camera I also changed the RTSP port and plugged that into the Media/Video/RTSP port field.

Could be that your network is not handling the required bandwidth? I am running at 15fps with an iframe of 15 and CBR at 2048 kbps.
 
Just for kicks would you mind sending an alarm signal to your camera from BI and see if it crashes? All I have to do is go to camera settings/Alerts/Sound alarm using PC speakers/send to camera speaker. BI crashes the instant I press test.
 
Ah, I have not used that feature before. In any case, BI did not crash but it did seem to lock up for awhile. I did not hear any sound coming from my PROHD's speakers either.

I do have an outstanding issue that the talk back functionality through BI does not work consistently, and this could be related.
 
I was thinking the same thing. I use that function when I'm away so hopefully any intruders will be scared off before taking anything. I opened a ticket with Amcrest hoping they might be able to help. I'm reluctant to point the finger at BI because it works just fine with any other camera.
 
Amcrest support was generally unhelpful to me when troubleshooting. I do actually think it is a BI issue. The talk back feature works just fine through the Amcrest web browser, it is only in BI that it struggles. I think this issue with the alarms has the same root cause as the talk back issue, the profiles configured the way they are do not allow BlueIris to effectively send sound to the camera speaker.

Good luck. Let us know what you find out.
 
It still crashes. I have tried every audio format with, and without it enabled. One thing I just noticed a little bit ago, when my camera updated today it went to a firmware version 2.420.AC00.11.R, build : 2016-01-06. The Amcrest site shows the newest software available as
2.420.AC00.10.R 1/6/2016. Its probably nothing but I thought I would mention it. Do you know what audio format should be used with this camera? When you do auto detect it goes to generic settings.
 
It still crashes. I have tried every audio format with, and without it enabled. One thing I just noticed a little bit ago, when my camera updated today it went to a firmware version 2.420.AC00.11.R, build : 2016-01-06. The Amcrest site shows the newest software available as
2.420.AC00.10.R 1/6/2016. Its probably nothing but I thought I would mention it. Do you know what audio format should be used with this camera? When you do auto detect it goes to generic settings.
I would email support...I would use the default g711ulaw, try setting that in the camera and blue iris and see what happens.