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



    1 hour ago, El Guapo said:

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

    I think Jriver is able to play until 32 discrete channels depending on the output device

     

    https://wiki.jriver.com/index.php/Output_Format

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, Me2 said:

    I think Jriver is able to play until 32 discrete channels depending on the output device

    Yes. JRiver could playback movie with 16ch audio to my Merging device directly. But I don't know which part I missed I just couldn't put the "virtual audio interface" like BlackHole or Dolby Audio Bridge in the audio path. Such issue not allows me to route the audio into HQPlayer as DSP. So I didn't put JRiver on my list.

    Share this comment


    Link to comment
    Share on other sites

    6 hours ago, El Guapo said:

    Yes. JRiver could playback movie with 16ch audio to my Merging device directly. But I don't know which part I missed I just couldn't put the "virtual audio interface" like BlackHole or Dolby Audio Bridge in the audio path. Such issue not allows me to route the audio into HQPlayer as DSP. So I didn't put JRiver on my list.

    That's strange.. Any chance u could start a thread in JRiver's forum..?

    Share this comment


    Link to comment
    Share on other sites

    Still hoping for an "easy" way to get the video into this as well. 

    Anyone working on this? 

    Share this comment


    Link to comment
    Share on other sites

    Find this very interesting.  There is probably a way to get two dacs to run on a Windows 10 Box.  ASR had a thread a while back on this.

     

    https://www.audio “science” review/forum/index.php?threads/how-to-use-2-dacs-on-1-windows-10-pc-with-separate-peq-profiles.20935/

     

    My interest in this would be along the lines of using my Windows set up to play Atmos movies from the streaming services--Netflix, Vudu, and HBO.  Will the Dolby Reference Player running on Windows 10 accept streaming input from these services (yes, I know they're DD+ and not Dolby True HD) and how do I set that up?

    Share this comment


    Link to comment
    Share on other sites

    6 minutes ago, phoenixdogfan said:

    Find this very interesting.  There is probably a way to get two dacs to run on a Windows 10 Box.  ASR had a thread a while back on this.

     

    https://www.audio “science” review/forum/index.php?threads/how-to-use-2-dacs-on-1-windows-10-pc-with-separate-peq-profiles.20935/

     

    My interest in this would be along the lines of using my Windows set up to play Atmos movies from the streaming services--Netflix, Vudu, and HBO.  Will the Dolby Reference Player running on Windows 10 accept streaming input from these services (yes, I know they're DD+ and not Dolby True HD) and how do I set that up?

    A Mac will decode DD+ with Apple Music. I wonder if it will decode streaming TV. 
     

    The Dolby Reference Player is a file player only. No input routing. The Dolby renderer has routing. 

    Share this comment


    Link to comment
    Share on other sites

    2 minutes ago, The Computer Audiophile said:

    I wonder if it will decode streaming TV.

    In my experience the web streaming services on Mac are 2ch (I have no idea why). Only TV app can playback DD+ ATMOS contents.

     

    On Windows there's some streaming service apps like Netflix or Disney+ can provide 5.1 contents. But if you want to playback streaming ATMOS movies on Windows you need an AVR. Windows doesn't have DD+ built-in.

    Share this comment


    Link to comment
    Share on other sites

    35 minutes ago, phoenixdogfan said:

    There is probably a way to get two dacs to run on a Windows 10 Box.

    On a Mac you can locate all of your USB DACs to make an aggregate device and mapping the audio channel for Dolby 5.1, 7.1 or ATMOS in PCM mode thru Audio MIDI Setup.

    Share this comment


    Link to comment
    Share on other sites

    Has anyone tried to install the iOS apps on Apple Silicon desktop? I run some iOS apps on mine but haven’t tried Netflix etc..,

    Share this comment


    Link to comment
    Share on other sites

    4 minutes ago, The Computer Audiophile said:

    install the iOS apps on Apple Silicon desktop?

    I tried and it seemed like only HBO Max iOS app available on Apple Silicon desktop. Netflix and D+ were locked by content providers.

    Share this comment


    Link to comment
    Share on other sites

    4 minutes ago, El Guapo said:

    I tried and it seemed like only HBO Max iOS app available on Apple Silicon desktop. Netflix and D+ were locked by content providers.

    I just installed Amazon Prime Movies on my Mac. 

    Share this comment


    Link to comment
    Share on other sites

    2 minutes ago, The Computer Audiophile said:

    I just installed Amazon Prime Movies on my Mac.

    Gonna try Amazon Prime when I get home.😁 (Not a subscriber yet.)

    Share this comment


    Link to comment
    Share on other sites

    So there are no renderers able to decode Atmos streaming content (Netflix, Amazon Prime, Apple TV+, Vudu, HBO Max) on either a Windows or Mac.  For the record, Netflix does indeed offer Atmos content on its Windows desktop app

     

    https://www.flatpanelshd.com/news.php?subaction=showfull&id=1518160755#:~:text=Besides Xbox One and LG,app%2C the company has confirmed.

     

    So I know Netflix Windows desktop does indeed output Windows content, JRiver can indeed process far in excess of 8 channels, mixing programs like Voicemeter can route to two discrete DACS.  Seems like the only missing piece is a renderer to take the bitstream and output PCM.  No options in either Windows or Apple for Atmos streaming?

    Share this comment


    Link to comment
    Share on other sites

    3 minutes ago, phoenixdogfan said:

    No options in either Windows or Apple for Atmos streaming?

    Current version of macOS and 2019 or later hardware can decode DD+ ATMOS streaming content in system level. I always use Music app for ATMOS music and TV app for ATMOS movies. Confirmed 7.1.4 output to my Merging device.

    Share this comment


    Link to comment
    Share on other sites

    I guess "in system level" means you can hook up headphones or a sound bar directly to the computer, and hear ATMOS that way, but you can't send it via USB to a DAC?

     

    The app on your TV will stream Atmos via HDMI to an ATMOS AV receiver, or control center, but not to a USB DAC like an Octo 8, or a Motu Ultralite 5.  

     

    I'm not at all familiar with Merging Anubis.  Seems like it goes even deeper down this rabbit hole than I'm currently inclined to go.

    Share this comment


    Link to comment
    Share on other sites

    8 hours ago, phoenixdogfan said:

    you can't send it via USB to a DAC?

    Certainly you can. After you install virtual interface like BlackHole or connect to physical multichannel DACs.

     

    And you can even aggregate all your USB DACs as physical output channels. Current macOS has the ability to decode DD+ ATMOS to multichannel PCM then send to your DACs. Here's the example: 

    So far I have one additional USB DAC in hand (I'm in biz travel). I can aggregate one 2ch headphone amp (connected to MBP's headphone out), one 2ch USB DAC, and an 8ch Anubis to do the full ATMOS 7.1.4, 12 channels physical output. I designated these three physical output devices as: MBP's headphone out was ch1 and 2, USB DAC was ch3 and 4, my Anubis was ch5 to ch12. If you have multiple 2ch DACs you can do the same. macOS will recognize it and decode DD+ ATMOS for you.

    791020728_Image2022-4-5at9_39AM.thumb.jpg.137292d4c562f5c03135d002fb7b0213.jpg265723579_Image2022-4-5at9_39AM.thumb.jpg.7cc2e20bd7f72d2cdc8eacf87410e8bf.jpg

    The problem of this setup: No volume controls. You have to adjust the volume on your DACs separately. If you use 4 DACs to make 5.1.2 or 6 DACs to make 7.1.4 that'll be very painful, even some premium DACs don't have volume control... I'd suggest you to find a multichannel pre-amp to do this job.

     

    Alternative way is use Loopback app to make a software volume control route. Use BlackHole as default output in System Pref Pane, then route it to the previous aggregate device. Then you can use macOS's volume control.

    1802872991_Image2022-4-5at9_11AM.thumb.jpg.42fe6ccb4263d00b2526fc3a495ffa25.jpg 

     

    Since every DAC has its own latency, using aggregate technique please be cautious that might worsen your listening experience. I just want to prove Mac has DD+ ATMOS decoding capabilities when you install virtual interface or connected to multichannel DACs.

    Share this comment


    Link to comment
    Share on other sites

    Thanks for this.  I've always been a Windows guy.  Shame same capability is not offered there.  This may become next year's project for me.

    Share this comment


    Link to comment
    Share on other sites

    1 hour ago, retro said:

    Any new ideas to get the video part as well..? 

    Reassemble video and 16 audio tracks in DaVinci Resolve and playback from it? 🤔🤔

    Share this comment


    Link to comment
    Share on other sites

    6 hours ago, El Guapo said:

    Reassemble video and 16 audio tracks in DaVinci Resolve and playback from it? 🤔🤔

     

    Thanks for replying @El Guapo.

    I just downloaded the manual for DaVinci Resolve. It has 3981 pages....🤯

     

    Have you used this program and maybe know if it's the right tool for the job..?

    Share this comment


    Link to comment
    Share on other sites

    So how much processing power does all this eat up?  Would a Mac Mini be sufficient?  If so, would 8 gb of ram be enough, or would 16 be needed?  And what about Windows?   What would be needed there in terms of processor and memory?

    Share this comment


    Link to comment
    Share on other sites

    52 minutes ago, phoenixdogfan said:

    So how much processing power does all this eat up?

    My 2020 Intel i5 13" MacBook Pro is adequate to do the Blu-ray ripping, Atmos decoding + audio recording at the same time and video editing + playback. But I personally prefer HQPlayer Embedded to do the DSP (room correction) and upsampling to multichannel DSD256 so I setup a 12th Gen Intel i9 12900K server for it. The latter one is optional tho.

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