EAC and AAC (neroAac): Difference between revisions

From Hydrogenaudio Knowledgebase
m (Korth moved page EAC and AAC to EAC and AAC (neroAac): add neroAac to title)
m (fix download link, add quotes to command-line options, add categories)
Line 5: Line 5:


= Software Needed =
= Software Needed =
* [http://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]
* [https://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]
* [http://www.nero.com/eng/nero-aac-codec.html Nero AAC 1.1.34.2]
* [https://www.rarewares.org/rrw/neroaac.php Nero AAC]


= Installation =
= Installation =
Line 26: Line 26:
== Compress without metadata tagging ==
== Compress without metadata tagging ==
;Path for compression:
;Path for compression:
<div style="margin-left:30px; margin-right:30px;">C:\path\to\neroaacenc.exe</div>
C:\path\to\neroaacenc.exe


;Additional command-line options:
=== For older versions of EAC ===
<div style="margin-left:30px; margin-right:30px;">'''<font style="color:green">-q 0.5</font>''' -if %s -of %d</div>
:;Additional command-line options:
'''<font style="color:green">-q 0.5</font>''' -if %s -of %d
 
=== For EAC 1.0 beta 2 onwards ===
:;Additional command-line options:
'''<font style="color:green">-q 0.5</font>''' -if %source% -of %dest%


== Compress and set metadata tags ==
== Compress and set metadata tags ==
[[File:Eac-compr.jpg|thumb|right|320px|Compression Settings Dialog (F11 key)]]
[[File:Eac-compr.jpg|thumb|right|320px|Compression Settings Dialog (F11 key)]]
;Path for compression:
;Path for compression:
<div style="margin-left:30px; margin-right:30px;">C:\Windows\system32\cmd.exe</div>
C:\Windows\system32\cmd.exe


=== For older versions of EAC ===
=== For older versions of EAC ===
:;Additional command-line options:
:;Additional command-line options:
:<code>/c C:\path\to\neroaacenc.exe '''<font style="color:green">-q 0.425</font>''' -if %s -of %d && C:\path\to\neroaactag.exe %d -meta:artist="%a" -meta:album="%g" -meta:track="%n" -meta:title="%t" -meta:genre="%m" -meta:year="%y"</code>
/c ""<font style="color:darkorange">'''C:\path\to'''</font>\neroaacenc.exe" '''<font style="color:green">-q 0.425</font>''' -if %s -of %d && "<font style="color:darkorange">'''C:\path\to'''</font>\neroaactag.exe" %d -meta:artist="%a" -meta:album="%g" -meta:track="%n" -meta:title="%t" -meta:genre="%m" -meta:year="%y""


=== For EAC 1.0 beta 2 onwards ===
=== For EAC 1.0 beta 2 onwards ===
:;Additional command-line options:
:;Additional command-line options:
:<code>/c C:\path\to\neroaacenc.exe -q 0.425 -if %source% -of %dest% && C:\path\to\neroaactag.exe %dest% -meta:artist="%artist%" -meta:album="%albumtitle%" -meta:track="%tracknr%" -meta:title="%title%" -meta:genre="%genre%" -meta:year="%year%" %hascover%-add-cover:front:"%coverfile%"%hascover%</code>
/c ""<font style="color:darkorange">'''C:\path\to'''</font>\neroaacenc.exe" '''<font style="color:green">-q 0.425</font>''' -if %source% -of %dest% && "<font style="color:darkorange">'''C:\path\to'''</font>\neroaactag.exe" %dest% -meta:artist="%artist%" -meta:album="%albumtitle%" -meta:track="%tracknr%" -meta:title="%title%" -meta:genre="%genre%" -meta:year="%year%" %hascover%-add-cover:front:"%coverfile%"%hascover%"


:* You need to substitute '''C:\path\to''' by the location of neroaac*.exe files.
:* You need to substitute <font style="color:darkorange">'''C:\path\to'''</font> by the location of neroaac*.exe files.
:* The above code invokes the windows command-line and tells EAC how to properly encode and tag your files.
:* The above code invokes the windows command-line and tells EAC how to properly encode and tag your files.
:* The '''-q''' option controls compression quality. If it is omitted, it defaults to '''0.5'''.
:* The '''-q''' option controls compression quality. If it is omitted, it defaults to '''0.5'''.
Line 54: Line 59:


=== For <code>-2pass</code> mode and minimized cmd windows ===
=== For <code>-2pass</code> mode and minimized cmd windows ===
:This has been tested with EAC v1.0b4 and neroaacenc v1.5.4.0
:This has been tested with EAC v1.0b4 and neroaacenc v1.5.4.0 <font style="color:red">''(failed with Windows 11, EAC v1.8 and neroAac v1.5.4.0)</font>
:;Additional command-line options:
:;Additional command-line options:
:<code>/c <span style="color:gray">start /min /wait</span> C:\neroaacenc.exe -br 176000 -2pass -if "<span style="color:darkred">%source%</span>" -of "<span style="color:darkred">%dest%</span>" <span style="font-weight:bold">&&</span> <span style="color:gray">start /min /wait</span> C:\neroaactag.exe "<span style="color:darkred">%dest%</span>" -meta:artist="<span style="color:darkred">%artist%</span>" -meta:album="<span style="color:darkred">%albumtitle%</span>" -meta:track="<span style="color:darkred">%tracknr%</span>" -meta:totaltracks="<span style="color:darkred">%numtracks%</span>" -meta:disc="<span style="color:darkred">%cdnumber%</span>" -meta:totaldiscs="<span style="color:darkred">%totalcds%</span>" -meta:title="<span style="color:darkred">%title%</span>" -meta:genre="<span style="color:darkred">%genre%</span>" -meta:year="<span style="color:darkred">%year%</span>" -meta:comment="EACv1b4_neroaacenc_176k_2pass" <span style="color:red">%haslyrics%</span>-meta:lyrics="<span style="color:darkred">%lyrics%</span>"<span style="color:red">%haslyrics%</span> <span style="color:red">%hascover%</span>-add-cover:front:"<span style="color:darkred">%coverfile%</span>"<span style="color:red">%hascover%</span></code>
:<code>/c <span style="color:gray">start /min /wait</span> C:\neroaacenc.exe -br 176000 -2pass -if "<span style="color:darkred">%source%</span>" -of "<span style="color:darkred">%dest%</span>" <span style="font-weight:bold">&&</span> <span style="color:gray">start /min /wait</span> C:\neroaactag.exe "<span style="color:darkred">%dest%</span>" -meta:artist="<span style="color:darkred">%artist%</span>" -meta:album="<span style="color:darkred">%albumtitle%</span>" -meta:track="<span style="color:darkred">%tracknr%</span>" -meta:totaltracks="<span style="color:darkred">%numtracks%</span>" -meta:disc="<span style="color:darkred">%cdnumber%</span>" -meta:totaldiscs="<span style="color:darkred">%totalcds%</span>" -meta:title="<span style="color:darkred">%title%</span>" -meta:genre="<span style="color:darkred">%genre%</span>" -meta:year="<span style="color:darkred">%year%</span>" -meta:comment="EACv1b4_neroaacenc_176k_2pass" <span style="color:red">%haslyrics%</span>-meta:lyrics="<span style="color:darkred">%lyrics%</span>"<span style="color:red">%haslyrics%</span> <span style="color:red">%hascover%</span>-add-cover:front:"<span style="color:darkred">%coverfile%</span>"<span style="color:red">%hascover%</span></code>
Line 62: Line 67:
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=44275&st=0 Forum thread of first release of Nero AAC encoder]the first official release of Nero AAC encoder on Hydrogenaudio.
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=44275&st=0 Forum thread of first release of Nero AAC encoder]the first official release of Nero AAC encoder on Hydrogenaudio.


[[Category:EAC Guides|AAC & EAC]]
[[Category:Guides]]
[[Category:EAC Compression Guides]]
[[Category:EAC Guides|AAC (neroAac) & EAC]]
[[Category:EAC Compression Guides|AAC (neroAac) & EAC]]
[[Category:EAC External Compression Guides|AAC (neroAac) & EAC]]
[[Category:EAC and AAC]]

Revision as of 20:59, 19 July 2024

This page is a compression guide for configuring Nero AAC encoder with EAC for greater encoding flexibility. This guide will allow you to create Nero AAC files that will be compatible with ITunes and your IPod or any other digital audio player capable of playing AAC files.

See the full list in the EAC FAQ or in the EAC Compression Options guide.

Software Needed

Installation

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

  • Unzip the chosen neroaacenc.exe build into the same directory that EAC is in (Note you can use regular build or the SSE optimized version that comes in the zip file).

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 check box in use external program for compression.
  • Change Parameter Passing Scheme to User Defined Encoder.
  • Change Use file extension to .m4a or .mp4

Note: Remember to use .m4a extension so that ITunes can read your metadata tags!

  • Remove the ticks from Use CRC check, Add ID3 tag and check for external programs return code.
  • In the Path for compression box, copy and paste one of the below strings.
  • In the Additional command line options box, copy and paste one of the below strings.

Compress without metadata tagging

Path for compression
C:\path\to\neroaacenc.exe

For older versions of EAC

Additional command-line options
-q 0.5 -if %s -of %d

For EAC 1.0 beta 2 onwards

Additional command-line options
-q 0.5 -if %source% -of %dest%

Compress and set metadata tags

Compression Settings Dialog (F11 key)
Path for compression
C:\Windows\system32\cmd.exe

For older versions of EAC

Additional command-line options
/c ""C:\path\to\neroaacenc.exe" -q 0.425 -if %s -of %d && "C:\path\to\neroaactag.exe" %d -meta:artist="%a" -meta:album="%g" -meta:track="%n" -meta:title="%t" -meta:genre="%m" -meta:year="%y""

For EAC 1.0 beta 2 onwards

Additional command-line options
/c ""C:\path\to\neroaacenc.exe" -q 0.425 -if %source% -of %dest% && "C:\path\to\neroaactag.exe" %dest% -meta:artist="%artist%" -meta:album="%albumtitle%" -meta:track="%tracknr%" -meta:title="%title%" -meta:genre="%genre%" -meta:year="%year%" %hascover%-add-cover:front:"%coverfile%"%hascover%"
  • You need to substitute C:\path\to by the location of neroaac*.exe files.
  • The above code invokes the windows command-line and tells EAC how to properly encode and tag your files.
  • The -q option controls compression quality. If it is omitted, it defaults to 0.5.
  • Lower values lead to lower quality and smaller files.
  • Higher values mean higher quality, but bigger files.
  • Any fraction between 0.05 to 0.95 are allowed.
  • See [1] or [2] for what bitrate corresponds with what quality level
  • For -2pass mode, a target bitrate needs to be set. In -2pass mode, -q option is not allowed.

For -2pass mode and minimized cmd windows

This has been tested with EAC v1.0b4 and neroaacenc v1.5.4.0 (failed with Windows 11, EAC v1.8 and neroAac v1.5.4.0)
Additional command-line options
/c start /min /wait C:\neroaacenc.exe -br 176000 -2pass -if "%source%" -of "%dest%" && start /min /wait C:\neroaactag.exe "%dest%" -meta:artist="%artist%" -meta:album="%albumtitle%" -meta:track="%tracknr%" -meta:totaltracks="%numtracks%" -meta:disc="%cdnumber%" -meta:totaldiscs="%totalcds%" -meta:title="%title%" -meta:genre="%genre%" -meta:year="%year%" -meta:comment="EACv1b4_neroaacenc_176k_2pass" %haslyrics%-meta:lyrics="%lyrics%"%haslyrics% %hascover%-add-cover:front:"%coverfile%"%hascover%

External links