Ghosting only in recordings, not live

peebee

n3wb
May 16, 2017
8
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?
 
  • Like
Reactions: iseeker
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
 
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
 
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.
 

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.
 
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.
 
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 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.
 
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.
 
  • Like
Reactions: TL1096r
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
 
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.
 
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
 
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.
 
Have you tried different drivers. There a a number of posts on similar issues. The last widows update wrecked a lot of bi systems.
 
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
 
  • Like
Reactions: SouthernYankee