[html5] r7151 - [giow] (0) Define textTrack.inBandMetadataTrackDispatchType for MPEG-2 also. Fix [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jun 27 22:36:03 PDT 2012
Author: ianh
Date: 2012-06-27 22:36:02 -0700 (Wed, 27 Jun 2012)
New Revision: 7151
Modified:
complete.html
index
source
Log:
[giow] (0) Define textTrack.inBandMetadataTrackDispatchType for MPEG-2 also.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=13359
Affected topics: HTML, Video Text Tracks
Modified: complete.html
===================================================================
--- complete.html 2012-06-28 05:11:05 UTC (rev 7150)
+++ complete.html 2012-06-28 05:36:02 UTC (rev 7151)
@@ -33190,6 +33190,27 @@
<dd>The <a href=#text-track-in-band-metadata-track-dispatch-type>text track in-band metadata track dispatch
type</a> must be set to the value of the <code title="">CodecID</code> element. <a href=#refsWEBMCG>[WEBMCG]</a></dd>
+ <dt>If the <a href=#media-resource>media resource</a> 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 <a href=#text-track-in-band-metadata-track-dispatch-type>text track in-band metadata
+ track dispatch type</a> 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 <a href=#media-resource>media resource</a> is an MPEG-4 file</dt>
<dd>Let the
@@ -102766,8 +102787,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>
Modified: index
===================================================================
--- index 2012-06-28 05:11:05 UTC (rev 7150)
+++ index 2012-06-28 05:36:02 UTC (rev 7151)
@@ -33190,6 +33190,27 @@
<dd>The <a href=#text-track-in-band-metadata-track-dispatch-type>text track in-band metadata track dispatch
type</a> must be set to the value of the <code title="">CodecID</code> element. <a href=#refsWEBMCG>[WEBMCG]</a></dd>
+ <dt>If the <a href=#media-resource>media resource</a> 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 <a href=#text-track-in-band-metadata-track-dispatch-type>text track in-band metadata
+ track dispatch type</a> 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 <a href=#media-resource>media resource</a> is an MPEG-4 file</dt>
<dd>Let the
@@ -102766,8 +102787,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>
Modified: source
===================================================================
--- source 2012-06-28 05:11:05 UTC (rev 7150)
+++ source 2012-06-28 05:36:02 UTC (rev 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>
More information about the Commit-Watchers
mailing list