<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25132</bug_id>
          
          <creation_ts>2014-03-24 06:00:12 +0000</creation_ts>
          <short_desc>Update the &quot;sourcing in-band text tracks&quot; section for different types of text tracks</short_desc>
          <delta_ts>2014-09-15 22:30:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>24997</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>b.lund</cc>
    
    <cc>cyril.concolato</cc>
    
    <cc>hbbtvjon</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102810</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-03-24 06:00:12 +0000</bug_when>
    <thetext>Expand on how to source TextTrack objects from types of inband text tracks typically used in UAs, given input from the Inband Text Track CG. This includes:

1. Determining what tracks in a media resource are actually identified as text tracks

2. The order in which the identified tracks are added to the TextTrackList

3. How to fill the .id, .kind, .label, and .language attributes on the created TextTrack object (these are actually applicable to AudioTrack and Video Track objects, too)

The proposed patch is here: https://github.com/w3c/html/commit/5fbd9199cc711d8ae9155da58be3d4368272e00d .

The Inband Text Track CG has collated information on their wiki here: https://www.w3.org/community/inbandtracks/wiki/Main_Page#Audio.2FVideo.2FText_Track_Creation
* &quot;Track order&quot; relates to point 2 above,
* &quot;Track id, label, language&quot; relate to point 3 above,
* &quot;TextTrack Creation - kind&quot; relates to point 1 &amp; 3 above

The specifications that I based the patch on are as follows:

* Ogg (there were some bugs in Ogg and I completed the information): https://wiki.xiph.org/SkeletonHeaders and
https://www.xiph.org/ogg/doc/framing.html (for skeleton-free Ogg)

* WebM:
http://www.webmproject.org/docs/container/
http://matroska.org/technical/specs/index.html

* MPEG-2:
http://www.itu.int/rec/T-REC-H.222.0-201206-I

* ISOBMFF/MEG-4:
http://standards.iso.org/ittf/PubliclyAvailableStandards/c061988_ISO_IEC_14496-12_2012.zip

* DASH:
http://standards.iso.org/ittf/PubliclyAvailableStandards/c057623_ISO_IEC_23009-1_2012.zip

Where it was unclear, I used the input from the CG wiki.
The patch has been reviewed and ok-ed by the CG (see bug #24997).
I&apos;m looking to have the patch adjusted and applied in a manner that suits the WHATWG style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103234</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-04-01 16:47:13 +0000</bug_when>
    <thetext>Shouldn&apos;t this just be in a wiki somewhere? It seems like it needs specific text per-format, and HTML itself seems like a poor place to put that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105029</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-05-05 07:27:45 +0000</bug_when>
    <thetext>A first draft spec is now available at http://rawgit.com/silviapfeiffer/HTMLSourcingInbandTracks/master/index.html .

The following changes still need to be added to the HTML spec - these are about the sourcing of the inBandMetadataTrackDispatchType attribute:

1.) Typo for Ogg:

&lt;dt&gt;If the &lt;span&gt;media resource&lt;/span&gt; is an Ogg file&lt;/dt&gt;

The &lt;span&gt;text track in-band metadata track dispatch type&lt;/span&gt; must be set to the value of the Name header field.

That should be the &apos;role&apos; header field, and not the &quot;Name&quot; header field.


2.) Add for DASH:

&lt;dt&gt;If the &lt;span&gt;media resource&lt;/span&gt; is a DASH media resource&lt;/dt&gt;

&lt;dd&gt;The &lt;span&gt;text track in-band metadata track dispatch type&lt;/span&gt; must be set to the concatenation of the &quot;AdaptationSet&quot; element attributes and all child Role descriptors. &lt;a href=&quot;#refsDASH&quot;&gt;[DASH]&lt;/a&gt;&lt;/dd&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105100</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-05 21:55:02 +0000</bug_when>
    <thetext>I like it!

What URL should I use to reference that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106081</commentid>
    <comment_count>4</comment_count>
    <who name="Bob Lund">b.lund</who>
    <bug_when>2014-05-15 19:45:01 +0000</bug_when>
    <thetext>Bug 25733 [1] has been opened to add an HTML5 reference to the sourcing spec.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=25733</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107420</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-06-06 05:28:15 +0000</bug_when>
    <thetext>Spec is now available at http://dev.w3.org/html5/html-sourcing-inband-tracks/ .

I&apos;ve made use of it via

https://github.com/w3c/html/commit/c3a32873e10c45fc948541ca229914d4cf07cdee</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110242</commentid>
    <comment_count>6</comment_count>
    <who name="Bob Lund">b.lund</who>
    <bug_when>2014-08-18 14:52:43 +0000</bug_when>
    <thetext>The version at http://dev.w3.org/html5/html-sourcing-inband-tracks/ captures known (at least to me) use cases for MPEG-2 TS, ISOBMFF and DASH.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111555</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-15 22:30:22 +0000</bug_when>
    <thetext>Looks like this got fixed at some point already.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>