EAC and AAC (qaac)

From Hydrogenaudio Knowledgebase
Revision as of 15:24, 21 July 2024 by Korth (talk | contribs) (Restoring some previously removed edits made by User:Mike2718 while re-editing with more detail as necessary)

Software Needed

Installation

Note: This guide assumes that EAC has been configured for secure ripping, if not please review this guide.

  • Download the latest version of qaac - CLI QuickTime AAC/ALAC encoder
  • Uncompress the zip archive into a directory (e.g. C:\qaac). Alternatively you can uncompress just the files from the x64 directory (64-bit) or just the files from the x86 directory (32-bit) into a directory (e.g. C:\qaac).
  • Check for Apple Application Support
    If you believe that you already have the required Apple Application Support (e.g. iTunes installed) you can run this check:
    1. Open a command prompt window (press ⊞ Win+R, then type cmd and press ↵ Enter).
    2. Change directory to where the qaac or qaac64 file is located (e.g. type cd\qaac and press ↵ Enter).
    3. Type qaac64.exe --check (for 64-bit) or type qaac.exe --check (for 32-bit) and press ↵ Enter.
      A version number should be displayed.
  • If you do not already have the required Apple Application Support
    You can install iTunes.
    1. Download iTunes64Setup.exe (64-bit) or iTunesSetup.exe (32-bit) and install.
    2. Run the check for Apple Application Support above.
  • Alternative to installing iTunes
    It is possible to extract the necessary Apple Application Support files without installing iTunes.
    1. Install 7-zip, if not already installed (the script used below requires it).
    2. Download iTunes64Setup.exe (64-bit) or iTunesSetup.exe (32-bit) and move to the directory where you extracted the x64 (64-bit) or the x86 (32-bit) qaac files above.
    3. Download makeportable2.cmd and move to the same directory.
    4. Double-click on the makeportable2.cmd file.
    5. The script will create a new subdirectory (\QTfiles64 or \QTfiles) in the same directory.
    6. Run the check for Apple Application Support above.
      If all is working as expected, makeportable2.cmd, iTunesSetup.exe, and/or iTunes64Setup.exe are no longer needed.

Configuration

  • Open EAC and insert a CD into the drive.
  • Click the EAC menu and select Compression Options.
  • Click the External Compression Tab, and put a tick in the box for use external program for compression.
  • Change Parameter Passing Scheme to User Defined Encoder.
  • Change Use file extension to .m4a (you could alternately use .mp4 (though not recommended)).
  • Click the Browse button and locate the qaac.exe or qaac64.exe that you unzipped earlier.
  • Remove the ticks from Use CRC check and Add ID3 tag.
  • Tick Check for external programs return code.
  • If you are using EAC 1.0b2 or newer, then in the Additional command line options box, copy and paste from the following example(s):‎

AAC ABR (Small file size):

--title "%title%" --artist "%artist%" --band "%albumartist%" --album "%albumtitle%" --genre "%genre%" --date "%year%" --track "%tracknr%/%numtracks%" -a 96 -q 1 %source% -o %dest% 

AAC ABR (iTunes High Quality):

--title "%title%" --artist "%artist%" --band "%albumartist%" --album "%albumtitle%" --genre "%genre%" --date "%year%" --track "%tracknr%/%numtracks%" -a 128 -q 1 %source% -o %dest% 

AAC True VBR mode (90):

--title "%title%" --artist "%artist%" --band "%albumartist%" --album "%albumtitle%" --genre "%genre%" --date "%year%" --track "%tracknr%/%numtracks%" -V90 %source% -o %dest% 

AAC Constrained VBR mode (iTunes Plus):

--title "%title%" --artist "%artist%" --band "%albumartist%" --album "%albumtitle%" --genre "%genre%" --date "%year%" --track "%tracknr%/%numtracks%" -v 256 -q 2 %source% -o %dest% 

AAC Constrained VBR mode (Maximum Quality):

--title "%title%" --artist "%artist%" --band "%albumartist%" --album "%albumtitle%" --genre "%genre%" --date "%year%" --track "%tracknr%/%numtracks%" -v 0 -q 2 %source% -o %dest% 

qaac command line usage