Dolby Digital Plus, also known as Enhanced AC-3 (and commonly abbreviated as DDP, DD+, E-AC-3 or EC-3), is a digital audio compression scheme developed by Dolby Labs for the transport and storage of multi-channel digital audio. It is a successor to Dolby Digital (AC-3), and has a number of improvements over that codec, including support for a wider range of data rates (32 kbit/s to 6144 kbit/s), an increased channel count, and multi-program support (via substreams), as well as additional tools (algorithms) for representing compressed data and counteracting artifacts. Whereas Dolby Digital (AC-3) supports up to five full-bandwidth audio channels at a maximum bitrate of 640 kbit/s, E-AC-3 supports up to 15 full-bandwidth audio channels at a maximum bitrate of 6.144 Mbit/s. Dolby Digital Plus was announced in 2004. The full set of technical specifications for E-AC-3 (and AC-3) are standardized and published in Annex E of ATSC A/52:2012, as well as Annex E of ETSI TS 102 366.
Technical details
Specifications Dolby Digital Plus is capable of the following:
Coded bitrate: 0.032 to 6.144 Mbit/s Audio channels: 1.0 to 15.1 (i.e. from mono to 15 full range channels and a low frequency effects channel) Number of audio programs per bitstream: 8 Sample rate: 32, 44.1 or 48 kHz
Structure A Dolby Digital Plus service consists of one or more substreams. There are three types of substreams:
Independent substreams, which can contain a single program of up to 7.1 channels. Up to eight dependent substreams may be present in a Dolby Digital Plus stream. The channels present in a Dolby Digital Plus substream are limited to the traditional 7.1 channels: Front Left (FL), Front Right (FR), Front Center (FC), Side Left Surround (SL), Side Right Surround (SR), Rear Left Surround (RL) and Rear Right Surround (RR) channels, as well as a Low Frequency Effects (LFE) channel. Dolby Stereo content is supported (up to 3.1 layout: Front Left, Front Right, Front Center, LFE). Now Dolby Stereo Digital is still widely used for some digital TVs and some TV dramas. Legacy substreams, which contain a single 5.1 program, and which correspond directly to Dolby Digital content. At most a single legacy substream may be present in a DD+ stream. Dependent substreams, which contain additional channels beyond the traditional 7.1 channels. As dependent substreams have the same structure as independent substreams, each dependent substream may contain up to five full-bandwidth channels and one low-frequency channel; however these channels may be assigned to different speaker placements. Metadata in the substream describes the purpose of each included channel. All DD+ streams must contain at least one independent substream or legacy substream, which contains the first (or only) 5.1 channels of the primary audio program. Additional independent substreams may be used for secondary audio programs such as foreign language soundtracks, commentary, or descriptions/voiceovers for the visually impaired. Dependent substreams may be provided for programs that have additional soundstage channels beyond 5.1. Within each substream, provision is made for encoding five full-bandwidth channels, one low-frequency channel, and one coupling channel. The coupling channel is used for medium-to-high-frequency information which is common to multiple full-bandwidth channels. Its content is mixed in with the other channels in a fashion prescribed by the metadata, it is not reproduced as a discrete channel by the decoder. Dolby Digital Plus includes comprehensive bitstream metadata for decoder control over output loudness (via dialnorm), spatial audio (via Dolby Atmos), downmixing, and reversible dynamic range control (via DRC).
Syntax Dolby Digital Plus is nominally a 16-bit-aligned protocol, though very few fields in the syntax respect any byte or word boundaries. As many syntax elements are optional or variable-length, including some whose presence or length is dependent on complex preceding calculations, and there is little redundancy in the syntax, DD+ can be extremely difficult to parse correctly, with syntactically valid but incorrect parsings easily produced by defective encoders. A DD+ stream is a collection of fixed-length syncframe packets, each of which corresponds to either 256, 512, 768, or 1536 consecutive time-domain audio samples. (The 1536-sample case is the most common case, and corresponds to Dolby Digital; the shorter subframe lengths are intended for use in interactive applications like video games where reducing encoder latency is an important concern). Each syncframe is independently decodable, and belongs to a specific substream within the service. A syncframe consists of the following syntax elements (some of which may be elided when a Dolby Digital Plus service is encapsulated into another format or transport):
A 16-bit sync word, which has the value 0x0b77. A Bitstream Info (BSI) section, which includes key metadata such as the frame size, the bitstream identifier (which specifies the version of syntax used), channel mode, the substream identifier, the encoded dialog level (dialnorm), and metadata to guide decoder production of a downmix. An Audio Frame section, which contains decoding information common to all audio blocks within the syncframe, including the necessary information to determine how exponents and mantissas are packed. One, two, three, or six Audio Block sections. These sections contain additional decoding metadata, as well as the encoded and quantized frequency coefficients. Each Audio Block corresponds to 256 PCM samples in each channel. A final section containing user-defined auxiliary data, any necessary padding to produce uniform syncframe lengths, and a 16-bit cyclic redundancy check code for error detection.
… excerpt ends here. Continue reading the full article.
