Author Topic: Add AC4 audio compatibility to MusicBee  (Read 327 times)

sveakul

  • Hero Member
  • *****
  • Posts: 3300
Windows 11 x64 is not delivered with Dolby AC-4 audio capability;  likewise, Un4seen does not offer a bass_ac4 DLL.  Rather than wait on un4seen, the path here is to add it to W11's WMF codecs, which MusicBee defaults to when it can't find a BASS format plugin.

1.  Download Dolby_AC3_AC4_Installer.zip
2.  Extract and run only DolbyLaboratories.DolbyAC4DecoderOEM_1.0.0.0_neutral_~_rz1tebttyb220 (1).AppxBundle
3.  Restart your PC (may not be necessary)
4.  In MusicBee's main folder open Configuration.xml in a text editor, and in the <SupportedFiles> section add the line:
Code
<FileExtension Value=".ac4" TagFormats="2" Codec="0" />
5.  Open MusicBee;  it will now play *.AC4 audio files (non-fragmented).  From MediaInfo with 2 ch. stereo test file:

Audio
ID                                       : 1
Format                                   : AC-4
Format/Info                              : Audio Coding 4
Commercial name                          : Dolby AC-4
Format version                           : Version 2
Codec ID                                 : ac-4
Duration                                 : 32 s 0 ms
Bit rate                                 : 64.1 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 25.000 FPS (1920 SPF)
Compression mode                         : Lossy
Stream size                              : 250 KiB (3%)
Language                                 : English
Encoded date                             : 2020-09-07 08:10:56 UTC
Tagged date                              : 2020-09-07 08:10:56 UTC
NOK                                      : tools_metadata
I-Frame interval                         : 25 frames
Number of presentations                  : 1
NumberOfGroups                           : 1
Number of substreams                     : 1
Presentation #1                          : Stereo Main
 Presentation ID                         : 0
 Dialogue normalization                  : -23.00
 Loudness                                : Yes
  Integrated loudness (level gated)      : -23.0 LKFS
  Audio Loudness Standard                : EBU R128
  Realtime loudness corrected            : No
  Dialogue corrected                     : No
 Dynamic Range Control                   : Yes
  E-AC-3 DRC profile                     : Film standard
  Home theater AVR                       : Film light
  Flat panel TV                          : Film standard
  Portable speakers                      : Film standard
  Portable headphones                    : Film standard
 Group #s                                : 1
Group #1                                 : Main
 Content classifier                      : Main
 Channel coded                           : Yes
 Number of substreams                    : 1
 Substream #s                            : 1
Substream #1                             : Stereo
 Channel mode                            : Stereo
 Channel layout                          : L R
 Preprocessing                           : Yes
  Phase 90 Filer Info 2-ch               : Not applied
 Dialogue enhancement                    : Yes
  Enabled                                : Yes
  Max gain                               : 9 dB
  Channel configuration                  : L R

An off-topic note on AC-3 audio:  Dobly AC3 was delivered with Windows but pulled as of Win11 24H2.  AFAIK AC4 was never delivered by default.  PC's that were upgraded in place to 24H2 did not have AC3 removed.  You can play AC3 audio files in any current MusicBee in any Windows version by adding bass_ac3.dll from un4seen (https://www.un4seen.com/files/z/2/bass_ac324.zip).