EAC and AAC (neroAac): Difference between revisions

From Hydrogenaudio Knowledgebase
m (→‎Configuration: add howto on using 2pass mode of neroaacenc and using minimized cmd windows that do not clutter windows' user interface while converting)
Line 16: Line 16:
* 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:
<div style="margin-left:30px; margin-right:30px;">'''<font style="color:green">-q 0.5</font>''' -if %s -of %d
<div style="margin-left:30px; margin-right:30px;">C:\path\to\neroaacenc.exe</div>
</div>
 
 
Metadata Tags:


''Path for compression:''
;Additional command-line options:
<div style="margin-left:30px; margin-right:30px;">C:\Windows\system32\cmd.exe
<div style="margin-left:30px; margin-right:30px;">'''<font style="color:green">-q 0.5</font>''' -if %s -of %d</div>
</div>


''additional command-line options:''
== Compress and set metadata tags ==
;Path for compression:
<div style="margin-left:30px; margin-right:30px;">C:\Windows\system32\cmd.exe</div>


- for older versions of EAC:
=== For older versions of EAC ===
<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>
:<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>


- for EAC 1.0 beta 2 onwards:
=== For EAC 1.0 beta 2 onwards ===
<div style="margin-left:30px; margin-right:30px;">
:;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%" -add-cover:front:%coverfile%
:<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%" -add-cover:front:%coverfile%</code>
</div>


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] or [http://wiki.hydrogenaudio.org/index.php?title=NeroAAC#Quality.2Fbitrate_control here]
:* 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 [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.


[[File:Eac-compr.jpg]]
=== For <code>-2pass</code> mode an minimized cmd windows ===
:This has been tested with EAC v1.0b4 and neroaacenc v1.5.4.0
:;Additional command-line options:
:<code>/c start /min /wait cmd /c C:\neroaacenc.exe -br 176000 -2pass -if "%source%" -of "%dest%" && 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="encoded with EAC [v1.0b4] and neroaacenc -br 176000 -2pass [v1.5.4.0]" -meta:lyrics="%lyrics%" -add-cover:front:"%coverfile%"</code>


== External links ==
== External links ==

Revision as of 02:35, 28 March 2015

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

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.

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
Additional command-line options
-q 0.5 -if %s -of %d

Compress and set metadata tags

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%" -add-cover:front:%coverfile%
  • 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 an minimized cmd windows

This has been tested with EAC v1.0b4 and neroaacenc v1.5.4.0
Additional command-line options
/c start /min /wait cmd /c C:\neroaacenc.exe -br 176000 -2pass -if "%source%" -of "%dest%" && 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="encoded with EAC [v1.0b4] and neroaacenc -br 176000 -2pass [v1.5.4.0]" -meta:lyrics="%lyrics%" -add-cover:front:"%coverfile%"

External links