EAC and ALAC (refalac): Difference between revisions

From Hydrogenaudio Knowledgebase
(→‎Configuration: Add pic, Add Image+CUE section, 'No Tag' options, fix command-line options)
m (fix headings, move note to panel)
 
Line 1: Line 1:
{{EAC guides}}{{Locked‏‎}}
{{EAC guides}}{{Locked‏‎}}
===Software Needed===
= Software Needed =


* [https://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]
* [https://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]
* [https://github.com/nu774/qaac/releases qaac - CLI QuickTime AAC/ALAC encoder]
* [https://github.com/nu774/qaac/releases qaac - CLI QuickTime AAC/ALAC encoder]


===Installation===
= Installation =


'''Note:''' This guide assumes that EAC has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.
'''Note:''' This guide assumes that EAC has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.
Line 11: Line 11:
* Uncompress the zip archive into a directory (e.g. C:\qaac). Alternatively you can uncompress '''refalac.exe''' for 32-bit or '''refalac64.exe''' for 64-bit into the EAC program directory.
* Uncompress the zip archive into a directory (e.g. C:\qaac). Alternatively you can uncompress '''refalac.exe''' for 32-bit or '''refalac64.exe''' for 64-bit into the EAC program directory.


=== Configuration ===
= Configuration =


* Open EAC and insert a CD into the drive.
* Open EAC and insert a CD into the drive.
Line 37: Line 37:
* Do not worry about the bit rate is shown in the bit rate drop down box; this will be ignored, as will the quality setting below it.
* Do not worry about the bit rate is shown in the bit rate drop down box; this will be ignored, as will the quality setting below it.


==== Copy Image & Create CUE Sheet ====
== Copy Image & Create CUE Sheet ==


When extracting to an Image & CUE Sheet, the Tags (artist, album, track titles, etc.) are located in the CUE Sheet so you don't need to tag the Image.  
When extracting to an Image & CUE Sheet, the Tags (artist, album title, track titles, track numbers, etc.) are located in the CUE Sheet so you don't need to tag the Image.  
Note: There is also a BUG in EAC where Track#2 information is used for all track related placeholders when you Copy Image & Create CUE Sheet.
{{panel|title=Note:|There is a BUG in EAC where Track#2 information is used for all track related [[EAC_placeholders|placeholders]] when you use {{code|[Test & ]Copy Image & Create CUE Sheet > Compressed...}}. If you do decide to tag the Image, make sure to only use placeholders that are intended for the entire CD.|color=yellow}}


No Tags:
No Tags:
Line 48: Line 48:
  <font style="color:DarkOrange">%hascover%--artwork "%coverfile%"%hascover%</font> -o %dest% %source%
  <font style="color:DarkOrange">%hascover%--artwork "%coverfile%"%hascover%</font> -o %dest% %source%


===refalac command line usage===
= refalac command line usage =


* [https://github.com/nu774/qaac/wiki/refalac-usage refalac usage]
* [https://github.com/nu774/qaac/wiki/refalac-usage refalac usage]

Latest revision as of 14:09, 12 August 2024

Software Needed

Installation

Note: This guide assumes that EAC has been configured for secure ripping, if not please follow 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 refalac.exe for 32-bit or refalac64.exe for 64-bit into the EAC program directory.

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 (alternately you can use .mp4).
  • Click the Browse button and locate the refalac.exe or refalac64.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 examples‎:
--title "%title%" --artist "%artist%" --band "%albumartist%" --album "%albumtitle%" --genre "%genre%" --date "%year%" --track "%tracknr%/%numtracks%" -o %dest% %source%

Includes disk, lyrics, and cover tags:

--title "%title%" --artist "%artist%" --band "%albumartist%" --album "%albumtitle%" --genre "%genre%" --date "%year%" --track "%tracknr%/%numtracks%" --disk "%cdnumber%/%totalcds%" %haslyrics%--lyrics "%lyrics%"%haslyrics% %hascover%--artwork "%coverfile%"%hascover% -o %dest% %source%
  • Note: Remember that you cannot change the compression level for ALAC.
  • refalac and refalac64 share much of the code and functionalities with QAAC and work very similar to QAAC -A.
  • Unlike QAAC, refalac and refalac64 DO NOT require Apple Application Support components.
  • Unlike QAAC, refalac and refalac64 DO NOT require a codec specifier option such as -A.
refalac
  • Do not worry about the bit rate is shown in the bit rate drop down box; this will be ignored, as will the quality setting below it.

Copy Image & Create CUE Sheet

When extracting to an Image & CUE Sheet, the Tags (artist, album title, track titles, track numbers, etc.) are located in the CUE Sheet so you don't need to tag the Image.

No Tags:

-o %dest% %source%

No Tags (except for the cover):

%hascover%--artwork "%coverfile%"%hascover% -o %dest% %source%

refalac command line usage