Page MenuHomePhabricator

Play back VP9 video (and some audio) via MSE for MS Edge
Closed, DeclinedPublic

Description

Microsoft is adding VP9 video playback to MS Edge; current Windows Insider editions (build 10547) include this prefed behind a switch in about:flags.

Once it's available by default, this'd be much better to use than ogv.js as a playback backend for MS Edge (native code will be faster, can make use of hardware accel, etc).

Example of such playback:

Currently Opus audio is not yet included, but it may or may not arrive soon. Vorbis is on their dev backlog and may or may not arrive at some point as well.

If Opus via MSE doesn't come in, may be able to rig up audio via ogv.js, with some kind of split-brain monstrosity. ;)

Event Timeline

brooke raised the priority of this task from to Needs Triage.
brooke updated the task description. (Show Details)
brooke added a project: TimedMediaHandler.
brooke subscribed.
brooke changed the task status from Open to Stalled.Oct 18 2015, 4:42 PM

Switching to stalled pending finalization of the WebM support in Edge; latest preview build 10565 drops the initial VP9 implementation but it's supposed to be coming back (possibly without the MSE-only limitation).

VP9 is back in current builds, but still behind an option switch unless hardware acceleration is present (which I have no way to predict when/if it is).

Opus audio is also supported now.

Still limited to MSE only for the moment...

Windows Insider build 17063 starts shipping the 'Web Media Extension' pack which includes Ogg, Vorbis, Theora, and full support for WebM in <video>. They appear to be planning to ship this by default in the next Windows version, if no major problems. Nice!

Using default options, VP9 is still enabled only when hardware-accelerated, but VP8 is now on by default, and both Opus and Vorbis are supported as audio tracks...

MediaSource.isTypeSupported('video/webm; codecs=vp8')

true

MediaSource.isTypeSupported('video/webm; codecs=vp9')

false

MediaSource.isTypeSupported('video/webm; codecs=opus')

true

MediaSource.isTypeSupported('video/webm; codecs=vorbis')

true

Since MS will be pushing out the standard video element bits in future Win10 version, no need to jump in with a MSE-specific thing here. Closing as declined.