How to Play 5.1 Dolby Digital Audio in QuickTime Mac OS X




Introduction: How to Play 5.1 Dolby Digital Audio in QuickTime Mac OS X

In this Instructable, I will show you how to play multi-channel Dolby Digital (AC-3) audio in QuickTime 7 or QuickTime X, and bitstream it over a fibre optic Toslink (S/PDIF) cable, to you amplifier.

Instructional Video:

Step 1: Download and Install the Software

Step 2: Configure Perian

1: Open System Preferences, and select Perian.

2: Under audio options, select the audio output popup menu, and select 'Stereo' (not 'Multi-Channel Output').

3: Close System Preferences.

Step 3: Audio MIDI Setup

1: Insert your Toslink cable into the headphone output on your computer. This may require a Mini Toslink to Toslink adaptor (if you have a Mac Pro or Power Mac G5, then insert it into the Toslink output).

2: Open Audio MIDI Setup, located in the utilities folder, in the applications folder.

3: Under audio output, set the format to 48kHz (48000Hz) and 2ch-24bit (don't select encoded digital audio). Most video files will be 48kHz, but some are 44.1kHz, if this is the case, you will need to change the format in Audio MIDI Setup, to 44.1kHz (44100Hz).

Step 4: Enable Dolby Digital (AC3) Passthrough

1: Open: /Users/(Administrator Acount)/Library/Preferences/com.cod3r.a52codec.plist.
E.G: /Users/Home/Library/Preferences/com.cod3r.a52codec.plist.

2: Select twoChannelMode (if the value is set to 1, then set it to 0), and click new sibling.

3: Rename the new sibling as attemptPassthrough.

4: Change the class from string to number.

5: Change the value from 0 to 1.

6: Save changes and quit.

Step 5: Play the Video

1: Open the video file with QuickTime, and set the volume to full (in QuickTime).

2: The movie should be a .mov file. It will not work if it ends with something else. You will just hear a fluttering sound.
E.G: If the file ends with .m4v, open it with QuickTime Pro or QuickTime X and save (not export) the movie, as a QuickTime movie.

If you still hear the fluttering sound, then go back to Audio MIDI Setup, and change the format to 44.1kHz (44,100 Hz).

Look at your amplifier, if it says Dolby Digital, and shows all channels, then everything worked correctly. Except, if you hear a weird channel layout, E.G: the surround left channel coming out of the center speaker, then you need to fix the channel layout.

Step 6: Fix Channel Layout

1: Open the movie with QuickTime Pro.

2: Open the movie properties, by holding Command and pressing J.

3: Select the audio track (Surround).

4: Click the audio settings tab.

5: You can now fix the channel layout. Two usual correct layouts are:
1 Left
2 Right
3 Center
4 LFE Screen (Subwoofer)
5 Left Surround
6 Right Surround.

1 Center
2 Left
3 Right
4 Left Surround
5 Right Surround
6 LFE Screen (Subwoofer)

6: Save the movie and enjoy.


Art of Sound Contest

Participated in the
Art of Sound Contest

Be the First to Share


    • Lamps Challenge

      Lamps Challenge
    • Rice & Grains Challenge

      Rice & Grains Challenge
    • CNC and 3D Printing Contest

      CNC and 3D Printing Contest



    8 years ago on Introduction

    You can also use Free Mac Media Player play AC3 Audio easily. Free Mac Media Player is the best AC3 player software, supporting all Mac models (including iMac, Macbook Pro, Air, Mac mini, and Mac Pro). Its universal performance also refers to all media formats of movie, video, audio, music, and picture, including DVD, VideoCD, MOV, MKV, AVI, FLV, WMV, MP4, MPEG, RMVB, MP3, WMA, AAC, etc. With DTS 5.1 supported, it can output audios of AC3 or other media formats at a high level.


    8 years ago on Introduction

    AC3 is a kind of file type that is primarily associated with 'AC3 Audio File Format' by Dolby Laboratories. Some apps like VLC, Perian can’t use the AC3 codec due to copyright issue. And it is not strange at all if you get to know that Dolby Digital audio AC3 is a paid audio codec. But there are player software really can do this work for Mac, that is Macgo Mac Blu-ray Player.