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



    13 minutes ago, R1200CL said:


    By ethernet ? USB ?

     

    Is Anubis needed for this to work ?

    Merging stuff is based on Ethernet using Ravenna. 
     

    Anubis isn’t required specifically, but it’s probably the best. 

    Share this comment


    Link to comment
    Share on other sites

    On 3/24/2022 at 10:10 PM, El Guapo said:

    ...What I did was I use Audacity to record the DRP output...

    Guapo

     

    Hi Guapo, I'm playing around with outputting the audio to WAV files, enabling me to use any playback software I want, that accepts 12 channels. 

     

    Question: Do the channels for a 7.1.4 system get mapped correctly when saving the Audacity output as WAV?

     

    I see this screen when exporting the tracks, but I don't know if I need to change anything. There's no way to know which cannel is which.

     

    Screen Shot 2022-03-28 at 12.06.25 PM.jpg

    Share this comment


    Link to comment
    Share on other sites

    3 minutes ago, El Guapo said:

    Yes. You don't need to change anything when export the tracks from Audacity.

     

    In 7.1.4 the channel mapping is

    1L, 2R, 3C, 4LFE, 5Ls, 6Rs, 7Lrs, 8Rrs, 9Ltf, 10Rtf, 11Ltr, 12Rtr

     

    Thank you so much!

    Share this comment


    Link to comment
    Share on other sites

    One more question @El Guapo

     

    When capturing with Audacity, which file format are you saving to?

     

    WAV has file size limits of 4 GB. I want to save an entire album, then create a cue sheet. An entire album of 12 channel 48k will be quite large. 

     

     

    Screen Shot 2022-03-28 at 12.56.15 PM.png

    Screen Shot 2022-03-28 at 12.56.23 PM.png

    Screen Shot 2022-03-28 at 12.56.30 PM.png

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, The Computer Audiophile said:

    When capturing with Audacity, which file format are you saving to?

    WAV or AIFF or CAF. Only these three format can handle >8 channels.

     

    1 hour ago, The Computer Audiophile said:

    WAV has file size limits of 4 GB. I want to save an entire album, then create a cue sheet. An entire album of 12 channel 48k will be quite large.

    WAV and AIFF both have 4GB limits.🥲

    My workaround:

    1. Rip by chapter and in Audacity save to one of these format then make a playlist in HQPlayer. 

    2. Record the full album in Audacity then export to Apple Core Audio File (CAF). CAF has virtually no file size limit. QuickTime Player can open the CAF file and playback full channels (I tested 9.1.6 / 16ch with no problems).

    8CF451CF-8105-4E5F-9808-89DE42D585DF.thumb.jpeg.a7ebd34b5593a7f79303591215e0068f.jpeg

    Share this comment


    Link to comment
    Share on other sites

    27 minutes ago, El Guapo said:

    WAV or AIFF or CAF. Only these three format can handle >8 channels.

     

    WAV and AIFF both have 4GB limits.🥲

    My workaround:

    1. Rip by chapter and in Audacity save to one of these format then make a playlist in HQPlayer. 

    2. Record the full album in Audacity then export to Apple Core Audio File (CAF). CAF has virtually no file size limit. QuickTime Player can open the CAF file and playback full channels (I tested 9.1.6 / 16ch with no problems).

    8CF451CF-8105-4E5F-9808-89DE42D585DF.thumb.jpeg.a7ebd34b5593a7f79303591215e0068f.jpeg

     

    I'm trying W64 and R64 formats. they are both nearly identical to original WAV.

    Share this comment


    Link to comment
    Share on other sites

    So you played decoded atmos with JRiver?

     

    Now, if there also was video, say a concert bluray, can you merge the video with the decoded atmos, using something like Handbrake..?

     

    (mostly thinking out loud here..) 😇

    Share this comment


    Link to comment
    Share on other sites

    Great work Chris!

     

    Yes, as an audio only solution for Atmos, with this latest development, I'd say you nailed it! 

     

    But some (many) of us like video too..in my case, concert blurays especially..🙂 

     

    But which software to use for the merge..mkvtoolnix perhaps..?!?

     

    @El Guapo, hoping you're into video as well..any ideas on merging the audio and video..?

     

    Share this comment


    Link to comment
    Share on other sites

    Thx @El Guapo

     

    But what about us poor souls who don't use Mac..?

     

    Maybe should take a stab at building a Hackintosh..😇

    Share this comment


    Link to comment
    Share on other sites

    So my discs arrived today. haven't looked at it all but the packaging, book, etc look very nice

     

    however, even though it says it Atmos 24/96, my processor reports 48K. It reports 96K on the stereo and DTS mix. 

     

    Perhaps it is a setting on my Trinnov, but I think I tried them all, so can anyone confirm the disc is actually 24/96 in the Atmos mix?

    IMG_3505.jpg

    IMG_3506.jpg

    Share this comment


    Link to comment
    Share on other sites

    2 minutes ago, bbosler said:

    So my discs arrived today. haven't looked at it all but the packaging, book, etc look very nice

     

    however, even though it says it Atmos 24/96, my processor reports 48K. It reports 96K on the stereo and DTS mix. 

     

    Perhaps it is a setting on my Trinnov, but I think I tried them all, so can anyone confirm the disc is actually 24/96 in the Atmos mix?

    IMG_3505.jpg

    IMG_3506.jpg

    It’s 24/48

    Share this comment


    Link to comment
    Share on other sites

    we

    3 minutes ago, The Computer Audiophile said:

    It’s 24/48

     

    well that sucks. I spent $75 thinking I was getting a 96K mix as stated

     

    nice book but not why I bought it, guess I can send it back to Amazon.

     

    it does play about 10 dB louder from the DVD than it does from Apple Music for whatever that's worth

     

    Share this comment


    Link to comment
    Share on other sites

    2 minutes ago, bbosler said:

    we

     

    well that sucks. I spent $75 thinking I was getting a 96K mix as stated

     

    nice book but not why I bought it, guess I can send it back to Amazon.

     

    it does play about 10 dB louder from the DVD than it does from Apple Music for whatever that's worth

     

    Yeah, the Apple Music presentation is quite different from the TrueHD one. 
     

    I ripped the TrueHD (not Atmos) Guns N’ Roses Appetite for Destruction blu-ray today. Tons of good info in the book about who mixed and mastered the tracks. Even says the source of the high resolution material. 

    Share this comment


    Link to comment
    Share on other sites

    By the way, Amazon describes Abbey Road as “Dolby Atmos, 96kHz/24 bit high resolution stereo, and 96 kHz/24 bit DTS-HD Master Audio 5.1.”  So, no promise there of 24/96 Atmos. 
     

    They gotcha in the fine print. JCR 

    Share this comment


    Link to comment
    Share on other sites

    12 minutes ago, jrobbins50 said:

    They gotcha in the fine print. JCR 

     

    I read it as Dolby Atmos, 96kHz/24 bit

     

    I see it now.... thanks, I guess 🙁

    Share this comment


    Link to comment
    Share on other sites

    For

    20 hours ago, retro said:

    Thx @El Guapo

     

    But what about us poor souls who don't use Mac..?

     

    Maybe should take a stab at building a Hackintosh..😇

    So i used in earlier a times a tool called tsmuxer which muxed almost everthing together, even subtitles and wand wav64 and so on. There is a opensource (wasn`t before) version available which is maintained on github. You can inform yourself here:

    https://forum.doom9.org/showthread.php?t=176668

     

    These guys are really good there and it is also available for windows.

    Share this comment


    Link to comment
    Share on other sites

    2 hours ago, Me2 said:

    For

    So i used in earlier a times a tool called tsmuxer which muxed almost everthing together, even subtitles and wand wav64 and so on. There is a opensource (wasn`t before) version available which is maintained on github. You can inform yourself here:

    https://forum.doom9.org/showthread.php?t=176668

     

    These guys are really good there and it is also available for windows.

     

    Thx Me2!

     

    Checked it out a bit and it seems useful for muxing video and audio together, however I couldn't find anything about delaying video. Maybe you know?

    Or if I'm asking everybody, what Win software is capable of delaying the videostream similar to FinalCutPro on Mac...? This is not something I'm familiar with..

     

    Share this comment


    Link to comment
    Share on other sites

    10 hours ago, Me2 said:

    For

    So i used in earlier a times a tool called tsmuxer which muxed almost everthing together, even subtitles and wand wav64 and so on. There is a opensource (wasn`t before) version available which is maintained on github. You can inform yourself here:

    https://forum.doom9.org/showthread.php?t=176668

     

    These guys are really good there and it is also available for windows.

    I think the real issue is nearly all of the players, even the best VLC, support up to 8 audio channels max for playback. So far I could only use QuickTime Player to playback movie in fullscreen mode with 16 audio channels...

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