processing-video icon indicating copy to clipboard operation
processing-video copied to clipboard

Camera has green tint and runs with big delay/lag

Open TheCodecOfficial opened this issue 8 years ago • 22 comments

When I try to display an image from my camera it gets displayed with a green tint to it. It should also run at 30 fps but it runs really laggy. It's also got a big delay.

OS: Windows 10

I'm having this problem on a Surface Book and I've heard of many other surface users who have the same problem. Someone suggested, that the green tint could be from the depth data from the camera.

image

Greetings TheCodec

TheCodecOfficial avatar Jun 04 '17 19:06 TheCodecOfficial

Hi, there, I have the same issue, I am using surface book as well, have you fixed it?

I think the problem might because of the infrared sensor?

YuhangZhou avatar Oct 05 '17 22:10 YuhangZhou

have the same issue when using an app, it seems there's some conflict with some programs , when i use a new install win 10 system on the same machine , there is no this issue

YuxuanLing avatar Apr 19 '18 02:04 YuxuanLing

Having the same issue, using surface pro 4, even after i reinstall win10.

yuan7407 avatar Aug 21 '18 05:08 yuan7407

I still have yet to find a solution to this issue, so I figured I'd maybe give this a bump. The video library that's been made available from the Processing Foundation doesn't appear to be functioning with my surface pro's webcams as well. I run Windows 10 on a Surface Pro (2017 model).

I can only view the rear-facing camera and it is dark and green tinted. I have no access to the front camera at all. The frame rate is incredibly low as well. I have found a solution that does not use the video library, but it doesn't really seem like the most useful for experimental use of digital cameras. Plus it utilizes a DirectShow library, which is not open-source. Doesn't solve the issue for the long term.

SEK-KAI avatar Sep 29 '18 15:09 SEK-KAI

How rubbish is this surface pro 4 green colour tint lag, lagging issue...

My usual surface pro 4 camera app works absolutely fine but Zoom (zoom.us) conferencing app come out green and really laggy - like ~1 FPS.

I tried installing a firmware update as advised here: https://answers.microsoft.com/en-us/surface/forum/all/microsoft-surface-pro-4-camera-green-tintlag/f8b59b09-18ec-478a-9225-4ac95a5e39fc

Basically advises installing Microsoft's (25/7/2018) firmware update: (SurfacePro4_Win10_16299_1803001_0.msi) https://www.microsoft.com/en-gb/download/details.aspx?id=49498

This didn't work for me. Although it did bring up this error when trying to view the front facing camera through the native camera app 0xA00F4271(0xC00D3704) which I had to fix previously so for a moment I thought I'd done backwards but then it seemed to work and went away without making any changes that I recollect (computer restart or software/firmware installation anyway)

Next step for me is to get in touch with Microsoft Support unless anyone else has found a solution?

Zoom app front camera feed (rear camera is the same)

image

Native camera app (rear camera is also the same) image

peedubs avatar Feb 20 '19 20:02 peedubs

hello peedubs, i have also meet this issue long ago , and following is my resolution. please update your system to the latest , and check your regedit. if you find the EnableFrameServerMode , please remove it and have a try [HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows Media Foundation\Platform] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Media Foundation\Platform] DWORD under both keys titled : EnableFrameServerMode with value set to 0 needs to be deleted

YuxuanLing avatar Feb 21 '19 01:02 YuxuanLing

I have the same issue on surface pro 6(windows 10 1809). I tested with gstreamer library(1.15.1), and the same problem happens.

jaegonlee avatar Apr 15 '19 15:04 jaegonlee

The above registry setting worked to fix my issue! Thanks! I fought and fought with this problem. Camera worked fine in the camera app and the skype for business video, but had a very dark green tint/hue to zoom video and 8x8 video.

greentintgone avatar Apr 16 '20 16:04 greentintgone

What registry setting are you referring to?? This is making me crazy!!

aj40something avatar May 13 '20 22:05 aj40something

Please tell me what I need to do as if you are talking to 5 year old. I have looked where I thought were the obvious places but have no clue what to do now.

aj40something avatar May 13 '20 22:05 aj40something

Are you having this issue with the surface?

Adrian Young 612-343-8169 [email protected]

On May 13, 2020, at 5:14 PM, aj40something [email protected] wrote:

 What registry setting are you referring to?? This is making me crazy!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

greentintgone avatar May 13 '20 23:05 greentintgone

Yes, most frustrating!

On Wed, May 13, 2020, 6:05 PM greentintgone [email protected] wrote:

Are you having this issue with the surface?

Adrian Young 612-343-8169 [email protected]

On May 13, 2020, at 5:14 PM, aj40something [email protected] wrote:

 What registry setting are you referring to?? This is making me crazy!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/processing/processing-video/issues/72#issuecomment-628290841, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSKGNKKTFRRWROCVTRPX4TRRMRURANCNFSM4DN53QUQ .

aj40something avatar May 14 '20 01:05 aj40something

Ok. Launch RegEdit Once you’re in the registry editor go to these folders. They will show up on the left side.

[HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows Media Foundation\Platform]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Media Foundation\Platform] ** In both of these folders above delete the sword that shows up titled enableframeswrvermode. DWORD under both keys titled : EnableFrameServerMode with value set to 0 needs to be deleted

Adrian Young 612-343-8169 [email protected]

On May 13, 2020, at 5:14 PM, aj40something [email protected] wrote:

 What registry setting are you referring to?? This is making me crazy!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

greentintgone avatar May 14 '20 01:05 greentintgone

Thank you! Looks like it worked!!

On Wed, May 13, 2020 at 8:59 PM greentintgone [email protected] wrote:

Ok. Launch RegEdit Once you’re in the registry editor go to these folders. They will show up on the left side.

[HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows Media Foundation\Platform]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Media Foundation\Platform] ** In both of these folders above delete the sword that shows up titled enableframeswrvermode. DWORD under both keys titled : EnableFrameServerMode with value set to 0 needs to be deleted

Adrian Young 612-343-8169 [email protected]

On May 13, 2020, at 5:14 PM, aj40something [email protected] wrote:

 What registry setting are you referring to?? This is making me crazy!!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/processing/processing-video/issues/72#issuecomment-628340130, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSKGNNLROKFA63HOG7RGX3RRNGBNANCNFSM4DN53QUQ .

aj40something avatar May 18 '20 22:05 aj40something

Hello all, I have just updated my surface book 2 drivers (the latest are from 05.16.2020, here).

I went to the Registry Editor app and searched for the mentioned sword on both folders, but I didn't find them. Am I doing something wrong?

My problem is that my video captured in real time in the Processing 3 program is also green tinted and very, very slow.

If anyone knows what to do and doesn't mind sharing I would appreciate it very much.

marianalimoes avatar Jun 08 '20 18:06 marianalimoes

hello peedubs, i have also meet this issue long ago , and following is my resolution. please update your system to the latest , and check your regedit. if you find the EnableFrameServerMode , please remove it and have a try [HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows Media Foundation\Platform] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Media Foundation\Platform] DWORD under both keys titled : EnableFrameServerMode with value set to 0 needs to be deleted

I made an account to say that this was my issue. Microsoft help desk told me to make it and never said to delete it after my camera worked again! Thanks!!

aparra911 avatar Jan 13 '21 19:01 aparra911

Hi guys, I have the same problem in Processing 4. The video captured is green-tinted and has large delays. I tried to create a EnableFrameServerMode in regedit, but it doesn't work for me.

If anyone knows what to do, please share the solution I would appreciate it very much.

chenyifan117 avatar Aug 04 '22 09:08 chenyifan117

Thank you YuxuanLing, running the registry as administrator and deleting the two dwords did the trick. It is incredible how shitty the service at Microsoft is. I use MS's skype and a MS surface comp.

xiagala avatar Aug 19 '22 16:08 xiagala

Hi,

I have the same issue here. I tried going into the suggested registry locations, but there weren't the mentioned files. Please help! Windows Hello stopped working cuz of this.

S44K avatar Aug 16 '24 02:08 S44K

Try installing the latest GStreamer library on your system, so the video processing library will use this version instead of the older 1.20.x version. I installed GStreamer 1.24.6 on my Surface Pro, and it works.

jaegonlee avatar Aug 16 '24 04:08 jaegonlee

Try installing the latest GStreamer library on your system, so the video processing library will use this version instead of the older 1.20.x version. I installed GStreamer 1.24.6 on my Surface Pro, and it works.

Do you mean this? https://gstreamer.freedesktop.org/download/#windows

S44K avatar Aug 16 '24 04:08 S44K

Try installing the latest GStreamer library on your system, so the video processing library will use this version instead of the older 1.20.x version. I installed GStreamer 1.24.6 on my Surface Pro, and it works.

Do you mean this? https://gstreamer.freedesktop.org/download/#windows

Yes. I installed MSVC 64bit 1.24.6 runtime and development.

jaegonlee avatar Aug 16 '24 10:08 jaegonlee