Skip to content
Naked Security Naked Security

Has Microsoft “broken” millions of webcams? (And how to fix yours.)

Windows 10 Anniversary Edition changed the programming rules for webcam apps - if your webcam isn't working any more, what can you do?

It’s not a good /day, week, month, quarter, year/ to be working in Microsoft Support.

The company has been on a bit of a hiding to nothing over updates for a year or more, following the launch of Windows 10.

Admittedly, some of our readers have told us that they simply can’t see what the fuss is about: latest version, modern look, more secure, free of charge, what’s the problem?. (Not any more, of course: from 30 July 2016 onwards, you’ve had to pay.)

But there’s been a very vocal contingent – a minority, we suspect, but a significant minority at the very least – who have fallen out hard with Microsoft over the move to Windows 10.

From unannounced “pre-downloads“, where files totalling more than 3GB were silently stashed locally in case you wanted them later, through ambiguous dialogs that upgraded you when you thought you’d declined, to unexpected popups in the middle of weather report live on TV, it seemed that Microsoft just couldn’t get it right.

Even when Microsoft listened to its users and made the wording in the upgrade dialog much clearer, some of our readers still had negative things to say.

So, now that the free upgrade is over (so you definitely can’t get it by mistake) and the next big version update, known as the Anniversary Edition rather than Windows 11, you’d think that Microsoft might have cut itself some slack.

Except that there’s a huge brouhaha going on as users report, “My webcam’s busted.”

If the vitriol poured out in the comments (300 and counting) of a Thurrott blog article entitled “Microsoft Has Broken Millions Of Webcams With Windows 10 Anniversary Update” is anything to go by, this one’s a super-big problem.

Of course, your webcam isn’t “broken” in the dropped-on-the-floor-and-in-two-pieces sense of the word.

However, a bunch of Windows software, apparently including Microsoft Skype itself, no longer works properly with some well-known webcams on the market, notably those that implement video compression inside the camera itself.

High-definition webcams, like the popular USB-based Logitech C930e that can stream video at 1920x1080p, often include built-in compression so that there’s less data to send down the USB cable in the first place, usually using one of two common lossy compression formats known as MJPEG and H.264.

That’s the same sort of compression that digital TV uses, and it’s like listening to an audio track as an MP3 instead of straight off a CD or in an uncompressed form such as FLAC: for most people the difference is modest or even undetectable, but the savings in bandwidth and storage can be huge.

Anyway, as far as we can tell, until Windows 10 Anniversary Edition (10AE), Windows apps that handled video input could ask the operating system for the compressed data straight out of the camera, and process it directly.

There are a few disadvantages to doing this:

  • Every app needs to do its own video decoding, instead of letting the operating system take care of it centrally.
  • If two apps want to access streaming video at the same time, they have to be careful not to use different video compression settings, or they’ll interfere with each other.
  • If multiple apps are processing live video, they’ll all end up decompressing the data at the same time, imposing extra load.

So, Microsoft decided that in Windows 10AE, your app would no longer be able to request video streams in compressed-out-of-the-camera format.

Instead, you’d have to accept already-decompressed video from the operating system itself, decoded into one of two common formats: YUY2 or NV12.

YUY2 data has a brightness level (luminance) for every pixel, and colour information for each pair of horizontal pixels. NV12 is similar, with brightness data for every pixel but colour only for every 2×2 square in the image. Encoding brightness and colour separately, compared to modern formats such as RGB and HSV, was a neat solution when colour TV came out in the 1950s. By transmitting the luminance and sound as before and splitting the colour data into a separate signal, black-and-white TVs continued to work normally, blissfully ignorant that colour TVs existed at all. The reason for sampling the colour data at a half or a quarter of the rate used for brightness is that the human eye is much less sensitive to variations in colour than in luminance. (That’s the reason why moonlit scenes look like black-and-white photographs: in low light, we can hardly distinguish colour at all.)

In theory, an app working directly with uncompressed data shouldn’t make any difference to what you see, because an app can’t display compressed data without decompressing it anyway.

In practice, however, it means that unless your app has an option to use uncompressed video, or automatically adjusts itself if a compressed stream is not available from a camera from which it expected one, the app will no longer work at all.

And that’s what lots of software vendors are complaining about on Microsoft’s support forums, because lots and lots of those vendors’ own users are complaining that “my web cam broke after the update.”

That’s because some vendors prefer pre-compressed data, and rely on using cameras that support it, especially if they are capturing data from multiple webcams, as a surveillance system might.

Pre-compressed data greatly reduces the amount of data coming in via USB, and USB bandwidth can become a bottleneck if it’s shared between many devices.

Also, multi-source video recording apps that use uncompressed video inputs have to compress multiple webcam streams at the same time before saving them – a CPU-intensive job that in the past could be left to each camera to do in parallel.

With Microsoft’s own Skype app apparently on the list of affected apps, there are plenty of reports of “blank screens of death” during Skype video calls.

What to do?

  • Test early, test often. If you’re a software developer whose product is locked into using specific operating system hardware settings, don’t get taken by surprise. Get onto Microsoft’s early access program so you can come up with a Plan B before the official launch date if needed.
  • Ask your vendor if there’s a workaround. Some developers may have configuration settings that can deal with the problem without waiting for a fix.
  • Keep your eye on Microsoft’s support forums. Word on the street is that Microsoft is going to change this change as soon as possible (though not before September 2016) so that apps relying on direct access to compressed video will work unchanged once again.
  • For Skype calls, consider switching back to your built-in webcam if you have one. This may work, because the built-in webcam probably doesn’t support compression in the first place. Of course, many users will have bought USB webcams to improve both sound and video quality, making this a compromise and not a fix.
  • For Skype calls, try using Skype Preview, included with Windows 10AE. This is essentially a pre-release version, so it won’t please everyone, but many report that it works with USB webcams just fine. We tested with a Logitech C930e HD camera and had no trouble.

There’s also a registry hack going round, where you use the registry editor to set the following entry:

HKLM\SOFTWARE\WOW6432Node\
Microsoft\Windows Media Foundation\
Platform\EnableFrameServerMode = 0

We haven’t tried this, not least because we only wanted to use Skype, and the new Skype Preview did the job fine for us.

We’re assuming that this is a hidden tweak that turns off the new “you can no longer get data pre-compressed from the camera” option, but please bear in mind that it’s not officially document by Microsoft far as we know [as at 2016-08-22T16:15Z], and we’ve not tested it ourselves.

Are you affected by this issue?

If so, did you try any workarounds, and if so, were they successful? (You may remain anonymous.)


14 Comments

I was having the issue, found the reg hack, and so far it’s working. You may also have to do the same DWORD in HKLM\Software\Microsoft\Windows media Foundation\Platform, or at least the article I found (which seems to be based on thurrott’s) said. I made both changes, rebooted, and haven’t had a single Skype problem since (knock on wood).

Reply

I think the registry change above is if you have Windows 10AE 32-bit. (Does anyone?)

I can’t see why you can’t safely do both, but once this is officially patched don’t forget to undo the changes…

Reply

Please note that the registry entry displayed in the article is wrong: you want to set HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows Media Foundation\ Platform\EnableFrameServerMode to 0 (note the “\” between Platform and EnableFrameServerMode. As mentioned above, you also want to set HKLM\SOFTWARE\\Microsoft\Windows Media Foundation\ Platform\EnableFrameServerMode to 0.

Note that the easiest way to accomplish this in a larger environment is by configuring this using Group Policy (using Group Policy Preferences)

Reply

Hah, to think the headline had me envisioning a basic driver conflict or misplaced codec and wondering why it’s a security article.

MS claiming performance improvement–ironically after touting the Efficiency Phenomenon That Is Windows Ten–is a facade at best; they merely want to be the ones decrypting your web stream. They saw Google (slowly at first) beginning to amalgamate the world’s data and thought, “oh yeah that could be worth money–me too” and followed behind with poor imitations. I wouldn’t be surprised to learn in three years (Snowden Junior, we’ll call him for the moment) that cooperation with the NSA is a cherry on top of this delectable morsel.

I guess the guy who works in the testing department was sick that day. Yet again the phrase ‘blithely unilateral’ relates to Microsoft. They’re the multinational conglomerate equivalent to the high school buddy who was perpetually too stoned to fire all cylinders simultaneously:

“Hey bro, we thought you might stub your toe on that step outside the house we sold you–it happened to my cousin once bro. …so we chopped off your foot while you were asleep. Righteous! You’re welcome bro.”

Reply

Also deleted my printer and its driver, and rolled back my mouse driver to a version that doesn’t support the Trackpoint third buttons in “Metro” apps (primarily the Ëdge browser). Don’t they test this stuff before they ship it.

Sigh. The newly-installed printer driver prints colors way too dark. I have to remember what I did last month to fix that.

Reply

My HP LaserJet Printer is not recognized again. Every time there is an update, large or small, I am no longer able to print. Also, Windows 10 duplicates my printer, my pictures and my files multiple times (up to 94 times each, which adds to my problem. I have downloaded new drivers from HP, to each printer shown and used my Install DVD to try to repair and/or install a new printer. Nothing works this time.
This is beyond frustrating! I should not have to pay Microsoft for their help since they caused the problem! But each time I try to find an answer to my problem, I am sent to the Microsoft help forum or whatever it is called. There has been no help offered from Microsoft.

Reply

I recently purchased a Windows 10 laptop (out of necessity – display died on trusty old Toshiba). After about 6 weeks of minor updates, Windows decided to do a large one today. Took nearly 45 minutes! After reading this article about busted webcams, I wonder what else might have gotten changed by this update. All of the customization I did to my desktop & several applications that I uninstalled reappeared. Hey, Microsoft, you might control the OS, but I paid for this laptop – leave my settings alone!

Reply

skype no longer works with my Logitech webcam on my desktop. I tried Microsoft, they actually called me and were useless. His first question was did you drop your camera? I said No. He verified that the camera was working by snapping a picture via remote access. I said that is not the issue the issue is with Skype. Waste of time. Windows 10 is a scourge. Next computer will be an Apple.

Reply

They can take their best shot, but I don’t think that any Microsoft update will be able to break the electrical tape over my webcam.

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe to get the latest updates in your inbox.
Which categories are you interested in?
You’re now subscribed!