Short URL: http://html5.org/r/7151
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 7151 | 13359 | 2012-06-28 05:36 |
Index: source
===================================================================
--- source (revision 7150)
+++ source (revision 7151)
@@ -36318,6 +36318,27 @@
title="">CodecID</code> element. <a
href="#refsWEBMCG">[WEBMCG]</a></dd>
+ <dt>If the <span>media resource</span> is an MPEG-2 file</dt>
+
+ <dd>Let <var title="">stream type</var> be the value of the
+ "stream_type" field describing the text track's type in the
+ file's program map section, interpreted as an 8-bit unsigned
+ integer. Let <var title="">length</var> be the value of the
+ "ES_info_length" field for the track in the same part of the
+ program map section, interpreted as an integer as defined by the
+ MPEG-2 specification. Let <var title="">descriptor bytes</var> be
+ the <var title="">length</var> bytes following the
+ "ES_info_length" field. The <span>text track in-band metadata
+ track dispatch type</span> must be set to the concatenation of
+ the <var title="">stream type</var> byte and the zero or more
+ <var title="">descriptor bytes</var> bytes, expressed in
+ hexadecimal using characters in the ranges U+0030 DIGIT ZERO (0)
+ to U+0039 DIGIT NINE (9) and U+0041 LATIN CAPITAL LETTER A to
+ U+0046 LATIN CAPITAL LETTER F.
+ <a href="#refsMPEG2">[MPEG2]</a>
+
+ </dd>
+
<dt>If the <span>media resource</span> is an MPEG-4 file</dt>
<dd>Let the
@@ -120528,8 +120549,12 @@
<dt id="refsMIMESNIFF">[MIMESNIFF]</dt>
<dd><cite><a href="http://mimesniff.spec.whatwg.org/">MIME Sniffing</a></cite>, A. Barth, I. Hickson. WHATWG.</dd>
+ <dt id="refsMPEG2">[MPEG2]</dt>
+ <dd><cite>ISO/IEC 13818-1: Information technology — Generic coding of moving pictures and associated audio information: Systems</cite>. ISO/IEC.</dd>
+ <!-- search for ["bytes are removed from this buffer at a rate defined by sb_leak_rate"] to find it -->
+
<dt id="refsMPEG4">[MPEG4]</dt>
- <dd><cite><a href="">ISO/IEC 14496-12: ISO base media file format</a></cite>. ISO/IEC.</dd>
+ <dd><cite>ISO/IEC 14496-12: ISO base media file format</cite>. ISO/IEC.</dd>
<!-- search for ["Box Structure was and subsequent clauses were re-organized"] to find it -->
<dt id="refsMQ">[MQ]</dt>