Dolby Digital Explained

Dolby Digital, originally synonymous with Dolby AC-3 (see below), is the name for a family of audio compression technologies developed by Dolby Laboratories. Called Dolby Stereo Digital until 1995, it is lossy compression (except for Dolby TrueHD). The first use of Dolby Digital was to provide digital sound in cinemas from 35 mm film prints. It has since also been used for TV broadcast, radio broadcast via satellite, digital video streaming, DVDs, Blu-ray discs and game consoles.

Dolby AC-3 was the original version of the Dolby Digital codec. The basis of the Dolby AC-3 multi-channel audio coding standard is the modified discrete cosine transform (MDCT), a lossy audio compression algorithm.[1] It is a modification of the discrete cosine transform (DCT) algorithm, which was proposed by Nasir Ahmed in 1972 for image compression.[2] The DCT was adapted into the MDCT by J.P. Princen, A.W. Johnson and Alan B. Bradley at the University of Surrey in 1987.[3]

Dolby Laboratories adapted the MDCT algorithm along with perceptual coding principles to develop the AC-3 audio format for cinema. The AC-3 format was released as the Dolby Digital standard in February 1991.[4] [5] Dolby Digital was the earliest MDCT-based audio compression standard released, and was followed by others for home and portable usage, such as Sony's ATRAC (1992), the MP3 standard (1993) and AAC (1997).[6]

Cinema

Batman Returns was the very first movie to be announced as using Dolby SR-D (Spectral Recording-Digital) technology when it premiered in all selected movie theaters in the summer of 1992.[7] Dolby Digital cinema soundtracks are optically recorded on a 35 mm release print using sequential data blocks placed between every perforation hole on the soundtrack side of the film. A constant bit rate of 320 kbit/s is used. A charge-coupled device (CCD) scanner in the image projector picks up a scanned video image of this area, and a processor correlates the image area and extracts the digital data as an AC-3 bitstream. The data is then decoded into a 5.1 channel audio source. All film prints with Dolby Digital data also have Dolby Stereo analogue soundtracks using Dolby SR noise reduction and such prints are known as Dolby SR-D prints. The analogue soundtrack provides a fall-back option in case of damage to the data area or failure of the digital decoding; it also provides compatibility with projectors not equipped with digital soundheads. Almost all modern cinema prints are of this type and may also include SDDS data and a timecode track to synchronize CD-ROMs carrying DTS soundtracks.

The simplest way of converting existing projectors is to add a so-called penthouse digital soundhead above the projector head. However, for new projectors it made sense to use dual analogue/digital soundheads in the normal optical soundhead position under the projector head. To allow for the dual-soundhead arrangement the data is recorded 26 frames ahead of the picture. If a penthouse soundhead is used, the data must be delayed in the processor for the required amount of time, around 2 seconds. This delay can be adjusted in steps of the time between perforations, (approximately 10.4 ms).

Dolby Digital remains the predominant sound mixing format for movies, despite the introduction of Dolby Surround 7.1 and Dolby Atmos in 2010 and 2012, respectively.

Versions

Dolby Digital[8] has similar technologies, included in Dolby Digital EX,[9] Dolby Digital Live,[10] Dolby Digital Plus,[11] Dolby Digital Surround EX,[12] Dolby Digital Recording,[13] Dolby Digital Cinema,[14] Dolby Digital Stereo Creator[15] and Dolby Digital 5.1 Creator.[16]

Dolby AC-3

Dolby AC-3
Extension:.ac3
Mime:audio/ac3
Uniform Type:public.ac3-audio[17]

Dolby AC-3 (a backronym for Audio Codec 3, Advanced Codec 3, or Acoustic Coder 3), also known as ATSC A/52 (name of the standard)[18] or simply Dolby Digital (DD), is the common version containing up to six discrete channels of sound. Before 1996 it was marketed as Dolby Surround AC-3, Dolby Stereo Digital, and Dolby SRD.[19]

The most elaborate mode of this codec in common use involves five channels for normal-range speakers (right, center, left, right surround, left surround) and one channel (allotted audio) for the subwoofer driven low-frequency effects.[20] Mono and stereo modes are also supported. AC-3 supports audio sample rates up to 48 kHz.

In 1991, a limited experimental release of in Dolby Digital played in 3 US theatres. In 1992, Batman Returns was the very first movie to be released and presented in Dolby Digital.[21] [22] In 1995, the LaserDisc version of Clear and Present Danger featured the very first home theater Dolby Digital mix, quickly followed by True Lies, Stargate, Forrest Gump, and Interview with the Vampire among others.[23] [24]

Dolby Digital EX

Dolby Digital EX is similar to Dolby's earlier Pro Logic format, which utilized matrix technology to add a center surround channel and single rear surround channel to stereo soundtracks.[25] EX adds an extension to the standard 5.1 channel Dolby Digital codec in the form of matrixed rear channels, creating 6.1 or 7.1 channel output.

Dolby Digital Surround EX

It provides an economical and backwards-compatible means for 5.1 soundtracks to carry a sixth, center back surround channel for improved localization of effects. The extra surround channel is matrix encoded onto the discrete left surround and right surround channels of the 5.1 mix, much like the front center channel on Dolby Pro Logic encoded stereo soundtracks. The result can be played without loss of information on standard 5.1 systems, or played in 6.1 or 7.1 on systems with Surround EX decoding and added speakers. A number of DVDs have a Dolby Digital Surround EX audio option.

The theater version of Dolby Digital Surround EX was introduced in 1999, when Dolby and THX, a division of Lucasfilm Ltd., co-developed Dolby Digital Surround EX™ for the release of .[26] Dolby Digital Surround EX has since been used on the DVD releases of the Star Wars prequel and original trilogies.

Dolby Digital Live

Dolby Digital Live (DDL) is a real-time encoding technology for interactive media such as video games. It converts any audio signals on a PC or game console into a 5.1-channel 16-bit/48 kHz Dolby Digital format at 640 kbit/s and transports it via a single S/PDIF cable.[27] A similar technology known as DTS Connect is available from competitor DTS. An important benefit of this technology is that it enables the use of digital multichannel sound with consumer sound cards, which are otherwise limited to digital PCM stereo or analog multichannel sound because S/PDIF over RCA, BNC, and TOSLINK can only support two-channel PCM, Dolby Digital multichannel audio, and DTS multichannel audio. HDMI was later introduced, and it can carry uncompressed multichannel PCM, lossless compressed multichannel audio, and lossy compressed digital audio. However, Dolby Digital Live is still useful with HDMI to allow transport of multichannel audio over HDMI to devices that are unable to handle uncompressed multichannel PCM.

Dolby Digital Live is available in sound cards using various manufacturers' audio chipsets. The SoundStorm, used for the Xbox game console and certain nForce2 motherboards, used an early form of this technology. DDL is available on motherboards with codecs such as Realtek's ALC882D,[28] ALC888DD and ALC888H. Other examples include some C-Media PCI sound cards and Creative Labs' X-Fi and Z series sound cards, whose drivers have enabled support for DDL.

NVIDIA later decided to drop DDL support in their motherboards due to the cost of involved royalties, leaving an empty space in this regard in the sound cards market.Then in June 2005 came Auzentech, which with its X-Mystique PCI card, provided the first consumer sound card with Dolby Digital Live support.

Initially no Creative X-Fi based sound cards supported DDL (2005~2007) but a collaboration of Creative and Auzentech resulted in the development of the Auzentech Prelude, the first X-Fi card to support DDL. Originally planned to extend DDL support to all X-Fi based sound cards (except the 'Xtreme Audio' line which is incapable of DDL hardware implementation), the plan was dropped because Dolby licensing would have required a royalty payment for all X-Fi cards and, problematically, those already sold.[29] In 2008, Creative released the X-Fi Titanium series of sound cards which fully supports Dolby Digital Live while leaving all PCI versions of Creative X-Fi still lacking support for DDL.

Since September 2008, all Creative X-Fi based sound cards support DDL (except the 'Xtreme Audio' and its derivatives such as Prodigy 7.1e, which is incapable of DDL in hardware). X-Fi's case differs.

While they forgot about the plan, programmer Daniel Kawakami made a hot issue by applying Auzentech Prelude DDL module back to Creative X-Fi cards by disguising the hardware identity as Auzentech Prelude.[30]

Creative Labs alleged Kawakami violated their intellectual property and demanded he cease distributing his modified drivers.[31] [32] [33]

Eventually Creative struck an agreement with Dolby Laboratories regarding the Dolby license royalty by arranging that the licensing cost be folded into the purchase price of the Creative X-Fi PCI cards rather than as a royalty paid by Creative themselves.[29] Based on the agreement, in September 2008 Creative began selling the Dolby Digital Live packs enabling Dolby Digital Live on Creative's X-Fi PCI series of sound cards. It can be purchased and downloaded from Creative. Subsequently, Creative added their DTS Connect pack to the DDL pack at no added cost.[34]

Dolby Digital Plus

See main article: Dolby Digital Plus.

Dolby E-AC-3
Mime:audio/eac3
Uniform Type:public.enhanced-ac3-audio[35]

E-AC-3 (Dolby Digital Plus) is an enhanced coding system based on the AC-3 codec. It offers increased bitrates (up to 6.144 Mbit/s), support for even more audio channels (up to 15.1 discrete channels[36] in the future), and improved coding techniques (only at low data rates) to reduce compression artifacts, enabling lower data rates than those supported by AC-3 (e.g. 5.1-channel audio at 256 kbit/s). It is not backward compatible with existing AC-3 hardware, though E-AC-3 codecs generally are capable of transcoding to AC-3 for equipment connected via S/PDIF. E-AC-3 decoders can also decode AC-3 bitstreams. The fourth generation Apple TV supports E-AC-3.[37] The discontinued HD DVD system directly supported E-AC-3. Blu-ray Disc offers E-AC-3 as an option to graft added channels onto an otherwise 5.1 AC-3 stream, as well as for delivery of secondary audio content (e.g. director's commentary) that is intended to be mixed with the primary audio soundtrack in the Blu-ray Disc player.

Dolby AC-4

See main article: Dolby AC-4.

Dolby AC-4 is an audio compression standard supporting multiple audio channels and/or audio objects. Support for 5.1 channel audio is mandatory and additional channels up to 7.1.4 are optional.[38] AC-4 provides a 50% reduction in bit rate over AC-3/Dolby Digital Plus.[38]

Dolby TrueHD

See main article: Dolby TrueHD. Dolby TrueHD, developed by Dolby Laboratories, is an advanced lossless audio codec based on Meridian Lossless Packing. Support for the codec was mandatory for HD DVD and is optional for Blu-ray Disc hardware. Dolby TrueHD supports 24-bit bit depths and sample rates up to 192 kHz. Maximum bitrate is 18 Mbit/s while it supports up to 16 audio channels (HD DVD and Blu-ray Disc standards currently limit the maximum number of audio channels to eight). It supports metadata, including dialog normalization and Dynamic Range Control.

Channel configurations

Although commonly associated with the 5.1 channel configuration, Dolby Digital allows a number of different channel selections. The options are:

These configurations optionally include the extra low-frequency effects (LFE) channel. The last two with stereo surrounds optionally use Dolby Digital EX matrix encoding to add an extra Rear Surround channel.

Many Dolby Digital decoders are equipped with downmixing to distribute encoded channels to speakers. This includes such functions as playing surround information through the front speakers if surround speakers are unavailable, and distributing the center channel to left and right if no center speaker is available. When outputting to separate equipment over a 2-channel connection, a Dolby Digital decoder can optionally encode the output using Dolby Surround to preserve surround information.

The '.1' in 5.1, 7.1 etc. refers to the LFE channel, which is also a discrete channel.

Applications

Dolby Digital audio is used on DVD-Video and other purely digital media, like home cinema. In this format, the AC-3 bitstream is interleaved with the video and control bitstreams.

The system is used in bandwidth-limited applications other than DVD-Video, such as digital TV. The AC-3 standard allows a maximum coded bit rate of 640 kbit/s. 35 mm film prints use a fixed rate of 320 kbit/s, which is the same as the maximum bit rate for 2-channel MP3. DVD-Video discs are limited to 448 kbit/s, although many players can successfully play higher-rate bitstreams (which are non-compliant with the DVD specification). HD DVD limits AC-3 to 448 kbit/s. ATSC and digital cable standards limit AC-3 to 448 kbit/s. Blu-ray Disc, the PlayStation 3 and the Xbox game console can output an AC-3 signal at a full 640 kbit/s. Some Sony PlayStation 2 console games are able to output AC-3 standard audio as well, primarily during pre-rendered cutscenes.

Dolby is part of a group of organizations involved in the development of AAC (Advanced Audio Coding), part of MPEG specifications, and considered the successor to MP3.

Dolby Digital Plus (DD-Plus) and TrueHD are supported in HD-DVD, as mandatory codecs, and in Blu-ray Disc, as optional codecs.

Dolby technologies in packaged media formats

HD DVDBlu-ray DiscDVD-VideoDVD-AudioLaserDisc
CodecPlayer supportChannels (max)Max bit ratePlayer supportChannels (max)Max bit ratePlayer supportChannels (max)Max bit ratePlayer supportChannels (max)Max bit ratePlayer supportChannels (max)Max bit rate
Dolby DigitalMandatory5.1504 kbit/sMandatory5.1640 kbit/sMandatory5.1448 kbit/sOptional in video zone for playback compatibility on DVD-Video players5.1448 kbit/sOptional5.1384 kbit/s
Dolby Digital Plus7.13 Mbit/sOptional7.11.7 Mbit/s
Dolby TrueHD7.118 Mbit/s7.118 Mbit/s

AC3RF

In the LaserDisc world AC3RF is the term widely placed on connectors of players that support Dolby Digital.[39] Specific demodulators and receivers from the LaserDisc era (1990s thru early 2000s) also include placement of this term on connectors.[39]

LaserDisc titles with Dolby Digital tracks often have the THX logo on their covers.

Technical details

The data layout of AC-3 is described by simplified "C-like" language in official specifications. An AC-3 stream is a series of frames; the frame size code is used along with the sample rate code to determine the number of (2-byte)words before the next syncword. Channel blocks can be either long, in which case the entire block is processed as single modified discrete cosine transform, or short, in which case two half length transforms are performed on the block. Below is a simplified AC-3 header. A detailed description is in the ATSC "Digital Audio Compression (AC-3) (E-AC-3) Standard", section 5.4.

Field Name
  1. of bits
Description
Syncword160x0B77, data transmission is left bit first: big endian
Cyclic redundancy check16
Sampling frequency2'11'=reserved '10'=32 kHz '01'=44.1 '00'=48
Frame size code6
Bit stream identification5
Bit stream mode3'000'=main audio service
Audio coding mode3'010'=left, right channel ordering
Center mix level2
Surround mix level2
Dolby Surround mode2'00'=not indicated '01'= Not surround encoded '10'= Yes, surround encoded

License

AC3 was covered by patents that expired in March 2017. Patents were used to ask to pay a commercial license to publish an application that decodes AC3. This led some audio app developers to ban AC3 from their apps, although the open source VLC media player supported AC-3 audio without having paid a patent license fee.[40]

In Dolby's 2005 original and amended S-1 filings with the SEC, Dolby acknowledged that "Patents relating to our Dolby Digital technologies expire between 2008 and 2017."[41] [42] [43]

The last patent covering AC-3 expired March 20, 2017, rendering it free to use.[44] [45]

Open source implementation

A free ATSC A/52 (AC3) stream decoder, liba52, is available under the GNU General Public License. FFmpeg and the VLC media player each include code for handling AC-3.

See also

External links

Notes and References

  1. Andersen . Robert Loring . Crockett . Brett Graham . Davidson . Grant A. . Davis . Mark Franklin . Fielder . Louis D. . Turner . Stephen C. . Vinton . Mark S. . Williams . Phillip . Introduction to Dolby Digital Plus, an Enhancement to the Dolby Digital Coding System . . October 2004 . 117th AES Convention . 1–29 . 17 October 2019.
  2. Ahmed . Nasir . N. Ahmed . How I Came Up With the Discrete Cosine Transform . . January 1991 . 1 . 1 . 4–5 . 10.1016/1051-2004(91)90086-Z .
  3. Book: Princen . J.P. . Johnson . A.W. . Bradley . Alan B. . ICASSP '87. IEEE International Conference on Acoustics, Speech, and Signal Processing . Subband/Transform coding using filter bank designs based on time domain aliasing cancellation . 1987 . 12 . 2161–2164 . 10.1109/ICASSP.1987.1169405. 58446992 .
  4. Britanak . V. . On Properties, Relations, and Simplified Implementation of Filter Banks in the Dolby Digital (Plus) AC-3 Audio Coding Standards . IEEE Transactions on Audio, Speech, and Language Processing . 2011 . 19 . 5 . 1231–1241 . 10.1109/TASL.2010.2087755. 897622 .
  5. Web site: A Chronology of Dolby Laboratories: May 1965-May 1998 . Film-Tech . Dolby . 15 May 2022 . https://web.archive.org/web/20060318071657/http://www.film-tech.com/warehouse/manuals/DOLBYCHRONOLOGY.pdf . 18 March 2006.
  6. Book: Luo . Fa-Long . Mobile Multimedia Broadcasting Standards: Technology and Practice . 2008 . . 9780387782638 . 590 .
  7. News: COMPANY NEWS: A Sound Idea; Dolby Theater Format Adapted to Home Uses . The New York Times. 12 August 1992 . Fisher . Lawrence M. .
  8. Web site: Dolby – Dolby Digital Details . Dolby Laboratories.
  9. Web site: Dolby – What is Dolby Digital EX? . . 2009-08-29 . 2009-02-27 . https://web.archive.org/web/20090227084055/http://www.dolby.com/consumer/technology/dolby_ex.html . dead .
  10. Web site: Dolby – What is Dolby Digital Live? . . 2006-03-20 . 2009-02-10 . https://web.archive.org/web/20090210092357/http://www.dolby.com/consumer/technology/dolby_live.html . dead .
  11. Web site: Dolby – Dolby Digital Plus Details . .
  12. Web site: Dolby – What is Dolby Digital Surround EX? . . 2015-05-25 . 2014-06-14 . https://web.archive.org/web/20140614040932/http://www.dolby.com/us/en/consumer/technology/movie/dolby-surround-7-1.html . dead .
  13. Web site: Dolby – What is Dolby Digital Recording? . . 2009-12-12 . 2011-10-10 . https://web.archive.org/web/20111010062942/http://www.dolby.com/consumer/understand/creation/dolby-digital-recording.html . dead .
  14. Web site: Dolby – Dolby Digital Cinema Details . . 2009-08-29 . 2012-03-09 . https://web.archive.org/web/20120309010006/http://www.dolby.com/consumer/technology/dolby-digital-cinema-details.html . dead .
  15. Web site: Dolby – Dolby Digital Stereo Creator Details . . 2009-08-29 . 2012-03-09 . https://web.archive.org/web/20120309010003/http://www.dolby.com/consumer/technology/dolby-digital-stereo-creator-details.html . dead .
  16. Web site: Dolby – What is Dolby Digital 5.1 Creator? . . 2009-08-29 . 2012-03-09 . https://web.archive.org/web/20120309005951/http://www.dolby.com/consumer/technology/dolby_creator.html . dead .
  17. Web site: AVFileTypeAC3 . Apple Developer Documentation . Apple Inc.
  18. Web site: A/52B: Digital Audio Compression (AC-3) (E-AC-3) Standard, Rev. B . . 2010-08-06 . https://web.archive.org/web/20100918151932/http://atsc.org/cms/index.php/standards/published-standards/48-atsc-a52-standard . 2010-09-18 . dead .
  19. Web site: Movie Sound Chronology. spannerworks.net. 2017-04-02.
  20. Web site: Dolby-Frequently Asked Questions . Dolby Laboratories.
  21. Web site: History: 50 YEARS OF INNOVATION. Dolby Laboratories. 2017-03-22.
  22. News: 'Batman Returns' To Try Double Dolby. May 13, 1992. The Chicago Tribune. 2017-03-22.
  23. Web site: Laserdisc Database Search By Date. Laserdisc Database. 2017-04-02.
  24. Web site: LaserDisc Database Clear and Present Danger. LaserDisc Database. 2017-04-02.
  25. Web site: Pro Audio Reference . 6.1 . 2024-08-08.
  26. Web site: Dolby Launches Dolby Digital Cinema in Theatres Worldwide with Star Wars Episode III: Revenge of the Sith. Dolby Investor Relations. 2017-03-22.
  27. Web site: Dolby Digital Live. dead. https://web.archive.org/web/20070208012537/http://www.dolby.com/consumer/technology/dolby_live.html. Feb 8, 2007. Nov 16, 2021. dolby.com. Dolby Laboratories.
  28. Web site: Nvidia nForce 500: Biostar and MSI Aim for the Gold . AnandTech. Gary . Key. June 8, 2006.
  29. Web site: A Korean reply comment (the fifth), which explains Dolby license royalty issue of X-Fi. Since the information leaked from SoundPrime, the Korean partner of Auzentech, all sources about this information are Korean. . 2009-11-27 . 2015-09-24 . https://web.archive.org/web/20150924064328/http://www.parkoz.com/zboard/view.php?id=dm_audio_qna&no=15261 . dead .
  30. Web site: What Daniel_K wrote "This utility was written from scratch and does not contain any copyrighted code. Creative's director of developer relations, George Thorn told me, in a chat session, that is OK to provide mods as patches. It does not modify any executable or DLL, so it is NOT a crack." Daniel_K's driver MOD itself did not include any DDL module, until it began to support Creative's official DDL pack. Daniel_K's 'DDLUnlocker.exe' merely used disguise to install Auzentech Prelude DDL module.
  31. Web site: Daniel_K, Who Fixed Creative's Broken Vista Drivers, Speaks Out . Wired.com . Rob. Beschizza. April 1, 2008.
  32. Web site: There is BrokenBlaster blame about CL – Creative Labs, its much later than the issue but show common case who blame Creative Labs and admire Daniel_K . Creative Technology.
  33. Silence From Sound Card Maker After Customer Revolt . Wired. Rob . Beschizza . March 31, 2008.
  34. Web site: Dolby Digital Live pack, its DDL pack but also say "Get DTS Connect Pack FREE! for every purchase of Dolby Digital Live Pack." . Creative Technology.
  35. Web site: AVFileTypeEnhancedAC3 . Apple Developer Documentation . Apple Inc.
  36. Web site: Dolby Digital Plus Audio Coding Tech Paper. 2017-04-24. 2019-05-02. https://web.archive.org/web/20190502061841/https://www.dolby.com/us/en/technologies/dolby-digital-plus-audio-coding-tech-paper.pdf. dead.
  37. Web site: Apple TV – Tech Specs. 1 January 2017.
  38. News: Dolby AC-4: Audio Delivery for Next-Generation Entertainment Services . . 2015-06-01 . 2016-04-26 . 2019-05-30 . https://web.archive.org/web/20190530051301/https://www.dolby.com/us/en/technologies/ac-4/Next-Generation-Entertainment-Services.pdf . dead .
  39. Web site: LaserDisc Database – Help – AC3RF / Dolby Digital.
  40. Web site: VideoLAN – VLC – Features. VideoLAN. 1 January 2017.
  41. Web site: SEC Form S-1. ADOBE investor relations website. 2017-03-22.
  42. Web site: SEC Form S-1. United States Securities and Exchange Commission (SEC) EDGAR system, filed November 19, 2004. 2017-03-22.
  43. Web site: Amendment No. 1 to SEC Form S-1. United States Securities and Exchange Commission (SEC) EDGAR system, amended February 12, 2005. 2017-03-22.
  44. Web site: The last patent on AC-3 (Dolby Digital) expires at midnight Hacker News. news.ycombinator.com. 2017-05-06.
  45. Web site: AC3 Freedom Day – s . Ac3freedomday.org . 2022-02-17.