title
Products            Buy            Support Forum            Professional            About            Codec Central
 

ALAC Multi-Channel Header Corruption Details

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KurianOfBorg
    • Nov 2013
    • 2

    ALAC Multi-Channel Header Corruption Details

    I discovered the following when converting multi-channel FLAC (4 channels: front left, front right, back left, back right) to ALAC.

    1. The first and most serious issue is that the header is invalid. The "atom size" before the 2nd 'alac' tag has to be 0x24 in all cases according to the ALAC magic cookie specification. When encoding a multi-channel file, dBpoweramp sets it to an incorrect value such as 0x3C. This corrupts the file and it cannot be read by any player including dBpoweramp.
    2. Secondly, ALAC does not support the above 4 channel mapping at all. The converted file uses an incorrect mapping (C L R Cs) which is the only 4 channel mapping supported by ALAC. dBpoweramp must either block such conversions or remix it into a compatible ALAC mapping such as 6 channel with silent audio. Additionally these converted 4 channel files cannot even be converted back into WAV (even after fixing the header); It just outputs a truncated file. However, converted 6 channel files can be converted back to WAV (after fixing the header).
  • Spoon
    Administrator
    • Apr 2002
    • 43888

    #2
    Re: ALAC Multi-Channel Header Corruption Details

    Which ALAC encoder are you using? the one with R14.4?
    Spoon
    www.dbpoweramp.com

    Comment

    • KurianOfBorg
      • Nov 2013
      • 2

      #3
      Re: ALAC Multi-Channel Header Corruption Details

      Originally posted by Spoon
      Which ALAC encoder are you using? the one with R14.4?
      Yes.

      Comment

      Working...

      ]]>