Semantics for the Enhanced AC-3 descriptor
The semantics of the parameters within the E-AC-3 descriptor for a Dolby Digital Plus bitstream are:
- The
descriptor_tagparameter is set to is0xCC. - The
descriptor_lengthfield specifies the total number of bytes of the data portion of the descriptor following the byte defining the value of this field. The minimum length of the descriptor is three bytes, but it may be longer depending on the use of the subsequent descriptor flags. - The
bsid_flagvalue is set to1when the optionalbsidfield is present in the descriptor. - The
mainid_flag,asvc_flag, andmixinfoexistsparameters are set to0. - The
substream1_flagparameter is set to1when the Dolby Digital Plus stream contains an additional associated audio service in independent substream 1. If an independent substream with asubstreamidvalue of1is not present in the bitstream, thesubstream1_flagis set to0. - The
substream2_flagparameter is set to1when the Dolby Digital Plus stream contains an additional associated audio service in independent substream 2. If an independent substream with asubstreamidvalue of2is not present in the bitstream, thesubstream2_flagflag is set to0. - The
substream3_flagparameter is set to1when the Dolby Digital Plus stream contains an additional associated audio service in independent substream 3. If an independent substream with asubstreamidvalue of3is not present in the bitstream, this flag is set to0. - The value of the
full_service_flagparameter indicates whether the audio service in independent substream 0 (and any dependent substreams associated with independent substream 0) of the Dolby Digital Plus stream is full-service audio, suitable for presentation, or whether this audio service is only a partial service that should be combined with another audio service before presentation. The value is set according to these criteria:- If
full_service_flagis set to1, the audio service is sufficiently complete for presentation without being combined with another audio service (for example, a visually impaired service containing all elements of the program, including music, effects, dialogue, and a narrative description of the visual program content). - If
full_service_flagis set to0, the audio service is not sufficiently complete and must be combined with another audio service (for example, a visually impaired service containing only a narrative description of the visual program content, which must be combined with another audio service containing music, effects, and dialogue).
- If
- The
service_typefield indicates the type of audio service being conveyed in independent substream 0 (and any dependent substreams associated with independent substream 0) of the Dolby Digital Plus stream. Theservice_typefield is interpreted as listed in the table.Table 1. service_type field Field value Description Restrictions[a] Full-service flag number_of_channels field 000Complete Main (CM) Set to 1001Music and Effects (ME) Set to 0010Visually Impaired (VI) 011Hearing Impaired (HI) 100Dialogue (D) Set to 0101Commentary (C) 110Emergency (E) Set to 1Set to 000111Voiceover (VO) Set to 0Set to 000111Karaoke Set to 1Set to 010,011, or100[a] The values of theservice_typefield are valid only if the conditions identified in the restrictions columns are satisfied. - The
number_of_channelsfield (three bits) indicates the number of channels present in independent substream 0 (and any dependent substreams associated with independent substream 0) of the Dolby Digital Plus stream. This field is interpreted as listed in thenumber_of_channelsfield table:- The
language_flagvalue (one bit) indicates whether the language field (three bytes) is present in the descriptor. If this bit is set to1, then the language field is present. If this bit is set to0, then the language field is not present. - The
language_flag_2value is set to0. - The
bsidfield (five bits) indicates the Dolby Digital Plus coding version. If thebsidfield is included, the value of the field is set to the same value as thebsidparameter in independent substream 0 of the Dolby Digital Plus stream.
Table 2. number_of_channels field Field value[a] Description Restrictions[b] Full-service flag Service type field 000Mono 0011+1 mode 010Two-channel audio 011Two-channel audio encoded in Dolby Surround 100Multichannel audio (greater than two channels and up to 5.1 channels) 101Multichannel audio (greater than 5.1 channels) Set to 1Set to 000110Reserved for future use 111Reserved for future use [a] For two-channel Dolby Digital Plus streams, thenumber_of_channelsfield should be set to011when thedsurmodparameter is set to011(encoded in Dolby Surround), and should be set to010if thedsurmodparameter is set to any other value, or is not present.[b] The values of thenumber_of_channelsfield are valid only if the conditions identified in the restrictions column are satisfied. - The
- The
substream1field (eight bits) indicates the type of audio carried in independent substream 1 of the Dolby Digital Plus stream. The value assignments of each bit are indicated in the Substream field bit value assignments table. If the Dolby Digital Plus bitstream contains an independent substream with asubstreamidvalue of1, the PMT includes thesubstream1field. - The
substream2field (eight bits) indicates the type of audio carried in independent substream 2 of the Dolby Digital Plus stream. The value assignments of each bit are indicated in the Substream field bit value assignments table. If the Dolby Digital Plus bitstream contains an independent substream with asubstreamidvalue of2, the PMT includes thesubstream2field. - The
substream3field (eight bits) indicates the type of audio carried in independent substream 3 of the Dolby Digital Plus stream. The value assignments of each bit are indicated in the Substream field bit value assignments table. If the Dolby Digital Plus bitstream contains an independent substream with asubstreamidvalue of3, the PMT includes thesubstream3field.Table 3. Substream field bit value assignments Substream 1–3 Description b7 (most-significant bit) Reserved (set to 1)b6 Reserved (set to 0)b5 to b3 service_typeflags (see the service_type flags table)b2 to b0 number_of_channelsflags (see the number_of_channels flags table)Table 4. service_type flags Bit values Description Restrictions[a] b5 b4 b3 number_of_channels field 000Reserved 001Music and Effects (ME) 010Visually Impaired (VI) 011Hearing Impaired (HI) 100Dialogue (D) 101Commentary (C) 110Reserved 111Voiceover (VO) Set to 000[a] Theservice_typeflags bit values are considered valid only if the conditions identified in the restrictions column are satisfied.Table 5. number_of_channels flags Flags Description b2 b1 b0 000Mono 001Reserved for future use 010Two-channel audio[a] 011Two-channel audio encoded in Dolby Surround 100Multichannel audio (greater than two channels and up to 5.1 channels) 101Reserved for future use 110Reserved for future use 111Reserved for future use [a] For two-channel substreams, thenumber_of_channelsfield should be set to011when thedsurmodparameter is set to011(encoded in Dolby Surround), and should be set to010ifdsurmodis set to any other value, or is not present. - The
substream1,substream2, andsubstream3field values are indicated in the tables in this section. The respective substream field may be ignored if other values are conveyed:- The language field (three bytes) defines the language of this audio
service. The language field is a three-character code as specified by ISO 639-2. Each
character is coded into eight bits according to ISO 8859-1 (ISO Latin-1) and inserted in order
into the 24-bit field. The coding is identical to that used in the MPEG-2
ISO_639_language_codevalue in theISO_639_language_descriptorspecified in ISO/IEC 13818-1. - The
additional_infofield provides optional bytes for future use.
- The language field (three bytes) defines the language of this audio
service. The language field is a three-character code as specified by ISO 639-2. Each
character is coded into eight bits according to ISO 8859-1 (ISO Latin-1) and inserted in order
into the 24-bit field. The coding is identical to that used in the MPEG-2