Postby erezl » 21 Jan 2008 10:52
Sorry it sould be 234 or 0xEA
See below the relevant section from the standard:
4 MPEG-2 Transport Stream Encoding
For the description of coded bit streams this document follows the conventional approach used by ISO 13818-1.
Data fields are represented using a different font format (e.g. data_element). The bit stream syntax is clearly defined
in separate tables that use a C-like pseudo-code notation to expose the sequential order of data fields in the
stream. These tables are normally followed by precise semantic field definitions.
4.1 SIGNALING OF VC-1 ELEMENTARY STREAMS
MPEG-2 Elementary Streams carrying VC-1 video elementary stream data shall be signaled in a Program Map
Table as defined in ISO 13818-1 with Corrigendum 2 and Amendment 2.
The value of the fields in sections 4.1.1 and 4.1.2 are specified for VC-1 elementary streams. The sub-descriptor
structures introduced in section 4.1.3 through 4.1.5 may only appear in an MPEG-2 Program Element conveying
VC-1 elementary stream data.
4.1.1 Stream Type
The stream_type value in the PMT describing a VC-1 Elementary Stream should be set to 0xEA. This value
indicates that this Elementary Stream is considered to be a privately-managed stream. The scope of this private
value shall be captured by means of the Registration Descriptor defined below.
4.1.2 Registration Descriptor
At least one MPEG-2 registration_descriptor() shall be present in the inner descriptor loop of the MPEG-2 Program
Element listed in the TS_program_map_section corresponding to the VC-1 Elementary Stream. The syntax and
semantics for this descriptor appears in Table 1 and in the subsequent text.
Table 1 Syntax for the registration_descriptor()
Syntax Bits Format
registration_descriptor() {
descriptor_tag 8 0x05
descriptor_length 8 uimsbf
format_identifier 32 0x56432D31
for( i =0; i < K; i++){
subdescriptor() N*8 uimsbf
}
}
descriptor_tag – This 8-bit field shall be set to 0x05 to identify this data structure as an MPEG-2 registration
descriptor.
descriptor_length – This 8-bit field specifies the number of bytes of the descriptor immediately following the
descriptor_length field.
format_identifier – The value for this 32-bit field shall be set to 0x56432D31
subdescriptor() – A data structure of up to 251 bytes of additional information whose syntax is determined in a
case-by-case basis. The first field of a subdescriptor() shall be an 8-bit value known as the subdescriptor_tag which
identifies syntax and semantics for a particular sub-descriptor. Table 2 defines values for the subdescriptor_tag.
Table 2 List of values applicable to the subdescriptor_tag
Assigned Value Description
0x00 Indicates a null sub-descriptor. A null sub-descriptor consists only of an 8-bit
subdescriptor_tag field.
0x01 Profile and Level subdescriptor defined as part of this document.
0x02 Alignment subdescriptor defined as part of this document.
0x03 Buffer size subdescriptor defines as part of this document
0x04 - 0xFE SMPTE Reserved for future applications.
0xFF Indicates a null sub-descriptor. A null sub-descriptor consists only of an 8-bit
subdescriptor_tag field.
In the MPEG-2 Registration Descriptor specified in Table 1 above, the sub-descriptors listed in Table 2 above shall
always appear in increasing order of their subdescriptor_tag value.
Note: Whenever there is a need to add a new sub-descriptor to the list in Table 2 above, it is highly recommended
that the sub-descriptor tag value assigned to the new sub-descriptor be assigned the lowest available tag value.
This constraint added with the aforementioned constraint that the sub-descriptor tag values appear in increasing
order ensures that the most recent sub-descriptors always appear at the bottom of the MPEG-2 Registration
Descriptor defined in Table 1. In the event that a new sub-descriptor is defined, such discipline ensures that the
oldest sub-descriptors always appear at the beginning of the sub-descriptor list and the most recent ones at the
bottom of the list. Consequently, a decoder is always capable of parsing and processing all the sub-descriptors it
knows and if an unknown sub-descriptor is found, that sub-descriptor and subsequent sub-descriptors in the list, if
any, can be ignored.