W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] Scripted <video> query proposal

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 23 Aug 2008 09:36:11 +1200
Message-ID: <11e306600808221436s536d1817s791945ed073233c4@mail.gmail.com>
On Sat, Aug 23, 2008 at 1:46 AM, Eric Carlson <eric.carlson at apple.com>wrote:

>
> On Aug 21, 2008, at 8:56 PM, Robert O'Callahan wrote:
>
> Does that actually enumerate all supported codecs? Looking at the Webkit
> code and the Quicktime docs, it looks like it's just enumerating
> file/container types.
>
>   Indeed the code enumerates movie importers and just builds a list of the
> MIME types supported by QuickTime, so it can not yet deal with a type string
> with an RFC4281 "codecs" parameter. We are working on that requirement, but
> the current approach is still useful because the "codecs" parameter is not
> yet widely used.
>

That will require extensions to Quicktime, right?

So using your current approach implement Tim's proposed API, we can use this
to answer "yes" or "no" if the MIME type contains no codec string, and if
the MIME type does contain a codec string we can either answer "no" (if the
container is not supported) or "maybe".

I suppose if Tim's willing to assume that anything supporting the Ogg
container supports Theora and Vorbis, that's good enough for now ... for
Quicktime. We'll have to look into whether something similar is possible
with GStreamer and DirectShow. But I guess even if it isn't, a 3-value
version of Tim's proposed API is better than nothing.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080823/301f36f2/attachment.htm>
Received on Friday, 22 August 2008 14:36:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC