
Hi On Mon, Jul 17, 2006 at 01:09:37AM +0100, Måns Rullgård wrote:
michael <subversion@mplayerhq.hu> writes:
Author: michael Date: Mon Jul 17 01:47:12 2006 New Revision: 19126
Modified: trunk/DOCS/tech/nut.txt
Log: clarify H.264 global header format
Modified: trunk/DOCS/tech/nut.txt ============================================================================== --- trunk/DOCS/tech/nut.txt (original) +++ trunk/DOCS/tech/nut.txt Mon Jul 17 01:47:12 2006 @@ -525,6 +525,8 @@ for(i=0; i<number_of_headers; i++) header[i] Note, this is the same format these codecs use in matroska + for H.264 the NAL units MUST be formated as in a bytestream + (with 00 00 01 prefixes)
It's actually 00 00 00 01 (four bytes) for the NAL units that we're dealing with here. To make this unambiguous, I would change the text to read
For H.264 the format MUST be that specified in ITU-T Rec. H.264 Annex B Byte stream format.
agree, but we should still mention that its 0 0 0 1 + NAL as not every reader of nut.txt will have (or want) every spec of every codec ... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In the past you could go to a library and read, borrow or copy any book Today you'd get arrested for mere telling someone where the library is