Jump to content
  • The Computer Audiophile
    The Computer Audiophile

    How To Decode and Play Dolby TrueHD Atmos on Windows and macOS

     


    Yes, you read the title correctly. Here is a little background and all the information you'll need to decode and play lossless Dolby TrueHD with Atmos on a Windows or macOS computer, without the need for HDMI output. 

     


    Housekeeping

     

    There are two codecs used with Dolby Atmos content. 

     

    Lossy - Dolby Digital Plus
    Lossless - Dolby TrueHD

     

    Atmos offers additional height channels to the more traditional 5.1 or 7.1. For example I'm putting together a 7.1.4 Atmos system. 7 main channels, 1 subwoofer, and 4 height channels. 

     

    Both DD+ and TrueHD carry the height channels in metadata. This makes the content on Blu-ray Discs appear like plain 7.1, but when decoded, the height channels are filled. It isn't practical to extract the height channels to a separate file, these are available at the time of decoding.

     

    macOS has a built-in Dolby Digital Plus decoder using what's called DD+JOC. This is how Atmos / Spatial Audio content can be played and listened to on a Mac. However, this is the lossy version, not TrueHD lossless. 

     

    The only source of lossless Dolby TrueHD Atmos is on Blu-ray Discs. 

     


    Why?

     

    Why would someone want to decode and play Dolby TrueHD Atmos content on a computer rather than an AVR or processor? Mainly it's about cost, flexibility, and performance. The cost of a high end processor can set you back $10,000 or much more. The flexibility of a computer based system is endless (for better or worse). With respect to performance, a computer based system can use several types of room correction, 65,000+ taps, upsample to high rate PCM or DSD, and output to high end DACs with interfaces much better than HDMI.

     


    Here We Go

     

    Start by ripping the Dolby TrueHD content from a Blu-ray Disc. To do this, use a Blu-ray drive such as the Archgon BU40N that can also rip UHD 4K Blu-ray Discs (although a firmware adjustment is required to rip UHD). 

     

    Ripping the content is done by the MakeMKV application - https://makemkv.com

     

    Here you can see The Beatles Abbey Road Blu-ray. I have the TrueHD Surround 7.1 English track selected to rip. Again, it says 7.1, but the metadata will be used to create a 5.1.2, 7.1.4, 9.1.4 or greater mix. 

     

     

    TrueHD ripping decoding 01.jpg

     

     


    Once MakeMKV has ripped the track into an MKV file, you'll have both the audio and video together. 

     

    I prefer to extract only the audio portion of these tracks, so I use an application called Music Media Helper 6. This app will enable you to extract individual audio tracks in MKA format. 

     

    Once you have both MKV and MKA files, you're ready to extract the lossless TrueHD files needed for decoding. Note: if you want to output the MKV or MKA files via HDMI into an AVR with Dolby Atmos decoding, then you don't need to go any further. However, if you want to decode TrueHD on a computer, keep reading. 

     

    Install the app named mkvtoolnix and the gui for the app, named MKVCLeaver.

     

    The reason I have both a single MKV file and individual MKA files is because I want a single track (for listening to the entire album) and separate tracks for picking and choosing. 

     

    Open MKVCleaver, then select the MKV file from within the app. Once open, select the audio track you wish. Here you can see I've selected what says MLP FBA 16-ch... on Abbey Road. Then click extract. This will extract the entire track into a TrueHD file with the TrueHD file extension. 

     

     

    TrueHD ripping decoding 02.jpg

     

     

     


    If you want individual files, open all the MKA files with MKVCLeaver, and select the Audio Track like I've done in this screenshot, and click extract. This will give you individual TrueHD files. 

     

     

    TrueHD ripping decoding 03.jpg

     

     

     

    Once you have your TrueHD files extracted, change the file extension from .truehd to .mlp. Now you have files ready to decode from 7.1 to 7.1.4 or more, and 100% lossless. 

     

     

    Where The Rubber Meets The Road

     

    Now for the good part. Purchase a license for the Dolby Media Encoder ($400 /yr). The Dolby Media Encoder comes with the Dolby Reference Player. The Dolby Reference Player is the app that's needed. Note: the Media Encoder is what's licensed for $400 per year, but only the Reference Player is what we need. The Reference Player will continue to work after one's Media Encoder license has expired, but updates will not be available.

     

    You can purchase the Dolby media Encoder here.


    Install the Reference Player on either macOS or Windows. I have it working on macOS 12.3 and Windows 11. 

     

    Open the Dolby Reference Player and change the settings to match your audio needs. I disable Dynamic Range Control, set the presentation to 16 channels, speaker layout to 7.1.4, and audio device to my Merging Technologies Anubis. Then open one of the ripped MLP files and extracted earlier, and enjoy the glorious lossless Dolby TrueHD with Atmos content. 

     

    HDMI output isn't required because the audio is already decoded into PCM.

     

    Here is a screenshot of me playing The Beatle Abbey Road. You can see the 7 main channels, 1 LFE subwoofer, and 4 height channels, all with content. 

     

    TrueHD ripping decoding 04.jpg

     

     


    Wrap Up

     

    This was the quick and dirty how-to. There are many more items to cover, such as room correction and issues that may pop up with different audio interfaces. Right now, I can send audio from the Dolby Reference Player to HQPlayer for room correction and upsampling, then out to my Merging Technologies Anubis for playback. The decoding is all done by the Reference Player. Regular 12 channels of PCM is delivered to HQPlayer, so I can do whatever DSP I need. I also send Apple Music Atmos / Spatial Audio content through the same digital signal processing.

     

    I want to thank @El Guapo for helping me with this project. Without his input, I'd still be trying to figure this out. 


     

     

     




    User Feedback

    Recommended Comments



    5 hours ago, bbosler said:

     

    just FYI, the current M1 will not output anything but 48K through the HDMI port which I found out after buying one... sent it back.

     

    I know not the focus of this thread, and for Atmos looks like the 48K limit is not a  problem, but in case you were thinking about the possibility of interfacing it with a processor like mine that accepts HDMI input and want to use higher rates like I do

     

    Agree with advice to get the 16GB ram version. If you go to the Apple site and scroll to the bottom of the page there is a link to the refurbished site where you might find what you want for a bit of a discount

    If and when I get one the way I would use it would be to stream ATMOS streaming service material (no ripped Blue Rays), use JRiver and whatever other software packages are needed to output HDMI video (Preferably Dolby Vision or HDR 10) via HDMI 2.1 to my LG C1, and output fully rendered ATMOS DD+ audio via usb to and OCTO Dac 8, and the DAC on my Motu M4 hopefully perfect lip synched witht the video and synched with each other.  

     

    I think it might be doable, I already have the DACs, enough speakers for a 5.1.4 layout.  I would just need a couple of cheap amps for the overheads (thinking Aiyima A07's), and some poles to get them in the air (couresy of K&M), and, of course, the MAC Mini and the software to make it work.  Oh, did I mention I'd also want to run my multichannel Dirac Live which can go up to 16 discrete channels of correction as a VST plug in?

     

    The vision is to have something that looks like this, only with KEF speakers.

     

    qL885Zo.jpg

    5 hours ago, bbosler said:

     

    Yeah, but they're charging for everything.  Probably wouln't take my unit back and want me to just buy a Pro.  Haven't even checked out the price, but ouch from the last time.  Yeah, they should have offered it from the get go.  Nobody would have wanted their DAC/Amps for either speakers or headphone, I think, if they did.

     

    In all fairness, what it does well, it does superbly.  I have a custom, bespoke 24 channel PRIR of the Dutch & Dutch 8C's which I sat for in the studio where John made those universal D&D Prir's everyone who owns an A16 isn so fond of.  Along with John and one other person, the three of us have t

    he unicorn.

     

    Anyway, given I already have so many of the components, I think I could do this for around $1500, so either way it seems like a no-brainer, but still probably next years big project.

    5 hours ago, bbosler said:

     

     

    Capture.JPG

     

    Share this comment


    Link to comment
    Share on other sites

    So, current status on Atmos audio+video in JRiver is that it works on Linux and Mac-versions.

    So I'm in trouble now. Actually thinking of adding another HTPC to the system, this time a Linux or..hmm..ok then..a Mac..

     

    Sad day..😭

     

     

    Share this comment


    Link to comment
    Share on other sites

    On 4/25/2022 at 2:50 PM, retro said:

     

     

    3 hours ago, retro said:

    So, current status on Atmos audio+video in JRiver is that it works on Linux and Mac-versions.

    So I'm in trouble now. Actually thinking of adding another HTPC to the system, this time a Linux or..hmm..ok then..a Mac..

     

    Sad day..😭

     

     

    When you consider reconditioned Mac Mini M1's with 8/256 are going for around $525, I would to cry too much.  Based on what I finding out, just a stupid good value.

    Share this comment


    Link to comment
    Share on other sites

    I've been researching this, but don't know.  Does the Mac Mini support both HDR 10 and  Dolby Vision via its HDMI and or Thunderbolt ports?  Can't seem to find much.  All the reviewers want to do is wax enthusiastically about how well it does video editing.  

    Share this comment


    Link to comment
    Share on other sites

    3 minutes ago, phoenixdogfan said:

    Does the Mac Mini support both HDR 10 and  Dolby Vision via its HDMI and or Thunderbolt ports?

    TV app will detect the system capabilities than list the available playback features. The screenshot was captured from my M1 Mac mini. Apparently it supports 4K HDR and Dolby Vision and Dolby Atmos thru HDMI.

    image.png.f81cf006b9ae1293eb8138f57e334d45.png

    Share this comment


    Link to comment
    Share on other sites

    So am I understanding this correctly?

     

    From a Mac Mini a video stream could run like this:  ATV+/Netflix===>M1 Sierra Nevada OS Video Renderer ===> HDMI Dolby Vision Video stream====>Dolby Vision Video capable 4k monitor (Lg C1)

     

    Audio stream :  ATV+/Netflix====>Sierra Nevada OS Audio Decoder===>16 Channel DD+ Dolby Atmos Audio====>Audio DSP Management Program (JRiver for PEQ, Bass Management, High Low Pass for sub and mains, 16 Channel Dirac Live)====>Digital Routing Software (Black Hole or Voicemeter Banana) Directing 8 LPCM channels to one DAC & 8 LPCM channels to different DAC====2 USB outlets===>2 USB LPCM streams (8 channels ea) to each respective DAC

     

    Is this set up possible and does the Apple OS provide for a decoded Atmos multichannel LPCM stream that can then be manipulated with DSP and routed via USB to external dacs, or is this piece of software unavailable currently?

     

     

    Share this comment


    Link to comment
    Share on other sites

    36 minutes ago, phoenixdogfan said:

    So am I understanding this correctly?

    Incorrect for ATV+/Netflix. If you want to playback the videos or movies from Apple TV (that little black box), you have to connect to AVR directly. The TV app I mentioned is just an application, part of macOS. Netflix doesn't support Atmos (even 5.1) on macOS. Sorry about that.

     

    36 minutes ago, phoenixdogfan said:

    Is this set up possible and does the Apple OS provide for a decoded Atmos multichannel LPCM stream that can then be manipulated with DSP and routed via USB to external dacs, or is this piece of software unavailable currently?

    This part is for sure. I always put HQPlayer as DSP in the audio path for Apple Music Atmos contents playback. You can aggregate many 2ch DACs as multichannel audio output (it does multichannel DSD, too!)

    Screenshots were using 3 DACs to make 5.1 output. If you have many DACs you can aggregate it up to 12 channels for DD+ Atmos 7.1.4 on macOS.

    431413199_Image2022-4-15at10_41PM.thumb.jpg.a298ad9758e3ad4be4ab23c098bbfdd4.jpg

     1498992898_Image2022-4-15at10_42PM.thumb.jpg.74a222a90ea72c275eae78181cab49cf.jpg

    Share this comment


    Link to comment
    Share on other sites

    This text is to hopefully call out to  @jriver, call it a cry for help, if you want..😉 Also to kind of force you (JimH?) to read this full, whole article and thread, in case you haven't already..🙂

     

    I'm dedicated to JRiver for audio+video since many years. That's mainly, but not only, because of your great DSP and WDM-driver. Don't think there's another soft out there with these capabilities, or am I wrong?

    And I'm also very dedicated to the idea of the (Win) HTPC doing-it-all, inc. advanced DRC from Dirac and Audiolense. Have both.

     

    Now, it seems only Linux and Mac-versions of JRiver are capable of playing the test-file Guapo made and linked on Interact. No luck on Win-version.

    And judging by the lack of activity in the threads I made on Interact, I'm not feeling this will be looked at. But I really really hope I'm wrong..? Or is it perhaps not at all possible to play more than 8-ch in a combined AV container on Windows as opposed to Mac/Linux, who apparently can..?

     

    But if doable, can you please put a 🔥 under the devs 🦼 (Yes, I love smileys) and work on the Win-version...?

     

    And yes, I of-course understand that the whole, somewhat special solution described here to get the extracted playable files, is not going to start a revolution with everyone ripping Atmos discs. But, quite a few of us will for sure. 

     

    Likely won't be necessary to start a new subforum for it anytime soon though..but who knows, I might be wrong..🙂 

     

    Share this comment


    Link to comment
    Share on other sites

    And while JRiver is at it, how about the capability of decoding ATMOS DD+ streams from Netflix, Amazon Prime, Apple TV+, Vudu, et all.  I would not at all mind paying for this as an add-on to defray any licensing fees it may cost JRiver.  I don't want a freaking Atmos AV receiver, I just want to receive an atmos stream on my Windows box and send it to my multi channel DACS after using JRiver to run bass management, PEQ, and multichannel Dirac live.  I already have the DACS and the speakers, just need something with a "brain" to tell them what to do.

     

     

    Share this comment


    Link to comment
    Share on other sites

    1 minute ago, phoenixdogfan said:

    And while JRiver is at it, how about the capability of decoding ATMOS streams from Netflix, Amazon Prime, Apple TV+, Vudu, et all.  I would not at all mind paying for this as an add-on to defray any licensing fees it may cost JRiver.  I don't want a freaking Atmos AV receiver, I just want to receive an atmos stream on my Windows box and send it to my multi channel DACS.  

     

     

     

    Slow down, slow down and relax..one thing at a time..we are right now trying to take baby steps in the computer Atmos playground here...😉😄

     

    Yes, of-course I wouldn't mind what you're saying.

     

    But the basics first, please. Like playing the Atmos files on Win JRiver..🙂

    Share this comment


    Link to comment
    Share on other sites

    6 minutes ago, wisechoice said:

    Many thanks for this article! I'm now listening to Herbert von Karajan's Beethoven symphonies in Dolby Atmos TrueHD, ripped from the Blu-rays. It sounds wonderful on my newly-expanded 5.1.2 setup. (A 7.1.4 system might be overkill in my listening room, since the couch is against the wall, and there's only about 5-6 feet separating me from the speakers.)

     

    Just a note, if you're a professional in the music or film industry, you can apply for a 30-day trial of the Dolby software. Since the Reference Player doesn't require a license activation on your computer, you would then have a free playback solution indefinitely (though you might miss out on updates). For Mac users, it's important to note that the software isn't yet optimized for Apple Silicon. I've had some playback issues under Rosetta after a longer period of playback, so be warned. In general, I've found that audio performance suffers on the M1 when Rosetta is even so much as installed.

     

    For anyone who's interested in my setup, I have a Digiface USB connected to a Mac mini M1, feeding 4 different DACs via optical (the Digiface acts as the clock): Gustard X16, Topping EX5, SMSL SU-8 & Soncoz LA-QXD1. The front and side channels are connected to a Genelec 7050c subwoofer with bass management, and four Neumann KH120s with a KH80 as the centre. The two middle height speakers are Genelec 8010s and bypass the subwoofer. Channel balancing on all the Neumanns has been done at the speaker itself. I use an RME ARC USB to control volume and to solo/mute different channels using fader groups in TotalMix. I also use RME DigiCheck to meter the digital signal.

     

    I have an SPL Volume8 on the way to control the volume after the DAC stage, which will allow me to play DSD more easily via HQPLayer over DoP (limited to DSD64). And I have a DeckLink 4K Mini Recorder connected through an HDMI splitter to an AppleTV, which allows me to listen to material from the AppleTV in 5.1 via Media Express and Rogue Amoeba Loopback. I also have a Blackmagic SDI to Audio Mini Converter on the way, which should allow me to bypass the Mini, and feed each of the DACs after an HDMI to SDI conversion stage. Volume would then also be controlled via the Volume8 instead of the RME ARC USB.

     

    Under macOS Monterey, the Digiface can be configured with a 5.1.2 speaker configuration in Audio MIDI Setup and you can stream lossy Atmos via Apple Music and the TV app. I've encountered glitches from time to time with the height channels disappearing from the mix, however, and managed to solve them for the most part by using Blackhole 16ch and Rogue Amoeba Loopback. Under any version of macOS, you can use Dolby Reference Player and customize the speaker configuration. However, I needed to set it to 16 channels, before the two height channels could be recognized under any configuration. Otherwise, it was stuck on outputting 5.1.

     

    I'm not using any DSP for EQ (yet) aside from minor adjustments to the KH80 via the Neumann iPad app -- the Neumanns are very flat and also have excellent dispersion control, so reflections aren't coloured for the most part. Also, I'm not an expert in this, but I think the more surround speakers you have, the less important room treatment for reflections becomes, since the direct sound from all sides will arrive to the ear earlier than the reflections, and at higher energy. Nonetheless, I have a few acoustic panels on the way to help out with reflections. Bass traps will have to wait.

    Fantastic!

    Share this comment


    Link to comment
    Share on other sites

    32 minutes ago, wisechoice said:

    Many thanks for this article! I'm now listening to Herbert von Karajan's Beethoven symphonies in Dolby Atmos TrueHD, ripped from the Blu-rays.

     

    so is it really TrueHD? I found this on  https://forum.blu-ray.com/showthread.php?t=311957

     

     

    I readily admit I am still trying to wrap my head around lossless vs TrueHD vs Atmos vs. whatever else there is 

     

    Capture.JPG

    Share this comment


    Link to comment
    Share on other sites

    3 hours ago, The Computer Audiophile said:

    It says TrueHD, why don’t you think it’s TrueHD?

     

    My Trinnov Atmos decoder says Apple Atmos is TrueHD at 48K and you told me it was not, so I questioned what this is.

     

    I guess I ask because I don't really understand what that means. I thought that meant lossless and 48K equated to not lossless. I'll try to get a better handle on what all the terminology means

     

     

    Share this comment


    Link to comment
    Share on other sites

    5 minutes ago, bbosler said:

     

    My Trinnov Atmos decoder says Apple Atmos is TrueHD at 48K and you told me it was not, so I questioned what this is.

     

    I guess I ask because I don't really understand what that means. I thought that meant lossless and 48K equated to not lossless. I'll try to get a better handle on what all the terminology means

     

     

    Ah yes, no worries. Blu-rays that say TrueHD are lossless TrueHD.  Non of the streaming services are TrueHD despite bugs that may indicate otherwise. 

    Share this comment


    Link to comment
    Share on other sites

    The reported bitrate for this album when playing back in 5.1.2 via Dolby Reference Player appears to be pretty consistently between 7000-9000kbps, which is within the TrueHD spec for 48kHz Atmos encoding, as specified here: https://developer.dolby.com/technology/dolby-audio/dolby-truehd/

     

    The file size on the Mac for the TrueHD rip from the second Blu-ray is 6,701,903,276 bytes (6.7 GB on disk). With a duration of 9841.297 seconds, that works out to 5,448kbps. However, there are very quiet passages, e.g. between symphonies and movements, where the bitrate is around 1,000-2,000kbps. I'm not sure, but that could explain the average.

     

    The lossless DTS-HD master version would play through my Digiface at 192kHz in 5.1, so I might compare them to see whether I notice a difference.

     

    Unfortunately, I can't get the 192kHz stereo PCM rip (.wav) to play anywhere so far.

    Screen Shot 2022-04-28 at 8.56.51 PM.png

    Share this comment


    Link to comment
    Share on other sites

    44 minutes ago, wisechoice said:

    The reported bitrate for this album when playing back in 5.1.2 via Dolby Reference Player appears to be pretty consistently between 7000-9000kbps, which is within the TrueHD spec for 48kHz Atmos encoding, as specified here: https://developer.dolby.com/technology/dolby-audio/dolby-truehd/

     

    The file size on the Mac for the TrueHD rip from the second Blu-ray is 6,701,903,276 bytes (6.7 GB on disk). With a duration of 9841.297 seconds, that works out to 5,448kbps. However, there are very quiet passages, e.g. between symphonies and movements, where the bitrate is around 1,000-2,000kbps. I'm not sure, but that could explain the average.

     

    The lossless DTS-HD master version would play through my Digiface at 192kHz in 5.1, so I might compare them to see whether I notice a difference.

     

    Unfortunately, I can't get the 192kHz stereo PCM rip (.wav) to play anywhere so far.

    Screen Shot 2022-04-28 at 8.56.51 PM.png

     

    As long as the Dolby Reference Player says Audio Codec: Dolby TrueHD, then it's TrueHD. 

    Share this comment


    Link to comment
    Share on other sites

    Another question if we're decoding Atmos over a PC is whether either Windows or Apple M1's render Dolby Vision Video.  Alternatively, does either machine accept HDMI-eARC?  If not, are we stuck with HDR10 at best if we want our PC's to do immersive audio and video?

    Share this comment


    Link to comment
    Share on other sites

    8 hours ago, phoenixdogfan said:

    whether either Windows or Apple M1's render Dolby Vision Video

    For video it depends on player software. So far TV app on macOS supports Dolby Vision on newer Mac model.

     

    8 hours ago, phoenixdogfan said:

    does either machine accept HDMI-eARC?

    Unfortunately nope. Most of the HDMI input for PC are for video capturing.

     

    8 hours ago, phoenixdogfan said:

    are we stuck with HDR10 at best

    Like I mentioned it depends on player software. Pure immersive audio (even from Blu-ray) doesn't need video actually.

    Share this comment


    Link to comment
    Share on other sites

    I've not been following this journey too closely, being a headphone guy, but then Chris pointed me to this link: https://spiritofturtle.com/collections/9-1-binaural-headphone-dolby-atmos

     

    This made me wonder: can all TrueHD Atmos releases be rendered to a 2ch binaural output using Dolby Reference Player? If so, these 2ch WAV files could be played on my music player over headphones. Or does the .mlp file need to explicitly include a binaural mix? I'm very confused. I know Atmos mixes contain objects that can then be decoded to whatever the specified output configuration is.

     

    Perhaps @El Guapo or other experts can provide some pointers?

    Share this comment


    Link to comment
    Share on other sites

    2 hours ago, austinpop said:

    can all TrueHD Atmos releases be rendered to a 2ch binaural output using Dolby Reference Player? If so, these 2ch WAV files could be played on my music player over headphones.

    I personally think that the DRP is direct downmixing to 2ch, not binaural mix... 🤔

    image.thumb.jpeg.ef3ab2329be6fdffb50b5693679a830e.jpeg

    If you want the true binaural mix you can try HRTF convolution😃

     

    2 hours ago, austinpop said:

    does the .mlp file need to explicitly include a binaural mix?

    Please correct me if I'm wrong... In my memory the .mlp does not include the binaural mix. 🤔Atmos binaural mix is delivered thru AC-4 codec but it only appears in Apple Music and Tidal's Atmos streaming services.

    Share this comment


    Link to comment
    Share on other sites

    13 minutes ago, El Guapo said:

    I personally think that the DRP is direct downmixing to 2ch, not binaural mix... 🤔

    image.thumb.jpeg.ef3ab2329be6fdffb50b5693679a830e.jpeg

    If you want the true binaural mix you can try HRTF convolution😃

     

    Please correct me if I'm wrong... In my memory the .mlp does not include the binaural mix. 🤔Atmos binaural mix is delivered thru AC-4 codec but it only appears in Apple Music and Tidal's Atmos streaming services.


    Thanks El Guapo!

     

    Chris is going to check with Bert for me. I sure hope there is a way to get lossless binaural.

    Share this comment


    Link to comment
    Share on other sites

    I looked over some previous emails with Bert and I'm pretty sure he includes a lossless TrueHD binaural mix. I'll update as soon as I hear from him. 

    Share this comment


    Link to comment
    Share on other sites




    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now




×
×
  • Create New...