Webserver display not smooth displayed

Post Reply
Hobkoponko123
Posts: 7
Joined: Thu Nov 21, 2024 12:37 am

Webserver display not smooth displayed

Post by Hobkoponko123 »

I am trying to migrate from old NVR to Blue Iris.
My pc for that is :
DELL 5000 i7 12Gen i7-12700T 12x4,7GHz 32GB W 11PRO 1280Gb running W11
Connected directly to main router (asus)
Using Dahua, HQ Vision and later HIK IP Cameras (HIK will be ordered soon)

Problem - in Live View all feeds are showing not smoothly (tried Webserver on same PC where BI is running, other PC via cable/wifi, Android App)
On all those devices live feeds are not smooth and jerky
I am comparing it with my 10 years old NVR for HQ Cameras (4 cameras still connected to it) - on this one via app and web all runs much smoother
So on old NVR 25fps/1 looks really like 25fps and on BI not...

For recording it is also not so smooth and bit jerky

This happens on Dahua IP Cameras (wired) and also on old HQ VIsion Camera - here Dahuas are worse and less smooth.
It does not matter if Blue Iris runs with 1 camera or 10
Load on BI very little (10-15% CPU with 10 cameras recording and 2gb ram taken)

Tested various resolutions (from 6MP to 2MP on Dahua...)
I was checking fps and it is stable 20 or 25fps per second so it should be nice and smooth (for Dahua it is 25/1 for HQ 25/0.5)
I-key frame is 12-25 (tested other values)
Tried various options with HW encoding
Tested H.264, H265 and H265+ everywhere same problem
Tested different option for Webserver display
Tested different Webserver display options CBR/VBR 50% QUality 100% QUality
I must be missing something here but not sure what. What options on BI or camera can I change to make it work??
Could someone help me please
Hobkoponko123
Posts: 7
Joined: Thu Nov 21, 2024 12:37 am

Re: Webserver display not smooth displayed

Post by Hobkoponko123 »

can someone help with dahua camera?
does not matter what setting I use they are working horrible...
in stats I have 25fps (for H264, H264+ H265, H265+) but on app stream (from local network) it is super laggy and slow

i tried also different setting on camera and webserver on Iris side it is always very slow or slow and super laggy and video looks like 5fps and not 25fps

if i open camera via www from same pc or android phone video works smoothly and without problems

is there any secret setting that i can add so dahua camera can work with iris??
PaulDaisy
Posts: 57
Joined: Mon Nov 25, 2024 5:06 am

Re: Webserver display not smooth displayed

Post by PaulDaisy »

For web serving, BI will transcode all cameras to a smaller size. Are you using substreams? If not, transcoding 25fps 4k to 1080p may well cause the effect you are describing. Also, with the limited frame rates BI sends to the browsers, the video is a bit jerky, but you could try to increase frame rated in the UI settings in the client browser.

It may also depend on whether your cameras and the server (which IMO is much more than capable of transcoding everything) are on the same switch, not going through routers. But if it is a gigabit router, that shouldn't matter.
PaulDaisy
Posts: 57
Joined: Mon Nov 25, 2024 5:06 am

Re: Webserver display not smooth displayed

Post by PaulDaisy »

I have two 6 Mp Dahuas and they work fine. I found that 25 fps doesn't make anything smoother on my system, so mine run at 20. But my PC is a lot older and doesn't transcode fast enough, even though the CPU load is low.

Try increasing buffer size on the cameras in BI. I had jerkiness issues and once I set the buffer size to the max of 40 Mb, it went away.

Using substreams is critical even on 6 Mp. On HD, it is not in my experience, and I even set substreams on cameras that support that, to 1080p, and set full screen viewing to substream only. It pretty much completely eliminated jerkiness.
Hobkoponko123
Posts: 7
Joined: Thu Nov 21, 2024 12:37 am

Re: Webserver display not smooth displayed

Post by Hobkoponko123 »

hello

I have manged to make it work now (substreams I had implemented before already was not the issue)
I had to change settings on encode webserver option to High and B Frame added to 8

Will test Buffer size (now it is 4MB)
Does increasing buffer size does not create little delay lag when streaming live camera on full screen?
PaulDaisy
Posts: 57
Joined: Mon Nov 25, 2024 5:06 am

Re: Webserver display not smooth displayed

Post by PaulDaisy »

I have not noticed increased lag with increased buffer size.

I was able to resolve jerky real time video in the console and web UI. I had all my cameras set up to H.265. Newer, more efficient, better - right? Turns out, not so.

I changed them all to H.264, and set up the decoder to direct-to-wire (similar to direct-to-disk). I have no restrictions on the bandwidth - let it be 700 Mbit if need be - but now the PC is not transcoding, and my live streams are effortlessly streaming at 15-20 FPS with zero lag and zero CPU usage.
Hobkoponko123
Posts: 7
Joined: Thu Nov 21, 2024 12:37 am

Re: Webserver display not smooth displayed

Post by Hobkoponko123 »

PaulDaisy wrote: Sat Nov 30, 2024 5:25 pm I have two 6 Mp Dahuas and they work fine. I found that 25 fps doesn't make anything smoother on my system, so mine run at 20. But my PC is a lot older and doesn't transcode fast enough, even though the CPU load is low.

Try increasing buffer size on the cameras in BI. I had jerkiness issues and once I set the buffer size to the max of 40 Mb, it went away.

Using substreams is critical even on 6 Mp. On HD, it is not in my experience, and I even set substreams on cameras that support that, to 1080p, and set full screen viewing to substream only. It pretty much completely eliminated jerkiness.
WHat settings you use on Dahua Cameras and on Iris?
H264 or H265 with or without + ?
On Iris what Buffer Size, what HW Decode method? Any other special settings ? For me biggest problem is with Dahuas they seem to be worst with Iris
User avatar
TimG
Posts: 2675
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Webserver display not smooth displayed

Post by TimG »

For me the Dahua cameras have been the best and easiest to set up with BI5, but I presently have a lot of the 2MP Starlight cams rather than anything newer. You need to go for compatibility in the Dahua settings. Anything with a + is likely to be better with a Dahua NVR but less compatible for BI5. Vanilla everything and H265 is fine with my cameras.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Hobkoponko123
Posts: 7
Joined: Thu Nov 21, 2024 12:37 am

Re: Webserver display not smooth displayed

Post by Hobkoponko123 »

TimG wrote: Wed Dec 04, 2024 6:44 pm For me the Dahua cameras have been the best and easiest to set up with BI5, but I presently have a lot of the 2MP Starlight cams rather than anything newer. You need to go for compatibility in the Dahua settings. Anything with a + is likely to be better with a Dahua NVR but less compatible for BI5. Vanilla everything and H265 is fine with my cameras.
Thanks for answering :)
What do you mean compatibility mode on Dahua cameras?
Could you post what settings you use on BI5 for Dahuas and for Webserver display on BI5? (print scr if possible)
Vanilla everything - what is this mean? I know it is something with AI but not sure what (I am using some AI for tests now also with codeprojects AI)
User avatar
TimG
Posts: 2675
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Webserver display not smooth displayed

Post by TimG »

For best compatibility with BI5, turn off any Dahua special functions. No plus this or special that. They are all for Dahua NVR's and move the camera away from universal compatibility.
Vanilla everything simply means to keep the basic settings on the cameras.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Post Reply