EAC and AAC (neroAac): Difference between revisions

From Hydrogenaudio Knowledgebase
No edit summary
m (add sort)
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{stub}}
{{EAC guides|sort=AAC}}
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.


This page is a compression gude 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 [http://www.exactaudiocopy.de/en/index.php/support/faq/ the EAC FAQ] or in the [http://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options#External_Compression EAC Compression Options guide].


= 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 16: Line 17:
* Click the '''External Compression''' Tab, and put a check box in '''use external program for compression'''.
* 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 '''Parameter Passing Scheme''' to '''User Defined Encoder'''.
* Change '''Use file extension''' to '''.m4a'''  
* Change '''Use file extension''' to '''.m4a''' or '''.mp4'''
'''Note: Remember to use .m4a extension so that ITunes can read your metadata tags!'''
'''Note: Remember to use .m4a extension so that ITunes can read your metadata tags!'''
* Click the '''Browse''' button and locate the '''neroaacenc.exe''' that you unzipped earlier.
 
* Remove the ticks from '''Use CRC check''', '''Add ID3 tag''' and '''check for external programs return code'''.
* Remove the ticks from '''Use CRC check''', '''Add ID3 tag''' and '''check for external programs return code'''.
* In the '''Additional command line options''' box, copy and paste one of the below strings based on the Tag you would prefer.
* 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.
   
   
No Tags:  
== Compress without metadata tagging ==
;Path for compression:
C:\path\to\neroaacenc.exe


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


Metadata Tags:
=== For EAC 1.0 beta 2 onwards ===
:;Additional command-line options:
'''<font style="color:green">-q 0.5</font>''' -if %source% -of %dest%


'''Note: The information is below is incomplete and needs to verified correctly'''
== Compress and set metadata tags ==
[[File:Eac-compr.jpg|thumb|right|320px|Compression Settings Dialog (F11 key)]]
;Path for compression:
C:\Windows\system32\cmd.exe


<div style="margin-left:30px; margin-right:30px;">path for compression: C:\Windows\system32\cmd.exe
=== For older versions of EAC ===
</div>
:;Additional command-line options:
/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""


additional commands:
=== For EAC 1.0 beta 2 onwards ===
<div style="margin-left:30px; margin-right:30px;">/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"
:;Additional command-line options:
</div>
/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 '''path''' and '''to''' to wherever you have placed the executable above. The above code invokes the windows command-line and tells EAC how to properly encode and tag your files. You can replace the '''-q''' value with a value from 0.05 to 0.95 (any fractions in between are acceptable) for what bitrate corresponds with what quality level [http://www.hydrogenaudio.org/forums/index.php?showtopic=44310 read here]  
:* 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 '''-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 [http://www.hydrogenaudio.org/forums/index.php?showtopic=44310] or [http://wiki.hydrogenaudio.org/index.php?title=NeroAAC#Quality.2Fbitrate_control] for what bitrate corresponds with what quality level
::* For <code>-2pass</code> mode, a target bitrate needs to be set. In <code>-2pass</code> mode, <code>-q</code> option is not allowed.


IMAGE NEEDED 
=== For <code>-2pass</code> mode and minimized cmd windows ===
: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:
:<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>


== External links ==
== External links ==
Line 46: 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:Guides]]
[[Category:EAC Guides]]
[[Category:EAC Guides]]
[[Category:EAC Compression Guides]]
[[Category:EAC External Compression Guides]]
[[Category:EAC and AAC]]

Latest revision as of 20:32, 21 October 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