[Webkit-unassigned] [Bug 135972] [GStreamer] unrelated codecs required to play videos
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 6 10:06:08 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=135972
--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Relevant part of the spec:
http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#mime-types
So considering this, I think the best we could do here would be if we could directly override media.canPlayType() with our own implementation instead of just passing a list of mimetypes we might support to the upper layers.
Inside the media.canPlayType() implementation we could then check directly against the available GStreamer plugins and handle missing mime type details accordingly.
For example for
- video/mp4 we could check if: a) a MP4 demuxer is available, b) at least one video or audio decoder for H264, MPEG-4 Part 2, MP3 or AAC is available. Here we would return "maybe"
- video/mp4,codec=mp4v.20.8" check if: a) a MP4 demuxer is available, b) a MPEG-4 Part 2 video decoder is available. Here we can probably return "probably" instead of "maybe" then
Opinions?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141206/1fbfbbc3/attachment-0002.html>
More information about the webkit-unassigned
mailing list