Fact-checked by Grok 2 weeks ago

Meridian Lossless Packing

Meridian Lossless Packing (MLP) is a lossless algorithm developed by the British audio company , designed to encode high-resolution (PCM) audio data with bit-for-bit accuracy upon decoding. Introduced in 1997, MLP enables efficient storage and transmission of uncompressed-quality audio by reducing data redundancy through techniques such as waveform prediction, , and matrixing, typically achieving compression ratios of 50-55% for formats like 96 kHz/24-bit multichannel audio. MLP was specifically optimized for emerging digital media standards, serving as the mandatory encoding method for discs to fit high-fidelity, up to 24-bit/192 kHz, multichannel content within bitrate constraints, such as extending playback time to 74 minutes for six channels on a single-layer DVD. Its robust design includes built-in error detection and recovery, allowing restarts within 10-30 milliseconds and cascadability for multiple encode-decode cycles without cumulative degradation, making it suitable for professional studio workflows and consumer playback. In 1997, licensed the technology to Laboratories, where it forms the core of , a lossless supporting up to 32 full-range channels and higher bitrates for Blu-ray Disc and , enhancing home theater audio fidelity. Technically, MLP supports sampling rates from 44.1 kHz to 192 kHz, up to 64 channels, and 24-bit precision, with decoder implementations requiring modest processing power—such as handling six channels at 96 kHz/24-bit on a single (). The bitstream incorporates for cueing, control, and additional data channels, while variable or fixed data rates help manage peak demands, capping at around 9.6 Mbps for applications. Beyond optical media, MLP has influenced archival audio formats and remains relevant in systems, underscoring Meridian's contributions to digital sound preservation and delivery.

History and Development

Origins and Creation

Meridian Audio Limited, a British audio technology company based in , , initiated the development of Meridian Lossless Packing (MLP) in the mid-1990s as a audio coding scheme designed to address the challenges of storing high-fidelity on emerging optical media formats. The project spanned approximately three years, culminating in the release of provisional technical data in June 1998, which outlined the system's architecture and capabilities. The primary motivation for creating MLP was to enable lossless compression of multi-channel pulse-code modulation (PCM) audio at high sample rates and bit depths, such as 24-bit/96 kHz, allowing this data to fit efficiently on storage-limited discs like DVDs while preserving bit-for-bit audio quality without any perceptual loss. This innovation targeted the growing demand for surround sound and high-resolution formats in consumer audio, where traditional uncompressed PCM would exceed practical storage capacities for multi-channel content. Initially named Packed PCM (PPCM), the technology remained proprietary to Meridian during its early phases, with the company integrating prototype decoders into its surround sound processors starting in June 1998. By 1999, MLP had been selected as the standard lossless encoding method for , with further refinements documented in technical releases around 2000 to support its integration into that format. This foundational work later extended to high-definition media, where MLP formed the basis for in Blu-ray audio.

Adoption in Audio Standards

In 1998, licensed its Meridian Lossless Packing (MLP) technology to Laboratories, enabling broader adoption in consumer audio formats. This agreement positioned as the primary licensor for MLP implementations, facilitating its integration into standards. The technology was specifically tailored for efficient, of multichannel PCM audio, supporting up to 24-bit/192 kHz signals without data alteration. The , an international standards body comprising electronics manufacturers and content providers, incorporated MLP into the specification, which was approved on February 8, 1999. Under this standard, MLP became the mandatory decoding format for all players to handle high-resolution, lossless audio tracks, ensuring compatibility for up to 5.1 channels at rates exceeding those of standard . While LPCM remained an option for basic stereo content, MLP's inclusion was pivotal for advanced multichannel and high-sample-rate applications, with the first commercial discs released by major labels like in November 2000. Building on this foundation, MLP evolved into , a core component of the Blu-ray Disc format developed by the (BDA). Announced in as part of the high-definition standards, extended MLP's capabilities to support up to 14 channels at 192 kHz/24-bit, with Blu-ray players required to decode it for lossless playback. The format launched commercially with Blu-ray discs in , marking MLP's transition to next-generation media and solidifying its role in professional and consumer high-fidelity audio delivery. Meridian's core patents underpinning MLP, such as GB2323754 for using IIR prediction filters filed in 1997, were licensed through and expired around 2017, allowing for unrestricted implementations post-patent term. This framework, combined with standards body endorsements, propelled MLP from a to an cornerstone for bit-exact audio preservation.

Technical Overview

Core Encoding Process

Meridian Lossless Packing (MLP), developed by in the late 1990s, processes uncompressed (PCM) audio as input, accommodating up to 64 channels at 24-bit depth and sample rates up to 192 kHz to handle high-resolution multichannel audio signals. This input format allows for faithful representation of professional-grade audio without any loss of information during . The overall encoding pipeline starts with lossless matrixing to decorrelate redundancies across channels, followed by to model the input audio signals and estimate sample values based on prior samples for identifying remaining redundancies within channels. The differences between actual and predicted values, known as residues, are then calculated to form a compact error signal. These residues undergo to minimize the bit representation based on their statistical properties, followed by bitstream formatting that incorporates headers for channel mapping, substream organization, and essential such as sample rate and . This high-level sequence ensures lossless reconstruction while optimizing storage and transmission efficiency. The resulting features a modular structure with sync words at the start of each major frame for precise , detailed assignments that specify the layout and ordering of audio channels, and periodic restart markers that provide error resilience by enabling independent decoding of subsequent segments. In the event of transmission errors, this setup limits impact to within individual packets, typically allowing recovery without audible artifacts or propagation to later frames. The final output is a stream that adapts to the audio content's complexity, commonly delivering ratios of 1.5:1 to 2:1 for typical high-resolution sources such as 24-bit/96 kHz multichannel material, thereby reducing data rates by approximately 50% while maintaining bit-perfect fidelity.

Prediction and Entropy Coding

Meridian Lossless Packing (MLP) employs adaptive filters, which can be (FIR) or (IIR), up to 8th order, to perform intra-channel and inter-channel prediction, exploiting correlations within and across audio channels to reduce redundancy in the linear (PCM) signal. The filter coefficients are dynamically adapted using the least mean squares (LMS) algorithm, which iteratively adjusts the parameters to minimize the based on recent samples. The predicted value for a sample, denoted as \hat{y}(n), is derived from past samples via the : \hat{y}(n) = \sum_{k=1}^{P} a_k y(n-k) where P is the filter order (up to 8), a_k are the LMS-adapted coefficients, and y(n-k) are previous input samples. For inter-channel prediction, the model incorporates samples from adjacent channels to further decorrelate multichannel signals, such as those in configurations. The residue, representing the irreducible error after , is computed as e(n) = y(n) - \hat{y}(n), ensuring that decoding can recover the exact original sample by reversing the prediction process. The residues, which typically follow a Laplacian distribution due to the effectiveness of the stage, are then entropy-coded using Golomb-Rice codes to achieve further without loss. Signed residues are encoded by transmitting a followed by the Golomb-Rice code for the . The Rice parameter m is adaptively selected for each residue or group of residues based on their statistical properties, such as variance or , to optimize the average code length for the observed distribution. For a non-negative integer value x and parameter m, the Golomb-Rice code is formed by encoding \lfloor x / 2^m \rfloor in (a run of that many 0s followed by a 1) and appending the m-bit binary representation of x \mod 2^m. This variable-length prefix-free coding assigns shorter codes to more probable small values and longer codes to rarer large values, efficiently packing the sparse residue data. All operations in MLP's prediction and pipeline are fully reversible, with integer arithmetic and exact coefficient quantization preserving bit throughout encoding and decoding. This design guarantees bit-exact reconstruction of the input PCM stream, independent of platform-specific floating-point variations, thereby maintaining the lossless integrity essential for high- audio applications.

Applications and Formats

Role in DVD-Audio

Meridian Lossless Packing (MLP) serves as the mandatory lossless compression codec for the high-resolution audio layer in the format, ensuring that all DVD-Audio players include built-in MLP decoders to support playback of high-fidelity content. This requirement stems from the DVD Forum's specification, which designates MLP as the standard method for packing (PCM) audio data without any loss in quality, allowing producers to deliver up to 24-bit/96 kHz multi-channel audio while adhering to the format's bit rate limits. Uncompressed linear PCM (LPCM) is optional but limited by the disc's constraints, making MLP essential for maximizing content duration on standard 4.7 GB single-layer DVDs. One of the primary benefits of MLP in is its ability to compress 5.1-channel 24/96 audio, achieving typical reduction ratios of 30 to 50 percent, which enables up to 74 minutes of high-resolution to fit on a single-layer —significantly extending playback time compared to what uncompressed LPCM could achieve under the same capacity and restrictions. This compression fits within the format's maximum audio of 9.6 Mbps, preventing data overflow while preserving every bit of the original recording. discs often incorporate an optional Red Book-compatible stereo layer at 16-bit/44.1 kHz, allowing with standard CD players on discs, though may be needed for seamless integration with the MLP-encoded high-resolution tracks. MLP also supports embedded metadata in DVD-Audio, including dynamic range control (DRC) through SMART down-mixing coefficients that can be tailored per track to optimize playback across different systems and listener preferences. For playback, DVD-Audio players perform hardware-based MLP decoding in real time, delivering the uncompressed audio via multi-channel analog outputs or, in later models, bitstream transmission over or (FireWire) interfaces, subject to mechanisms that initially restricted high-resolution digital outputs to downsampled formats. This implementation ensures that the full fidelity of MLP-encoded content is accessible only on dedicated DVD-Audio , distinguishing it from DVD-Video players.

Integration with Blu-ray and Dolby TrueHD

In 2004, Dolby Laboratories developed using the MLP technology licensed from in 1998, a lossless audio codec that encapsulates the MLP core algorithm with additional Dolby-specific metadata for enhanced functionality. This integration allowed TrueHD to support up to 16 discrete audio channels at resolutions of 24-bit depth and sampling rates up to 192 kHz, though Blu-ray Disc specifications limit practical implementations to eight full-range channels (7.1 surround) at 96 kHz/24-bit or six channels at 192 kHz/24-bit. On Blu-ray Discs, serves as an optional high-definition audio format, featuring a mandatory embedded (AC-3) core track to ensure with legacy devices incapable of lossless decoding. The MLP core within TrueHD delivers bit-identical lossless reproduction of multi-channel up to 7.1 configuration, while also accommodating object-based audio extensions such as for immersive, height-channel experiences. This structure enables Blu-ray players to fall back to the lossy core if needed, maintaining playability across a wide range of hardware. Key enhancements in TrueHD over standalone MLP include robust error detection and concealment mechanisms, which mitigate during transmission or storage without audible artifacts, and hierarchical encoding that prioritizes the AC-3 core for compatibility while layering the lossless MLP data. These features provide improved resilience in high-bandwidth environments like Blu-ray, contrasting with the more constrained limitations of earlier MLP applications. Today, remains a cornerstone of Blu-ray audio, widely used in UHD and standard Blu-ray releases for cinematic and music content requiring uncompressed fidelity. It is commonly bitstreamed via 2.0 or later interfaces in modern AV receivers and soundbars, ensuring transparent passthrough to compatible decoders without transcoding losses. While streaming services like and have adopted for immersive music playback since around 2020, they typically employ compressed variants such as rather than full TrueHD, reserving the latter for physical disc-based delivery.

Performance and Limitations

Compression Efficiency

Meridian Lossless Packing (MLP) achieves typical compression ratios of 1.5:1 to 2:1 for high-resolution multi-channel audio, such as 24-bit/96 kHz six-channel content, reducing data rates from approximately 13.8 Mbps to 4-8 Mbps. For correlated stereo signals, ratios are lower, around 1.2:1, while uncorrelated noise exhibits near-zero overhead due to the absence of exploitable redundancy. Efficiency varies with audio characteristics; MLP performs less effectively on low-bit-depth CD audio (16-bit/44.1 kHz stereo), where general-purpose lossless codecs like FLAC or Monkey's Audio often achieve better ratios of 1.6:1 to 1.9:1 by better exploiting limited redundancies in such signals. In contrast, MLP excels on high-resolution formats due to greater redundancy in dithered signals and inter-channel correlations, enabling it to pack more channels within bandwidth constraints like DVD-Audio's 9.6 Mbps limit. Benchmarks from the original MLP encoder demonstrate approximately 50% data reduction on DVD-Audio test sets, such as extending playback from 45 minutes to 100 minutes for uncompressed 24-bit/96 kHz 5.1-channel audio on a single-layer disc. Modern implementations, including FFmpeg's MLP encoder, maintain similar ratios while offering improved encoding speeds through optimized prediction and processes. Compared to general-purpose compression like ZIP, MLP is superior for audio-specific redundancies, such as linear prediction across samples and channels, yielding 20-30% better ratios on typical music signals. However, it is not universally optimal; for instance, TAK can outperform MLP on certain files with high compression modes, particularly low-resolution stereo where TAK's adaptive filters provide tighter packing.

Implementation Challenges

The original Meridian Lossless Packing (MLP) encoder was computationally intensive, primarily due to the adaptive (IIR) filters employed in its prediction stage, often requiring several hours to process a single CD-length audio track. This slowness stemmed from the complexity of optimizing filter coefficients for across multiple channels and high-resolution formats, making encoding impractical on of the era. Subsequent open-source implementations, such as the MLP encoder integrated into FFmpeg in 2016, addressed some inefficiencies through algorithmic refinements and parallelization, yet encoding remains CPU-demanding, particularly for multichannel high-bit-depth content. Decoding MLP streams imposes specific hardware and software constraints, as the format was designed for dedicated playback systems. DVD-Audio players were mandated to include MLP decoders to support the standard's high-resolution multichannel audio, ensuring compatibility with discs featuring up to 24-bit/192 kHz content. Similarly, Blu-ray players require MLP decoding capabilities for tracks, which build upon the core MLP , though not all legacy devices fully support bit-perfect output at maximum resolutions. Software decoding is more limited; while native support exists in players like , applications such as rely on third-party plugins, like the DVD-Audio Decoder component, to handle MLP files and ensure accurate multichannel playback. MLP's proprietary nature, controlled by and licensed through for formats like TrueHD, posed significant compatibility barriers until key patents began expiring in the late 2010s. For instance, the foundational patent GB2323754B for IIR-based lapsed in February 2017 after its 20-year term, enabling broader open-source adoption without licensing fees. Prior to this, integration into diverse ecosystems was hindered by legal restrictions, leading to challenges in achieving bit-perfect playback across mixed hardware and software environments, especially for archival or cross-format conversions. Post-expiration, improved has facilitated tools like FFmpeg for encoding and decoding, though legacy proprietary elements in commercial implementations persist. With the rise of streaming services favoring more versatile open formats like , MLP's usage has declined significantly since the mid-2010s, as physical media such as and early Blu-ray discs wane in popularity. Nonetheless, it remains viable for archival purposes in preservation, particularly where bit-for-bit fidelity in multichannel setups is essential, supported by ongoing open-source decoders in tools like FFmpeg.

References

  1. [1]
    [PDF] Meridian Lossless Packing - Ambisonic.Net
    Meridian Lossless Packing, or MLP, is an audio coding scheme using proprietary technology, that has been developed over three years by Meridian. Audio and ...
  2. [2]
    History - Meridian Audio
    Meridian Lossless Packing (MLP). Meridian Lossless Packing (MLP) technology licensed by Dolby® to create Dolby® TrueHD Lossless Audio to enable the maximum ...
  3. [3]
    None
    ### Summary of Meridian Lossless Packing (MLP) from MLP Encoder User Guide
  4. [4]
    AES Journal Forum » The MLP Lossless Compression System for ...
    Mar 15, 2004 · Meridian lossless packing (MLP) was adopted in 1999 as the lossless coding method used on DVD-Audio. MLP uses four principal strategies to ...Missing: developers | Show results with:developers
  5. [5]
    [PDF] Dolby to License Meridian MLP™
    Unlike perceptual or lossy data reduction, lossless coding does not alter the final decoded signal in any way, but merely 'packs' the audio data more.Missing: 2000 | Show results with:2000
  6. [6]
    Warner Music Group unveils first releases in DVD-Audio format
    Oct 2, 2000 · With a release date of November 7th, in time for the holiday shopping season, Warner Music Group (WMG) becomes the first of the major music ...
  7. [7]
    Dolby TrueHD Lossless Audio
    On Blu-ray, Dolby TrueHD supports up to eight full-range channels of 96 kHz/24-bit audio and six full-range channels of 192 kHz/24-bit audio. It also features ...Missing: development timeline
  8. [8]
    GB2323754B - Lossless compression using iir prediction filters
    MERIDIAN LOSSLESS PACKING Ltd: Dolby Laboratories Licensing Corp. Worldwide applications. 1997 GB. Application number: GB9701900A. Filing date: 1997-01-30.
  9. [9]
    [PDF] THE MLP LOSSLESS COMPRESSION SYSTEM
    The MLP encoder core is illustrated in Figure 3. The steps for encoding blocks of data are: 1. Incoming channels may be remapped to optimise the use of ...
  10. [10]
    [PDF] THE MLP LOSSLESS COMPRESSION SYSTEM
    Meridian Lossless Packing (MLP) is a lossless coding the wordwidth of 48kHz-sampled signals by 4 bits or system for use on high-quality digital audio data.
  11. [11]
    [PDF] DVD-Audio Disc Specification - Ambisonics
    The Heart Of DVD Audio. A major breakthrough offered by DVD-Audio is in the form of MLP — Meridian Lossless Packing. Like ZIP or. Stuffit on your ...
  12. [12]
    Meridian Lossless Packing (MLP) - InSync - Sweetwater
    Jul 21, 2004 · An audio encoding scheme using technology developed by Meridian Audio that is the industry-accepted standard for compressing audio data on DVD-Audio disks.
  13. [13]
    Technology Dolby Audio Dolby TrueHD | Dolby Developer
    Dolby TrueHD supports up to 24-bit audio and sampling rates from 44.1 kHz to 192 kHz. Dolby TrueHD supports up to 7.1 audio channels as well as Dolby Atmos ...
  14. [14]
    Blu-ray FAQ
    According to the Blu-ray Disc specification, 1x speed is defined as 36Mbps. ... (optional) Dolby TrueHD - lossless encoding of up to 8 channels of audio.
  15. [15]
    Are these audio tracks identical? - www.makemkv.com
    Dec 8, 2020 · BD specs state that it's mandatory for TrueHD audio to have an embedded AC3 track. Often this track is encoded @ 640 kbps, the maximum value ...
  16. [16]
    Dolby Atmos - TIDAL
    Dolby Atmos Music reinvents how songs are made and experienced. Go beyond just hearing music – with Dolby, you're put inside the song in a whole new way.
  17. [17]
    None
    ### Summary of Mentions of MLP and Compression Ratios for FLAC, Monkey's Audio, and TAK on CD Audio
  18. [18]
    DVD Benchmark - Secrets of Home Theater and High Fidelity
    Access to the MLP 5.1 Surround track is blocked on my PCs software DVD player and on my DVD-Audio player when Priority Content is set to Video.Missing: mandatory | Show results with:mandatory<|control11|><|separator|>
  19. [19]
    FFmpeg Codecs Documentation
    This option allows for compression using compression ratio. The compression ratio for each level could be specified. The compression ratio of a layer l ...Missing: MLP | Show results with:MLP
  20. [20]
    Meridian Lossless Packing - Hydrogenaudio Knowledgebase
    Jan 27, 2022 · Meridial Lossless Packing (MLP) is a lossless audio codec developed by the British pro-audio developer and manufacturer Meridian specially for inclusion in the ...