[www] r931 - trunk/www.matroska.org/data/technical/specs/codecid
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mosu
Date: 2005-04-25 13:23:48 +0400 (Mon, 25 Apr 2005)
New Revision: 931
Modified:
trunk/www.matroska.org/data/technical/specs/codecid/index.html
Log:
content: Clarified the CodecPrivate layout for A_VORBIS.
Modified: trunk/www.matroska.org/data/technical/specs/codecid/index.html
===================================================================
--- trunk/www.matroska.org/data/technical/specs/codecid/index.html 2005-04-21 20:22:38 UTC (rev 930)
+++ trunk/www.matroska.org/data/technical/specs/codecid/index.html 2005-04-25 09:23:48 UTC (rev 931)
@@ -262,12 +262,24 @@
<tr>
<td>A_VORBIS</td>
<td>Vorbis</td>
- <td>The private data contains the 3 first Vorbis packet in order. That means
- <a href="http://www.xiph.org/ogg/vorbis/doc/vorbis-spec-ref.html">Identification
- Header</a>, followed by <a href="http://www.xiph.org/ogg/vorbis/doc/v-comment.html">Vorbis
- Comment</a> followed by <a href="http://www.xiph.org/ogg/vorbis/doc/vorbis-spec-ref.html">Codec
- Setup</a>. The format of these data and how to differentiate them has to
- be defined ??? It should be the same as in the OGG container.</td>
+ <td>The private data contains the first three Vorbis packet in order. The
+ lengths of the packets precedes them. The actual layout is:<br/>
+
+ Byte 1: number of distinct packets '<code>#p</code>' minus one inside the
+ CodecPrivate block. This should be '2' for current Vorbis headers.<br/>
+
+ Bytes 2..n: lengths of the first '<code>#p</code>' packets, coded in
+ <a href="index.html#lacing">Xiph-style lacing</a>. The length of the last
+ packet is the length of the CodecPrivate block minus the lengths coded in
+ these bytes.<br/>
+
+ Bytes n+1..: The
+ <a href="http://www.xiph.org/ogg/vorbis/doc/vorbis-spec-ref.html"> Vorbis
+ identification header</a>, followed by the
+ <a href="http://www.xiph.org/ogg/vorbis/doc/v-comment.html"> Vorbis
+ comment header</a> followed by the
+ <a href="http://www.xiph.org/ogg/vorbis/doc/vorbis-spec-ref.html">
+ codec setup header</a>.</td>
</tr>
<tr>
<td>A_FLAC</td>