[Bug 13359] <track> A way is needed to identify the type of data in a track element

https://www.w3.org/Bugs/Public/show_bug.cgi?id=13359

--- Comment #44 from Ian 'Hixie' Hickson <ian@hixie.ch> 2012-04-25 18:39:57 UTC ---
Exposing some author-provided machine label for metadata tracks seems
reasonable, and not too much of a burden on implementors, _if_ we provide it by
just exposing a single field from each format. You don't need more than one
field, it just has to be something that the author can control on the
production side and then read predictably on the consumption side. It has to be
a field that the author can use to provide arbitrary data.

For ogg, it seems "name" is the closest match. It's not intended to be
user-readable, as far as I can tell, and it's freeform.

For WebM/Matroska, I can't see an appropriate field, but maybe CodecID is
sufficient for most use cases.

I don't know the other formats well enough to comment on those.


Note that currently we don't actually define even how "label" is mapped. The
idea is that there will be format-specific specifications to define the
mapping. The only difference here is that it's not at all as clear what the
mapping should be for this field so I don't trust that user agents would
implement it interoperably with similar vague hand-waving.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 25 April 2012 18:40:03 UTC