Ghosting only in recordings, not live

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
Hey guys, I was wondering if anyone had an idea of what's going on here. This ghosting appears to be related to using Intel hardware acceleration.

Here is an example:
Changing to Intel + VPP doesn't make a difference.

Disabling Intel hardware acceleration and the problem goes away.

I have a few different cameras. Some 4k hikvisions and some 1080p dahuas. The problem happens on both.

Currently running the latest Intel drivers - 26.20.100.7000. Problem also existed with the previous drivers - 25.20.100.6577.

Thoughts?
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Hey guys, I was wondering if anyone had an idea of what's going on here. This ghosting appears to be related to using Intel hardware acceleration.

Here is an example:
Changing to Intel + VPP doesn't make a difference.

Disabling Intel hardware acceleration and the problem goes away.

I have a few different cameras. Some 4k hikvisions and some 1080p dahuas. The problem happens on both.

Currently running the latest Intel drivers - 26.20.100.7000. Problem also existed with the previous drivers - 25.20.100.6577.

Thoughts?
Match the I frame interval to the FPS
 

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
1) Are you running Blue Iris ? If so what version ?
2) What CPU model and memory of the computer ?
3) What version of windows on the PC
4) Provide screen shot of the camera configuration from the camera NOT BI.
5) provide screen shot of camera configuration in BI.

Read Memory Leak: Quick Sync (Hardware Acceleration) | IP Cam Talk
Thanks for the link, I'll give that a read and reply back. To answer your questions (sorry, I should have provided some of these details in my original post) -

1. Yes, version 5.0.0.66 x64
2. Intel Core i7 9700k, 16GB DDR4
3. Windows 10 Pro
4. upload_2019-8-16_19-50-44.png

5. upload_2019-8-16_19-53-13.png
 

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
Match the I frame interval to the FPS
Hey fenderman, thanks for the response. I should have made my original post a lot clearer... I've read a number of posts about the importance of the iFrame interval and how it can cause ghosting like this. I've tried setting the iFrame interval to exactly 1/2 the framerate and to exactly the framerate 1:1. Neither of these made a difference. You can see in the screenshots I provided, the camera is set to 20fps and the iFrame interval is also set to 20fps.
 

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
Thanks SouthernYankee. I took a look at this post. I'm not sure it applies here. I've never had a memory leak on this system (I'm quite familiar with memory leaks.. I work in the industry dealing with operating system and application internals). Also, the problem is immediate even directly after a fresh reboot. With that said, I don't mind downgrading the drivers as a test if we think it's the best course of action.
 

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
Been doing some additional reading. This appears to be an issue with newer generation Intel graphics drivers. Looks like there are some significantly older drivers (7th gen) that fix the issues. But the newer 8th and 9th (mine) gen don't go that far back.
 

SouthernYankee

IPCT Contributor
Joined
Feb 15, 2018
Messages
5,170
Reaction score
5,320
Location
Houston Tx
The drive does cause this problem. I would check on the version for a I7, You may have to dig around and try a number of them.


What is the CPU load and GPU load for blue iris with your cameras.

Try these not sure if it would help.
1) if you have substreams turned on in the camera turn them off if you do not need them.
2) set Frame rate and Iframe to between 10 and 15. The same value, In security there is very little need for more than 15.
3) try using a variable bit rate in place of a constant bit rate type.
 

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
The drive does cause this problem. I would check on the version for a I7, You may have to dig around and try a number of them.


What is the CPU load and GPU load for blue iris with your cameras.

Try these not sure if it would help.
1) if you have substreams turned on in the camera turn them off if you do not need them.
2) set Frame rate and Iframe to between 10 and 15. The same value, In security there is very little need for more than 15.
3) try using a variable bit rate in place of a constant bit rate type.
The oldest driver available for the 9700k is version 25.20.100.6444, slightly older than the driver I had previously tested, but I'll give it a shot.

CPU load is about 12% and GPU load is about 35%. Cameras are three 4k Hikvision @ 20fps, and two 1080p Dahuas @ 30fps.

1. I can't disable the substreams, but I can reduce them down to a minimal bitrate. I did disable all of my cams except for one and the problem persisted, so I don't think it's a total system load, disk, network, CPU, etc. problem
2. I'll try reducing the frame rate. I would prefer higher frame rates because I have the capacity to record and store them, but we're testing here, so I'll give it a go.
3. I'll give the variable bitrate a try as well.
 

Mr-Gizmo

Getting the hang of it
Joined
May 19, 2014
Messages
86
Reaction score
50
2. I'll try reducing the frame rate. I would prefer higher frame rates because I have the capacity to record and store them, but we're testing here, so I'll give it a go.
I was going to recommend reducing the bitrate from 16384 kbps to something between 8192 - 12288 kbps. I remember reading a post on this forum about someone having a ghosting/video tearing problems with a 4K camera that was resolved by reducing the bitrate and the framerate.
 

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
Reduced the substream down to as low quality as it would go. 320p, 1fps, etc.

Reduced the mainstream to variable bitrate, maximum 8192 kbps, 15fps, matched the iFrame to FPS.. Unfortunately had the same result. Here are the current settings:

upload_2019-8-17_7-56-2.png
 

looney2ns

IPCT Contributor
Joined
Sep 25, 2016
Messages
15,521
Reaction score
22,657
Location
Evansville, In. USA
Thanks for the link, I'll give that a read and reply back. To answer your questions (sorry, I should have provided some of these details in my original post) -

1. Yes, version 5.0.0.66 x64
2. Intel Core i7 9700k, 16GB DDR4
3. Windows 10 Pro
4. View attachment 46053

5. View attachment 46054
There have been numerous updates since your version. Current BI version is 5.0.2.1.
Ken added some Intel driver related stuff in the past version or two.
May or may not help.
 

zorchy

n3wb
Joined
Oct 29, 2019
Messages
4
Reaction score
0
Location
MD USA
I just signed up to report I have the same issue a well.

  • Disable hardware accelerated decode: no "ghosting".
  • Enable Intel or Intel+VPP: ghosting returns.
  • Enable Nvidia CUDA: no ghosting.

Wouldn't the lack of ghosting with Intel disabled or Nvidia CUDA enable rule out messing with the I frame settings?

Windows Server 2016 Standard
Blue Iris 4.8.6.3
Intel i7-8700K
Intel UHD Graphics 630 Driver version 24.20.100.6170
Nvidia GTX 1070 driver version 440.97
 

zorchy

n3wb
Joined
Oct 29, 2019
Messages
4
Reaction score
0
Location
MD USA
All cameras are set at 15 FPS. I've tried I frame intervals of 15, 30 (default) and 60. "Ghosting" still only happens with Intel hardware acceleration enabled. It does not happen with hardware acceleration disabled or with Nvidia acceleration enabled. Not complaining - I just leave it disabled (the Nvidia is used for heavier transcoding activities). It would be nice if I could use the Intel acceleration though.
 

SouthernYankee

IPCT Contributor
Joined
Feb 15, 2018
Messages
5,170
Reaction score
5,320
Location
Houston Tx
Have you tried different drivers. There a a number of posts on similar issues. The last widows update wrecked a lot of bi systems.
 

peebee

n3wb
Joined
May 16, 2017
Messages
8
Reaction score
2
I should have updated this post, but honestly I forgot I had made it. I eventually ended up fixing this problem by completely wiping my system and starting from scratch. I had been experiencing other issues in BI with the database getting corrupted and figured a clean slate was best. After reloading Windows, the ghosting issue never returned. I left the drivers default that come installed via Windows Update. Didn't manually download and install them from Intel. So far everything is running very well, including offloading processing to the GPU. Below is the current driver I'm using.


1572565435302.png
 
Top