Cams Not Sychronised / Lagging

General discussion about Blue Iris
Post Reply
cinders
Posts: 5
Joined: Fri Jan 28, 2022 3:50 am

Cams Not Sychronised / Lagging

Post by cinders »

Hi Everyone,

I'm having an issue with some cameras lagging behind other ones. So if I'm watching the screen and someone walks past one camera, it can be a minute before they walk through the next one. It's quite confusing. Is there a way to sync the cams?

The system I'm running has 17 cams all doing H265 1440p25 @ 6Mbit (iframe 50) all on a gigabit backbone. The host server is a Dell R730 with 64GB RAM, 2 x E5-2695v4 and 8 x 10TB in RAID-10. CPU is 50%. The issue is not related to hardware performance.

Any help would be appreciated.

Thanks.
IAmATeaf
Posts: 466
Joined: Mon Jun 17, 2019 7:48 pm

Re: Cams Not Sychronised / Lagging

Post by IAmATeaf »

First thing to try is setting the iframe rate to match the frame rate.

The other thing is you don’t really need 25fps so maybe try dropping down to 20 or even 15fps. Although the cam specs may state that it will run at that rate the rate might well be the true upper limit of the cam hardware so pegging it back might help.
cinders
Posts: 5
Joined: Fri Jan 28, 2022 3:50 am

Re: Cams Not Sychronised / Lagging

Post by cinders »

I'll try reducing the FPS and iFrame to 15 - but I doubt it is that. I use the same cams for my YouTube channel at 25 FPS with no issues.

https://www.youtube.com/watch?v=xeSL3xCPvnQ
Matts1984
Posts: 496
Joined: Fri Apr 10, 2020 1:12 pm
Location: Maryland, USA

Re: Cams Not Sychronised / Lagging

Post by Matts1984 »

I'm with Teaf (sorry - shortened that name). I think first step would be to make sure your iframes and fps match.... and it's worth lowering the fps a bit to experiment. It's easy enough to raise back up. I too have had hardware issues with fps too high (camera hardware, not the server) so it's something to test at no cost.

Before and/or after your changes it might be helpful to post your Blue Iris Status > Cameras tab. Sometimes there can be some info summarized in there that is easy to miss.
Blue Iris 5.8.8.x | Server 2022 VM | Xeon X5650 @ 2.67GHz - 12 Cores | 12GB RAM | 7TB RAID | Sophos UTM WAF | 4x SV3C 5MP Bullet A | 1x SV3C 5MP PTZ HX | 1x SV3C 5MP Bullet HX | 1x SV3C 5MP Dome HX | 2x Amcrest 5MP Bullet
cinders
Posts: 5
Joined: Fri Jan 28, 2022 3:50 am

Re: Cams Not Sychronised / Lagging

Post by cinders »

Thanks for the replies guys. I'm going to do that right now.

Here is the current cam status page.
camstatus.jpg
camstatus.jpg (124.72 KiB) Viewed 2786 times
cinders
Posts: 5
Joined: Fri Jan 28, 2022 3:50 am

Re: Cams Not Sychronised / Lagging

Post by cinders »

All cams set to 15fps with an iframe of 15fps. Looks much better.

I wonder why in the original cam status that Blue Iris doesn't detect properly the actual FPS on the cam when they're set to 25? If I open the RTSP link with VLC it correctly states 25.

Anyway... will see how it goes. Thanks again for taking the time to reply, it's appreciated.
camstatus2.jpg
camstatus2.jpg (166.7 KiB) Viewed 2783 times
Matts1984
Posts: 496
Joined: Fri Apr 10, 2020 1:12 pm
Location: Maryland, USA

Re: Cams Not Sychronised / Lagging

Post by Matts1984 »

The second set does look much better, you're right.

I'm not a VLC expert to really refute but consider maybe instead that it could be the one that is wrong? I mean I'm not exactly confident in how either of them pull their figures but I'm definitely under the impression that BI is simply showing you what it's getting. It would appear that for one reason or another the cameras weren't keeping up. Anyway, hopefully your experience is as expected now.

If you added substeams I bet your system would be darn near idle!
Blue Iris 5.8.8.x | Server 2022 VM | Xeon X5650 @ 2.67GHz - 12 Cores | 12GB RAM | 7TB RAID | Sophos UTM WAF | 4x SV3C 5MP Bullet A | 1x SV3C 5MP PTZ HX | 1x SV3C 5MP Bullet HX | 1x SV3C 5MP Dome HX | 2x Amcrest 5MP Bullet
cinders
Posts: 5
Joined: Fri Jan 28, 2022 3:50 am

Re: Cams Not Sychronised / Lagging

Post by cinders »

VLC is correct. I also ran ffprobe to check the rtsp links, and they show the correct fps. So for some reason when the cameras are set to 25fps, BI isn't picking this up correctly, hence the fluctuating FPS in the first screenshot I sent.

Anyway, it has worked, so would like to say a big “Thank You”. I guess going forward, for future setups, I'll pin the FPS/iframe at 15.
User avatar
YrbkMgr
Posts: 587
Joined: Sun Nov 24, 2019 12:56 am
Location: Chicagoland

Re: Cams Not Sychronised / Lagging

Post by YrbkMgr »

In my experience, a lot of this is solved by enabling sub-streams. Without that, you're going to choke.
  • "Whenever I take something apart to fix it and put it back together again, I end up with like six really important looking pieces left over" -Tim Allen
  • If you know what your after, you'll recognize it when you see it.
Post Reply