Difference between revisions of "EAC and AAC"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m
m (For EAC 1.0 beta 2 onwards: use hascover as well, since adding an empty cover messes up tag reading)
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}
+
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].
  
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.  
+
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 =
 
= Software Needed =
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;">C:\path\to\neroaacenc.exe</div>
  
<div style="margin-left:30px; margin-right:30px;">'''<font style="color:green">-q 0.5</font>''' -if %s -of %d
+
;Additional command-line options:
</div>
+
<div style="margin-left:30px; margin-right:30px;">'''<font style="color:green">-q 0.5</font>''' -if %s -of %d</div>
  
Metadata Tags:
+
== Compress and set metadata tags ==
 +
[[File:Eac-compr.jpg|thumb|right|320px|Compression Settings Dialog (F11 key)]]
 +
;Path for compression:
 +
<div style="margin-left:30px; margin-right:30px;">C:\Windows\system32\cmd.exe</div>
  
'''Note: The information is below is incomplete and needs to verified correctly'''
+
=== For older versions of EAC ===
 +
:;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>
  
<div style="margin-left:30px; margin-right:30px;">path for compression: C:\Windows\system32\cmd.exe
+
=== For EAC 1.0 beta 2 onwards ===
</div>
+
:;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>
  
additional commands:
+
:* You need to substitute '''C:\path\to''' by the location of neroaac*.exe files.
<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"
+
:* The above code invokes the windows command-line and tells EAC how to properly encode and tag your files.
</div>
+
:* 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.
  
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]
+
=== For <code>-2pass</code> mode and minimized cmd windows ===
 
+
:This has been tested with EAC v1.0b4 and neroaacenc v1.5.4.0
IMAGE NEEDED 
+
:;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 ==
 
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=44310 Sticky thread] this thread show's you how to use Nero AAC encoder with various program for Windows.
 
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=44310 Sticky thread] this thread show's you how to use Nero AAC encoder with various program for Windows.
 
* [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]]

Revision as of 11:18, 30 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

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
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