32 ms·
> If the CDM does not share the plain content with the browser, and the browser just gets to instruct the CDM to "draw there", then that means that: You cannot
by acdha 13y ago
> If the CDM does not share the plain content with the browser, and the browser just gets to instruct the CDM to "draw there", then that means that: You cannot layer stuff on top of the content (customized playback controls, user annotations, closed captions, advertising, other informational/navigational elements, branding etc.). You couldn't CSS transform the container with the content. You couldn't CSS shade/filter the content. You couldn't control its CSS opacity and you can't put the content into WebGL. You couldn't easily implement tab-switching (or alternative schemes of tabbing).
Almost none of this is true if the operating system allows you to provide a write-only layer – you'd be limited to the operations which the GPU can perform without the browser seeing the bits but that would address the needs of most sites at or better than the current plugin situation.
That said, millions of people seem to be perfectly happy with all of those restrictions as evidenced by the continued use of plugins which provide DRM with exactly the same tradeoffs — currently you could save frames from Flash/Silverlight but the content providers seem to have accepted that risk and nobody bothers because there are easier options available.
The real question here isn't an endless rehash of the DRM debates but how to change public opinion. We have a preponderance of evidence that most computer users are happy to accept DRM if that's how they get convenient access to things they want to see. The W3C is reacting to the strong, growing trend away from web technologies so it's a bit pointless to criticize that unless you have a viable plan to either get content providers to adopt less invasive but equally effective technologies like watermarking or get the public to stop paying for them.
Say we do draw a line and convince the W3C to drop EME — who benefits other than Adobe and Microsoft? Apple doesn't need EME because they're selling billions of dollars of movies through the iTunes store. Google will put EME or the equivalent into Chrome for anything they can't sell through their store.
This places Firefox in a really unpleasant situation: Mozilla will either be forced to license something, hope something changes before the plugin vendors drop out, or lose market-share because users are more likely to switch to IE / Safari / Chrome if something doesn't work in Firefox rather than not pay for DRMed content.
- pyalot2 13y ago> Almost none of this is true if the operating system allows you to provide a write-only layer – you'd be limited to the operations which the GPU can perform without the browser seeing the bits but that would address the needs of most sites at or better than the current plugin situation. The EME language indicates that the aim is to provide raw frames to the browser. Regardless, Adobe (with flash) has moved on from the idea to draw everything on top and not interact with the browsers compositor a long time ago. It turned out to be just extremely unworkable for a lot of flash usecases. These days, flash provides a filled framebuffer for the browser, and the browser composits it with the page in software or hardware. The step back to the model that the proprietary blob draws directly on screen will turn out to be non usable for most web properties (like netflix, youtube, amazon, bbc, vimeo etc.) because they all place custom branding, advertising, user annotations, closed captions, player controls and other navigational/informational elements on top of the content. > Say we do draw a line and convince the W3C to drop EME — who benefits other than Adobe and Microsoft? Apple doesn't need EME because they're selling billions of dollars of movies through the iTunes store. Google will put EME or the equivalent into Chrome for anything they can't sell through their store. Microsoft has been one of the staunchest and most feeverish proponents of DRM. Initially launched by Google and Netflix, to a mounting opposition from the EFF, Cory Doctorow, me and many, many other people, Microsoft stepped in and agressively stiffled dissent in the discussion on the standards body and held almost daily telephone conferences with netflix to push EME trough as fast as possible. The reason Microsoft is all hot&bothered about EME is because for the first time, in a long time, they see a credible chance to lock the web back into only their own platform (and certain tollerated proprietary small-bit players). The question isn't who is going to benefit if you oppose EME. The question is who is going to benefit even more if you don't oppose it (which is Microsoft). So the argument "Oh Apple and Microsoft are just gonna profit off EME" is moot, they're gonna pull their vendor-lock in and non-standard web fraud anyway, but now they get to say "waaaat? we're not evil! see, it's a standard!!!" > This places Firefox in a really unpleasant situation: Mozilla will either be forced to license something, hope something changes before the plugin vendors drop out, or lose market-share because users are more likely to switch to IE / Safari / Chrome if something doesn't work in Firefox rather than not pay for DRMed content. As I've said before, Firefox is in more than an unpleasant situation, because either EME is totally crippled and unusable for everybody, or the CDM will only be available to proprietary browsers. Either way, Mozilla/Firefox loses. But allowing EME/CDM/DRM is the worse choice, because it attaches all the legal headaches of DRM with a standard bodies blessing.
- acdha 13y ago> The step back to the model that the proprietary blob draws directly on screen will turn out to be non usable for most web properties (like netflix, youtube, amazon, bbc, vimeo etc.) Again, the fact that this works with Silverlight and Flash disproves your argument. I don't like DRM, I wish people would refuse to give up control of their devices but it's time to stop pretending that most of the computer users on the planet haven't decided the deal is acceptable. > The reason Microsoft is all hot&bothered about EME is because for the first time, in a long time, they see a credible chance to lock the web back into only their own platform You need to back up that claim about Microsoft - the only thing they stand to gain is not spending the effort supporting the other parts of Silverlight. The companies which have most vocally supported EME (Netflix and Google) both have significantly more to gain because it makes them less beholden to Microsoft and reduces the amount of non-web development they do. In any case, how exactly is is worse if one of the 30 million Netflix subscribers watches video using EME rather than Silverlight? Either way, the content is restricted to a proprietary decoder. Either way, the user won't care unless it prevents them from watching a movie. Whether or not that has a standard interface won't change any part of that process any more than, say, the lack of a W3C standard for eBook encryption has prevented millions of sales of HTML5+CSS+JS inside a DRMed ePub 3 wrapper. The real question here isn't a contest of technical minutiae but how to convince the millions of reasonably satisfied customers to stop paying for DRMed content. The only thing which has shown any signs of that happening was when incompatible DRM tanked home AV sales because early HDTVs weren't compatible with BluRay players; at the iTunes/Netflix-level it's clear that most people don't care enough to stop paying for it. If you care about actually changing this the real question is figuring out how to change the market.
- pyalot2 13y ago> Again, the fact that this works with Silverlight and Flash disproves your argument. I don't like DRM, I wish people would refuse to give up control of their devices but it's time to stop pretending that most of the computer users on the planet haven't decided the deal is acceptable. It doesn't work with flash. Because Adobe has given up trying to do that, because it turned out to be unusable. Flash shares a framebuffer with the browser compositor, and that's why it's been used for everything under the sun, because it became usable enough by that simple measure of not drawing directly on screen bypassing the browsers compositor.
- shmerl 13y ago> Almost none of this is true if the operating system allows you to provide a write-only layer What kind of operating system should provide non trustworthy, malware prone security minefield, which is a "write only" layer? You'd think no sane OS should, but wait! Windows does, since Vista times. That's the whole point. DRM is by nature incompatible with openness. Therefore EME is by nature incompatible neither with any open systems and browsers, nor with the open Web.
- acdha 13y ago> Therefore EME is by nature incompatible neither with any open systems and browsers, nor with the open Web. If you were right, millions of people would not be able to use Flash/Silverlight daily. I might not like that but I'm not willing to pretend most users have accepted that deal.
- shmerl 13y agoHow exactly does Flash prevent you from recording anything (audio / video) on Linux let's say, by capturing corresponding audio / video devices? There is no Silverlight for Linux by the way.
- acdha 13y agoIt doesn't – any more than, say, Flash on Windows really does. Clearly preventing casual efforts is enough for most of the content vendors, which is why I'd really like to see a credible player offer something like per-user watermarking without the pretense of offering more than a casual barrier to copying.
- shmerl 13y agoOn Windows, the DRM inside the system does prevent you from recording stuff, while being a security risk: https://www.schneier.com/blog/archives/2007/02/drm_in_windows_1.html https://www.schneier.com/blog/archives/2007/02/drm_in_window... > Clearly preventing casual efforts is enough for most of the content vendors Which is stupid. Those "casual efforts" won't be spent on trying to capture anything by those who pirate. They'll just casually get that through file sharing networks, while those who originally upload things can go way beyond "casual" methods to break DRM. The bottom line always is - that there is no technical or business reason to use DRM.
- kevingadd 13y agoThe idea of a 'write-only layer' in the browser scenarios described is ridiculous. It simply doesn't exist. In the days of DVDs, GPU acceleration exposed the concept of 'overlays' that you could dump YUV or RGB video content into, and those overlays would be presented directly to the display - the RAMDAC overlaid them onto your framebuffer when producing VGA/DVI/etc signals. This, at least, made it possible to make such a mechanism 'write only', if you sufficiently secured the output (via negotiation, or something) to ensure it wasn't being fed to a capture device - you only had to deal with the analog hole. But once you're trying to composite protected content into a webpage, you've already lost the game. The content can be clipped, scaled, rotated, sheared, faded, masked, filtered, and so on - all without writing any JS. All those transformations would somehow have to be baked directly into this 'protected rendering' pipeline and implemented cross-platform in such a way that none of that data was accessible at any point in its myriad trips between the CPU and GPU. You'd have to access-control all the cache textures on the GPU, all the buffers on the CPU, all the intermediate information. You'd also have to access-control the resulting framebuffer for the browser tab, and any other intermediate framebuffers, along with the actual output from the GPU that's sent to your display - and most displays these days are connected digitally, so now you're dependent on your end-users having HDCP compliant displays (which many do not). It's a complete joke. EME cannot work. Period. Modern GPU/CPU configurations are basically general-purpose compute hardware with mutually accessible memory and the ability to do computations and read/write operations from inside rendering routines (i.e. pixel shaders).
- acdha 13y ago> The idea of a 'write-only layer' in the browser scenarios described is ridiculous. It simply doesn't exist. I'm sure that will be quite a surprise to Microsoft as they shipped it years ago. You couldn't push every possible operation out to the GPU but there's no technical reason why the subset of operations which a browser would use to playback a video couldn't be supported, similar to the way a modern desktop can be GPU accelerated but e.g. screen captures don't include windows where restricted content is playing. The problem is not technical – that ship sailed years ago – but business: the content providers and consumers have accepted the current status quo with plugins rendering the subset of paid content which isn't playing in a native app. The businesses don't need perfection – they're already making truckloads of cash. As I stated above, we really need to figure out how to disrupt that if you want to see any change. Pretending that technical perfection is necessary or that the public isn't willing to tolerate a billion dollar a year status quo is just delaying that discussion.
- JoshTriplett 13y ago> Almost none of this is true if the operating system allows you to provide a write-only layer – you'd be limited to the operations which the GPU can perform without the browser seeing the bits but that would address the needs of most sites at or better than the current plugin situation. Leaving aside the other fundamental problems of having a required proprietary component, this still isn't true. Browsers don't currently allow sites to use third-party images as WebGL textures without permission from those sites, because there are any number of ways to run transformations on those textures that will reveal information about them. Exactly the same issue would apply to rendering DRMed content: if the site can composite that content, it can analyze that content and figure out what it contains.
- acdha 13y ago> Browsers don't currently allow sites to use third-party images as WebGL textures The quote included specifically addressed that point: “you'd be limited to the operations which the GPU can perform without the browser seeing the bits” Just as browsers have limits about how plugins interact with the rest of the page, it's quite easy to imagine analogous restrictions on how a restricted layer could be composited or tainting the rest of the page to prevent read-back operations. Again, the fact that everyone from users to content providers seems to be satisifed with the Silverlight status quo shows that this is not technically impossible because it's already in daily use by millions of people.
- JoshTriplett 13y ago> The quote included specifically addressed that point: “you'd be limited to the operations which the GPU can perform without the browser seeing the bits” It doesn't matter if the browser can see the bits directly. If the browser can supply GPU operations that manipulate the bits, the browser can infer the contents of the bits in umpteen different ways.
- acdha 13y agoWhich, under the normal definitions in standard English, is “seeing the bits”.