Hacker News new | ask | show | jobs
by walterbell 4155 days ago
Is there any current or proposed implementation that can support W3C SMIL in the browser? A decade ago, RealPlayer was able to seamlessly edit video excerpts (defined by start::stop intervals) into a single video stream. The excerpts could have originated from different servers.

Will the new DRM formats support this use case? E.g. if I'm a paying Netflix subscriber, could I view a dynamically defined (XML or JSON) mashup of Buffy and Twilight, using only a list of start/stop edit points? The HTML5 viewer would need to pre-buffer each video clip, to make the viewed stream seamless.

1 comments

You could build something like that in Javascript on top of HTML <video> and MSE, probably. The EME (DRM) spec is not really related to this.
Wouldn't the DRM spec have to explicitly permit MSE buffering? If Javascript could buffer the stream and send it to any destination other than a DRM-approved output device, that would defeat the DRM.
The way EME is designed, the browser is responsible for fetching the data from the network and passing it to the DRM module. This is no different with MSE, as far as I can tell; what you buffer up is the encrypted data, then pass it on to the DRM stuff.
Thanks, I'll run a test to see if it's possible to request an encrypted stream by timecode, then buffer it for composition with another encrypted stream.