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



    @El Guapo, many many thanks for your great tutorial..! 

     

    Question, when you are done in DaVinci, when you have synced the video and audio, can you then mux them together to use with other players? 

    My guess is no, but I have to ask..🙂

    Share this comment


    Link to comment
    Share on other sites

    5 minutes ago, retro said:

    @El Guapo, many many thanks for your great tutorial..! 

     

    Question, when you are done in DaVinci, when you have synced the video and audio, can you then mux them together to use with other players? 

    My guess is no, but I have to ask..🙂

    Can’t you just export into a format that supports all the channels?

    Share this comment


    Link to comment
    Share on other sites

    19 minutes ago, The Computer Audiophile said:

    Can’t you just export into a format that supports all the channels?

    Yes, JRiver should handle the audio in 16-ch caf or waw, as far as I understand..?

    However, it does not support playback of separate audio and videofiles together.

    So some sort of muxing it all together, video + audio, is needed. Maybe it's not possible..?

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, retro said:

    Yes, JRiver should handle the audio in 16-ch caf or waw, as far as I understand..?

    However, it does not support playback of separate audio and videofiles together.

    So some sort of muxing it all together, video + audio, is needed. Maybe it's not possible..?

    I assume the only reason to put audio and video together in the Resolve app, is to be able to export those together. 

    Share this comment


    Link to comment
    Share on other sites

    21 minutes ago, The Computer Audiophile said:

    I assume the only reason to put audio and video together in the Resolve app, is to be able to export those together. 

     

    Yes. if possible..?!?

    Not sure we understand each other 100%, but my end-goal is being able to play-it-all, video + decoded Atmos audio, perfectly synced, with only JRiver and/or Kodi.

    Share this comment


    Link to comment
    Share on other sites

    15 minutes ago, retro said:

     

    Yes. if possible..?!?

    Not sure we understand each other 100%, but my end-goal is being able to play-it-all, video + decoded Atmos audio, perfectly synced, with only JRiver and/or Kodi.

    I completely understand the goal. I’m just saying that the Resolve app was built to edit then export. Nobody uses Resolve to watch anything. 

    Share this comment


    Link to comment
    Share on other sites

    15 minutes ago, The Computer Audiophile said:

    I completely understand the goal. I’m just saying that the Resolve app was built to edit then export. Nobody uses Resolve to watch anything. 

     

    Ok, but that's exactly what El Guapo is doing in his (great) tutorial..?!? Nothing about exporting as I can find..?!?

    I've read it several times, but maybe I'm missing something..?

     

    Share this comment


    Link to comment
    Share on other sites

    @retroIn Resolve it is called Render which will allow you to output to mp4 or to a number of different formats...

     

    Share this comment


    Link to comment
    Share on other sites

    @El Guapo Thanks for explaining all this.

     

    So, there is no current mediaplayer for windows that is capable of playing video and more than 8 discrete audiochannels at the same time?  Playing audio only, then 8+ discrete channels are no problem.

    Have I got the above correct??

     

    Ok, apparently QuickTime player will work (have not tried myself), but that's no longer supported on windows..

    But if QuickTime in fact does work with 8+ channels, doesn't that mean that the current mediaplayers, JRiver, Kodi etc.  should be able to overcome this limit too..?!?

     

     

     

    Share this comment


    Link to comment
    Share on other sites

    2 hours ago, retro said:

    So, there is no current mediaplayer for windows that is capable of playing video and more than 8 discrete audiochannels at the same time?  Playing audio only, then 8+ discrete channels are no problem.

    Have I got the above correct??

    Yes. After tried some major players I would make that conclusion.

     

    2 hours ago, retro said:

    But if QuickTime in fact does work with 8+ channels, doesn't that mean that the current mediaplayers, JRiver, Kodi etc.  should be able to overcome this limit too..?!?

    I thought it's just no such demand before this Atmos journey. No one was crazy enough to make / distribute the digital videos with greater than 8-channel LPCM audio. 😆 Both Dolby and DTS are using computational methods to expand the presentation channels.

    But so far this demand is still not strong enough to push developers to enhance their product I thought...

    Share this comment


    Link to comment
    Share on other sites

    21 hours ago, El Guapo said:

    Or use Resolve to export .mov with 16ch, 24/48 LPCM and playback from QuickTime for Windows.

    Apology. This is incorrect information. I just verified .mov with 16ch LPCM audio is unable to playback from my QuickTime 7 Pro for Windows. The maximum supported audio channel is still 8... 😥

    Share this comment


    Link to comment
    Share on other sites

    Outstanding work and effort @El Guapo!

     

    But can u play the file with JRiver in Windows..? 

    Share this comment


    Link to comment
    Share on other sites

    10 minutes ago, retro said:

    Outstanding work and effort @El Guapo!

     

    But can u play the file with JRiver in Windows..? 

    I just tried, but my output is audio only, so JRiver has an issue with it. At least I believe that's what's going on. Could also be my Remote Desktop session to it. 

     

    Screen Shot 2022-04-25 at 10.49.01 AM.png

    Share this comment


    Link to comment
    Share on other sites

    The file does play on VLC. However, I am only on my laptop now, can not try atm on my HTPC with 12 analog out + 4 digital out.

     

    Here's the mediainfo from VLC:

     

     

     

    error3.png

    Share this comment


    Link to comment
    Share on other sites

    Based on this thread, I'm looking very carefully at a Mac Mini M1.  In fact my only questions are whether I need 8gb or 16gb of RAM, and 256 or 512gb of memory. And this from a nearly 70yo lifelong Windows guy.

    Share this comment


    Link to comment
    Share on other sites

    Just now, phoenixdogfan said:

    Based on this thread, I'm looking very carefully at a Mac Mini M1.  In fact my only questions are whether I need 8gb or 16gb of RAM, and 256 or 512gb of memory. And this from a nearly 70yo lifelong Windows guy.

    I have an M1 Mini with 8GB RAM and 512GB of storage. Some days I wish I would've got more RAM, especially because I can't add any after the fact. I'd never get less than 512GB for storage, but that's just me. I try all kinds of things that sometime require a lot of local storage. 

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, phoenixdogfan said:

    Based on this thread, I'm looking very carefully at a Mac Mini M1. 

     

    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

     

     

     

    Capture.JPG

    Share this comment


    Link to comment
    Share on other sites

    3 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 an OCTO Dac 8, and the DAC on my Motu M4 hopefully perfect lip synched withtthe 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.

     

    If I can't get this to work digitally with software, I do have an A16 Realizer which will output up to 16 channels of  rendered Atmos, DTS-x, and/ or Auro 3D.  However, it does not even have provision for adjusting individual speaker loudness.  I could take care of that probably by using some kind of mixing board.  (Behringer sells one for around $300), but I would miss out on the DSP Dirac Live provides, and I would probably still want to use my higher fidelity 5.1 home theater coming off the PC into the OCTO, so I would probably need extensive switching to adjust whether the output to the amps came from the Realizer/Behringer or the OCTO.

     

    qL885Zo.jpg

    3 hours ago, bbosler said:

     

     

     

    Capture.JPG

     

    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...