<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KaiKemmann</id>
	<title>Hydrogenaudio Knowledgebase - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KaiKemmann"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/KaiKemmann"/>
	<updated>2026-06-13T22:26:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26650</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26650"/>
		<updated>2016-06-20T16:57:20Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* Technical information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| logo = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| screenshot =&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.99&lt;br /&gt;
| preview_release = 3.100&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website], Download site: [http://www.rarewares.org/mp3-lame-bundle.php Rarewares LAME-bundle]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality MP3 encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--extra whitespace here to provide a margin for the Table of Contents--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources.&amp;lt;ref&amp;gt;dist10 is the rudimentary &amp;quot;demonstration&amp;quot; MP3 encoder described in the MPEG-2 standard, ISO/IEC 13818.&amp;lt;/ref&amp;gt; That branch (a patch against the reference sources) became LAME 2.0. By the release of LAME 3.81, all dist10 code was removed, making LAME a completely new program, not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid &amp;amp; high bitrates, and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, and others. Development is ongoing.&lt;br /&gt;
&lt;br /&gt;
Although LAME is generally considered to be an encoder, according to the LAME technical FAQ, it&#039;s technically not an encoder, but rather is officially just &amp;quot;a development project which uses the open source model to improve MP3 technology.&amp;quot; This improved technology is only released in source code form in order to minimize the risk of violating patents. When the source code is compiled and distributed, it &#039;&#039;may&#039;&#039; require a license from Thomson, depending on where and how it&#039;s to be used. The LAME project&#039;s position is &amp;quot;Source code is considered as speech, which may contain descriptions of patented technology. Descriptions of patents are in the public domain.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
LAME source code is maintained in a CVS repository, and the only official codebase for public use is the trunk code tagged &amp;quot;MAIN&amp;quot;. There are also numerous experimental branches of this code in which the developers test new ideas. One of these branches was started after the release of LAME 3.92 in 2002. To keep it from being confused with LAME 3.93 alpha versions, the code was made to self-identify as LAME 4.0 alpha 1 (in late 2002) through 4.0 alpha 14 (since 2005). This code is mainly for the developers to test optimizations and architectural changes in LAME&#039;s foundational code, ideas that may eventually be used in the main branch if and when development actually begins on LAME 4.0. However, some members of the public used this code to build working copies of &amp;quot;LAME 4.0&amp;quot; alpha versions in 2003-2005. These should not be considered actual LAME 4.0 releases and the developers do not want public feedback on them, nor do they want any more public builds to be made from this branch.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
Avoid using alpha versions of LAME. These versions have &amp;quot;a&amp;quot; in their version string and are usually only for testing changes and new features, and may result in lower quality MP3s. Use them only if you want to help the developers and provide feedback.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with LAME for highest quality MP3 encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #F0F0F0; color: black; border: 1px solid black; margin: 1em; padding: 1em 2em 1em 2em;&amp;quot;&amp;gt;&lt;br /&gt;
====Maximum quality and archiving====&lt;br /&gt;
&lt;br /&gt;
Maximum quality is achieved when, regardless of listening conditions, you are unable to detect a difference between the MP3 and the original. As demonstrated by blind [[ABX]] tests, LAME-encoded MP3s typically achieve this level of [[transparency]] when encoded with the default settings, at bitrates well below maximum. Encoding with higher-bitrate settings will have no effect on the perceived quality.&lt;br /&gt;
&lt;br /&gt;
For archiving, only [[lossless]] formats like [[WavPack]], [[FLAC]], etc. are ideal; they will preserve the audio with no changes, sample-for-sample, regardless of encoder settings. In contrast, lossy formats like MP3 are designed to save space by changing the audio in subtle, often imperceptible ways, even at the encoder&#039;s maximum settings.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with best file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~245 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~225 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
These [[VBR]] settings will normally produce [[transparency|transparent]] results. Audible differences between these presets may exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with maximum file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; is an alternative to the VBR settings above.&lt;br /&gt;
&lt;br /&gt;
This [[CBR]] mode will maximize the MP3&#039;s bitrate and overall file size. The extra space may allow for some parts of the audio to be compressed with fewer sacrifices, but to date, no one has produced ABX test results demonstrating that perceived quality is ever better than the highest VBR profiles described above.&amp;lt;ref&amp;gt;Prior to version 3.99, CBR and VBR modes were encoded differently by LAME. In some unusual problem samples, these differences were sometimes audible, even at very high bitrates. Current versions of LAME encode CBR and VBR with the same psychoacoustic model, so such differences shouldn&#039;t arise from normal use.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;listening in noisy conditions, lower bitrate, smaller file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~165 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Understanding the bitrate settings==&lt;br /&gt;
MP3s are divided into frames, each frame being a particular size, expressed as a [[bitrate]]. If the bitrate of every frame is the same throughout the file, then the file is considered to be &#039;&#039;constant bit rate&#039;&#039; ([[CBR]]). Otherwise, it is &#039;&#039;variable bit rate&#039;&#039; ([[VBR]]). LAME offers CBR and VBR encoding modes, as well as a special VBR encoding mode called [[ABR]] (&#039;&#039;average bit rate&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===VBR (variable bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VBR is best used to target a specific quality level, instead of a specific bitrate. The final file size of a VBR encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V &amp;amp;lt;number&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;number&amp;gt; is between 0 and 9, 0 being highest quality, 9 being the lowest. (Note: The &amp;quot;V&amp;quot; has to be a capital letter.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fractional values are also accepted, with 9.999 being the absolute lowest quality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2.75&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 and higher, as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your command line to use that mode.&lt;br /&gt;
&lt;br /&gt;
The target bitrate and actual typical bitrate for each VBR quality level is shown in the [[#Technical information|Technical details for recommended LAME settings]] section below.&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use ABR or CBR modes, described below.&lt;br /&gt;
&lt;br /&gt;
===ABR (average bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between VBR and CBR modes, ABR encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use ABR when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits. The output is an ordinary VBR file compatible with all MP3 players that support VBR; ABR is not a special type of file, just a LAME-specific strategy for producing VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) is a value between 8 and 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;ABR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===CBR (constant bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. CBR encoding is not efficient. Whereas VBR and ABR modes can supply more bits to complex music passages and save bits on simpler ones, CBR encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
CBR is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced. There is still some variability in bitrate behind the scenes, through LAME&#039;s use of the [[bit reservoir]] feature of the MP3 format, but it is much less flexible than actual VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;CBR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] (VBR &amp;gt; ABR &amp;gt; CBR in terms of quality). However, [[ABX]] tests demonstrate that as bitrate increases, the perceptual differences diminish, with all modes generally reaching [[transparency]] well before their maximum settings; when you can&#039;t tell the difference, the modes are qualitatively the same.&lt;br /&gt;
&lt;br /&gt;
* In terms of filesize [[VBR]] tends to produce the smallest files down to -V7. For lower quality (e.g. for non-music audio such as speech) [[ABR]] will produce smaller files than [[VBR]], starting from --abr 115.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the MP3 standard, and the resulting MP3s should be playable by every MP3 decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Prior to LAME 3.98, the &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enabled the new VBR mode. This is now the default VBR mode, with the old mode being available via &amp;lt;code&amp;gt;--vbr-old&amp;lt;/code&amp;gt;. In terms of quality, the new mode appears to be better than the old, but reports of artifacts when using the new mode do exist. Despite these possible issues, the new mode is currently recommended due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
===Recommended settings details===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
! style=&amp;quot;vertical-align: bottom&amp;quot; | Switch !! style=&amp;quot;vertical-align: bottom&amp;quot; | Preset !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Target Kbps !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Typical Kbps&amp;lt;ref&amp;gt;Typical bitrates are mostly based on the results of testing with LAME 3.98.2.&amp;lt;/ref&amp;gt; !! style=&amp;quot;width: 6em; vertical-align: bottom&amp;quot; | [[LAME Y switch|Y Switch]] enabled by default !! style=&amp;quot;vertical-align: bottom&amp;quot; | Lowpass&amp;lt;ref&amp;gt;This range is the transition band of the lowpass filter. Signal components are at full intensity at the lower frequency. Higher frequencies are attenuated on a slope which reaches zero at (and beyond) the high end of the given range. Further info can be found [http://www.hydrogenaud.io/forums/index.php?s=&amp;amp;showtopic=106868&amp;amp;view=findpost&amp;amp;p=874354 in the HA forum].&amp;lt;/ref&amp;gt; !! style=&amp;quot;vertical-align: bottom&amp;quot; | Resample !! style=&amp;quot;width: 6em; vertical-align: bottom&amp;quot; | Formerly Known As&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | Y&amp;lt;ref&amp;gt;CBR mode uses &amp;lt;code&amp;gt;-Y&amp;lt;/code&amp;gt; in effect; see the [[LAME Y switch]] article.&amp;lt;/ref&amp;gt; || || || api&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset extreme&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~240 || style=&amp;quot;text-align: center&amp;quot; | 220–260 || || || || ape or apx&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 1&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~220 || style=&amp;quot;text-align: center&amp;quot; | 190–250 || || style=&amp;quot;text-align: center&amp;quot; | 19383 Hz – 19916 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset standard&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~190 || style=&amp;quot;text-align: center&amp;quot; | 170–210 || || style=&amp;quot;text-align: center&amp;quot; | 18671 Hz – 19205 Hz || || aps&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 3&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~170 || style=&amp;quot;text-align: center&amp;quot; | 150–195 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17960 Hz – 18494 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 4&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset medium&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~160 || style=&amp;quot;text-align: center&amp;quot; | 140–185 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17249 Hz – 17782 Hz || || apm&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 5&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~130 || style=&amp;quot;text-align: center&amp;quot; | 120–150 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 16538 Hz – 17071 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 6&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~120 || style=&amp;quot;text-align: center&amp;quot; | 100–130 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 15115 Hz – 15648 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 7&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~100 || style=&amp;quot;text-align: center&amp;quot; | 80–120 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 14581 Hz – 14968 Hz || style=&amp;quot;text-align: right&amp;quot; | 32000 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 8&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~80 || style=&amp;quot;text-align: center&amp;quot; | 70–105 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 12516 Hz – 12903 Hz || style=&amp;quot;text-align: right&amp;quot; | before LAME 3.99: 32000 Hz,&amp;lt;br&amp;gt; from 3.99 on: 24000 Hz&amp;lt;ref&amp;gt;[https://www.dm-com.com/dmwissen/audiocds-auslesen-und-komprimieren/mp3-kompression-mit-lame/ Mario Dehler] (German), 13th of june 2014&amp;lt;/ref&amp;gt;    ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 9&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~70 || style=&amp;quot;text-align: center&amp;quot; | 45–85 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 9336 Hz – 9602 Hz || style=&amp;quot;text-align: right&amp;quot; | 24000 Hz ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The default lowpass settings were not chosen at random; for general use, they are as high as they can be without putting quality at risk. Raising the the cutoff via command-line options is not recommended. See the [[high-frequency content in MP3s]] article for more info.&lt;br /&gt;
&lt;br /&gt;
===Fraunhofer decoder incompatibility===&lt;br /&gt;
Differing interpretations of an unclear portion of the MP3 spec led to a Windows-specific version of the Fraunhofer IIS MP3 decoder being unable to properly play certain MP3s created with certain versions of LAME.&lt;br /&gt;
&lt;br /&gt;
In order to demonstrate the problem, the problematic MP3 must have been created with LAME 3.97 or earlier, and must contain a frame with certain parameters and a very large amount of data, such as a 320-kbps frame which makes heavy use of the [[bit reservoir]]. The decoder must be the DirectShow filter &amp;lt;code&amp;gt;l3codecx.ax&amp;lt;/code&amp;gt; version 1.5.0 or lower, as used by Windows Media Player on versions of Windows prior to Windows Vista. An [http://support.microsoft.com/kb/2115168/en-us August 2010 security update] for Windows XP and Server 2003 upgraded this filter to version 1.6.0, which can play the problematic MP3s. Windows Vista shipped with the older version but Windows Media Player uses a different filter, and later versions of Windows don&#039;t have the old filter at all.&lt;br /&gt;
&lt;br /&gt;
A workaround was implemented in LAME 3.98.0 beta 1 through LAME 3.98.2, and in LAME 3.99 alpha 1, whereby 320-kbps frames were limited in how much of the bit reservoir they could use. This resulted in wasted space when the bit reservoir would grow beyond the limit. In LAME 3.98.3 and beyond, and in LAME 3.99 alpha 2 and beyond, the method was changed such that the bit reservoir can&#039;t grow beyond the limit.&lt;br /&gt;
&lt;br /&gt;
Related discussion threads:&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=40308 LAME high bitrate files in l3codeca.ax]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=78114 Lame 3.98 wastes bits]&lt;br /&gt;
&lt;br /&gt;
===VBR header and LAME tag===&lt;br /&gt;
&lt;br /&gt;
LAME supports the &#039;&#039;de facto&#039;&#039; standard of adding an extra frame of silence to the beginning of MP3 files. This &amp;quot;VBR header&amp;quot; or &amp;quot;Info tag&amp;quot; provides a home for precise info about the audio duration and a table of seek points. It is mainly for the benefit of players working with VBR files. Decoders usually treat the frame as informational, rather than playing the audio.&lt;br /&gt;
&lt;br /&gt;
LAME uses the Xing format for this header, and extends it by embedding a 20-byte &amp;quot;LAME tag&amp;quot; with additional info:&lt;br /&gt;
* a short version string (9 ASCII bytes; see [[LAME version string]])&lt;br /&gt;
* audio and info tag CRCs (since LAME 3.90)&lt;br /&gt;
* separate delay &amp;amp; padding values for gapless playback (since LAME 3.90)&lt;br /&gt;
* various encoder settings (since LAME 3.90, expanded in 3.94 to include presets)&lt;br /&gt;
&lt;br /&gt;
Prior to LAME 3.94, the VBR header was only written in VBR files. Since 3.94, it is written to CBR files, too, with &amp;quot;Info&amp;quot; instead of &amp;quot;XING&amp;quot; at the beginning.&lt;br /&gt;
&lt;br /&gt;
Details are in this wiki&#039;s [[MP3#VBRI, XING, and LAME headers|MP3 article]] and [[LAME version string]] article, and in LAME developer Gabriel Bouvigne&#039;s [http://gabriel.mp3-tech.org/mp3infotag.html MP3 Info Tag] documentation.&lt;br /&gt;
&lt;br /&gt;
===Hey! What happened to &amp;quot;--alt-preset&amp;quot;?===&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90. It was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions.&lt;br /&gt;
&lt;br /&gt;
Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, allowing finer control over the desired quality level and bitrate. The &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backward compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command-line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the table above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command-line options will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; &lt;br /&gt;
* &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[LAME Y switch|The -Y switch]]&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[CBR]]&lt;br /&gt;
* [[VBR]]&lt;br /&gt;
* [[ABR]]&lt;br /&gt;
* [[Exact Audio Copy]]&lt;br /&gt;
* [[EAC and Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
&amp;lt;!--ReallyRarewares and the rest of rjamorim.com is gone. If the content is back online, please restore &amp;amp; update these links.&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;br /&gt;
[[Category:MP3]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26649</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26649"/>
		<updated>2016-06-20T12:26:46Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| logo = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| screenshot =&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.99&lt;br /&gt;
| preview_release = 3.100&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website], Download site: [http://www.rarewares.org/mp3-lame-bundle.php Rarewares LAME-bundle]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality MP3 encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--extra whitespace here to provide a margin for the Table of Contents--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources.&amp;lt;ref&amp;gt;dist10 is the rudimentary &amp;quot;demonstration&amp;quot; MP3 encoder described in the MPEG-2 standard, ISO/IEC 13818.&amp;lt;/ref&amp;gt; That branch (a patch against the reference sources) became LAME 2.0. By the release of LAME 3.81, all dist10 code was removed, making LAME a completely new program, not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid &amp;amp; high bitrates, and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, and others. Development is ongoing.&lt;br /&gt;
&lt;br /&gt;
Although LAME is generally considered to be an encoder, according to the LAME technical FAQ, it&#039;s technically not an encoder, but rather is officially just &amp;quot;a development project which uses the open source model to improve MP3 technology.&amp;quot; This improved technology is only released in source code form in order to minimize the risk of violating patents. When the source code is compiled and distributed, it &#039;&#039;may&#039;&#039; require a license from Thomson, depending on where and how it&#039;s to be used. The LAME project&#039;s position is &amp;quot;Source code is considered as speech, which may contain descriptions of patented technology. Descriptions of patents are in the public domain.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
LAME source code is maintained in a CVS repository, and the only official codebase for public use is the trunk code tagged &amp;quot;MAIN&amp;quot;. There are also numerous experimental branches of this code in which the developers test new ideas. One of these branches was started after the release of LAME 3.92 in 2002. To keep it from being confused with LAME 3.93 alpha versions, the code was made to self-identify as LAME 4.0 alpha 1 (in late 2002) through 4.0 alpha 14 (since 2005). This code is mainly for the developers to test optimizations and architectural changes in LAME&#039;s foundational code, ideas that may eventually be used in the main branch if and when development actually begins on LAME 4.0. However, some members of the public used this code to build working copies of &amp;quot;LAME 4.0&amp;quot; alpha versions in 2003-2005. These should not be considered actual LAME 4.0 releases and the developers do not want public feedback on them, nor do they want any more public builds to be made from this branch.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
Avoid using alpha versions of LAME. These versions have &amp;quot;a&amp;quot; in their version string and are usually only for testing changes and new features, and may result in lower quality MP3s. Use them only if you want to help the developers and provide feedback.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with LAME for highest quality MP3 encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #F0F0F0; color: black; border: 1px solid black; margin: 1em; padding: 1em 2em 1em 2em;&amp;quot;&amp;gt;&lt;br /&gt;
====Maximum quality and archiving====&lt;br /&gt;
&lt;br /&gt;
Maximum quality is achieved when, regardless of listening conditions, you are unable to detect a difference between the MP3 and the original. As demonstrated by blind [[ABX]] tests, LAME-encoded MP3s typically achieve this level of [[transparency]] when encoded with the default settings, at bitrates well below maximum. Encoding with higher-bitrate settings will have no effect on the perceived quality.&lt;br /&gt;
&lt;br /&gt;
For archiving, only [[lossless]] formats like [[WavPack]], [[FLAC]], etc. are ideal; they will preserve the audio with no changes, sample-for-sample, regardless of encoder settings. In contrast, lossy formats like MP3 are designed to save space by changing the audio in subtle, often imperceptible ways, even at the encoder&#039;s maximum settings.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with best file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~245 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~225 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
These [[VBR]] settings will normally produce [[transparency|transparent]] results. Audible differences between these presets may exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with maximum file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; is an alternative to the VBR settings above.&lt;br /&gt;
&lt;br /&gt;
This [[CBR]] mode will maximize the MP3&#039;s bitrate and overall file size. The extra space may allow for some parts of the audio to be compressed with fewer sacrifices, but to date, no one has produced ABX test results demonstrating that perceived quality is ever better than the highest VBR profiles described above.&amp;lt;ref&amp;gt;Prior to version 3.99, CBR and VBR modes were encoded differently by LAME. In some unusual problem samples, these differences were sometimes audible, even at very high bitrates. Current versions of LAME encode CBR and VBR with the same psychoacoustic model, so such differences shouldn&#039;t arise from normal use.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;listening in noisy conditions, lower bitrate, smaller file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~165 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Understanding the bitrate settings==&lt;br /&gt;
MP3s are divided into frames, each frame being a particular size, expressed as a [[bitrate]]. If the bitrate of every frame is the same throughout the file, then the file is considered to be &#039;&#039;constant bit rate&#039;&#039; ([[CBR]]). Otherwise, it is &#039;&#039;variable bit rate&#039;&#039; ([[VBR]]). LAME offers CBR and VBR encoding modes, as well as a special VBR encoding mode called [[ABR]] (&#039;&#039;average bit rate&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===VBR (variable bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VBR is best used to target a specific quality level, instead of a specific bitrate. The final file size of a VBR encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V &amp;amp;lt;number&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;number&amp;gt; is between 0 and 9, 0 being highest quality, 9 being the lowest. (Note: The &amp;quot;V&amp;quot; has to be a capital letter.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fractional values are also accepted, with 9.999 being the absolute lowest quality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2.75&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 and higher, as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your command line to use that mode.&lt;br /&gt;
&lt;br /&gt;
The target bitrate and actual typical bitrate for each VBR quality level is shown in the [[#Technical information|Technical details for recommended LAME settings]] section below.&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use ABR or CBR modes, described below.&lt;br /&gt;
&lt;br /&gt;
===ABR (average bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between VBR and CBR modes, ABR encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use ABR when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits. The output is an ordinary VBR file compatible with all MP3 players that support VBR; ABR is not a special type of file, just a LAME-specific strategy for producing VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) is a value between 8 and 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;ABR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===CBR (constant bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. CBR encoding is not efficient. Whereas VBR and ABR modes can supply more bits to complex music passages and save bits on simpler ones, CBR encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
CBR is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced. There is still some variability in bitrate behind the scenes, through LAME&#039;s use of the [[bit reservoir]] feature of the MP3 format, but it is much less flexible than actual VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;CBR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] (VBR &amp;gt; ABR &amp;gt; CBR in terms of quality). However, [[ABX]] tests demonstrate that as bitrate increases, the perceptual differences diminish, with all modes generally reaching [[transparency]] well before their maximum settings; when you can&#039;t tell the difference, the modes are qualitatively the same.&lt;br /&gt;
&lt;br /&gt;
* In terms of filesize [[VBR]] tends to produce the smallest files down to -V7. For lower quality (e.g. for non-music audio such as speech) [[ABR]] will produce smaller files than [[VBR]], starting from --abr 115.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the MP3 standard, and the resulting MP3s should be playable by every MP3 decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Prior to LAME 3.98, the &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enabled the new VBR mode. This is now the default VBR mode, with the old mode being available via &amp;lt;code&amp;gt;--vbr-old&amp;lt;/code&amp;gt;. In terms of quality, the new mode appears to be better than the old, but reports of artifacts when using the new mode do exist. Despite these possible issues, the new mode is currently recommended due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
===Recommended settings details===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
! style=&amp;quot;vertical-align: bottom&amp;quot; | Switch !! style=&amp;quot;vertical-align: bottom&amp;quot; | Preset !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Target Kbps !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Typical Kbps&amp;lt;ref&amp;gt;Typical bitrates are mostly based on the results of testing with LAME 3.98.2.&amp;lt;/ref&amp;gt; !! style=&amp;quot;width: 6em; vertical-align: bottom&amp;quot; | [[LAME Y switch|Y Switch]] enabled by default !! style=&amp;quot;vertical-align: bottom&amp;quot; | Lowpass&amp;lt;ref&amp;gt;This range is the transition band of the lowpass filter. Signal components are at full intensity at the lower frequency. Higher frequencies are attenuated on a slope which reaches zero at (and beyond) the high end of the given range. Further info can be found [http://www.hydrogenaud.io/forums/index.php?s=&amp;amp;showtopic=106868&amp;amp;view=findpost&amp;amp;p=874354 in the HA forum].&amp;lt;/ref&amp;gt; !! style=&amp;quot;vertical-align: bottom&amp;quot; | Resample !! style=&amp;quot;width: 6em; vertical-align: bottom&amp;quot; | Formerly Known As&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | Y&amp;lt;ref&amp;gt;CBR mode uses &amp;lt;code&amp;gt;-Y&amp;lt;/code&amp;gt; in effect; see the [[LAME Y switch]] article.&amp;lt;/ref&amp;gt; || || || api&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset extreme&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~240 || style=&amp;quot;text-align: center&amp;quot; | 220–260 || || || || ape or apx&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 1&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~220 || style=&amp;quot;text-align: center&amp;quot; | 190–250 || || style=&amp;quot;text-align: center&amp;quot; | 19383 Hz – 19916 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset standard&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~190 || style=&amp;quot;text-align: center&amp;quot; | 170–210 || || style=&amp;quot;text-align: center&amp;quot; | 18671 Hz – 19205 Hz || || aps&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 3&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~170 || style=&amp;quot;text-align: center&amp;quot; | 150–195 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17960 Hz – 18494 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 4&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset medium&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~160 || style=&amp;quot;text-align: center&amp;quot; | 140–185 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17249 Hz – 17782 Hz || || apm&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 5&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~130 || style=&amp;quot;text-align: center&amp;quot; | 120–150 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 16538 Hz – 17071 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 6&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~120 || style=&amp;quot;text-align: center&amp;quot; | 100–130 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 15115 Hz – 15648 Hz || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 7&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~100 || style=&amp;quot;text-align: center&amp;quot; | 80–120 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 14581 Hz – 14968 Hz || style=&amp;quot;text-align: right&amp;quot; | 32000 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 8&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~80 || style=&amp;quot;text-align: center&amp;quot; | 70–105 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 12516 Hz – 12903 Hz || style=&amp;quot;text-align: right&amp;quot; | 32000 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 9&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~70 || style=&amp;quot;text-align: center&amp;quot; | 45–85 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 9336 Hz – 9602 Hz || style=&amp;quot;text-align: right&amp;quot; | 24000 Hz ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The default lowpass settings were not chosen at random; for general use, they are as high as they can be without putting quality at risk. Raising the the cutoff via command-line options is not recommended. See the [[high-frequency content in MP3s]] article for more info.&lt;br /&gt;
&lt;br /&gt;
===Fraunhofer decoder incompatibility===&lt;br /&gt;
Differing interpretations of an unclear portion of the MP3 spec led to a Windows-specific version of the Fraunhofer IIS MP3 decoder being unable to properly play certain MP3s created with certain versions of LAME.&lt;br /&gt;
&lt;br /&gt;
In order to demonstrate the problem, the problematic MP3 must have been created with LAME 3.97 or earlier, and must contain a frame with certain parameters and a very large amount of data, such as a 320-kbps frame which makes heavy use of the [[bit reservoir]]. The decoder must be the DirectShow filter &amp;lt;code&amp;gt;l3codecx.ax&amp;lt;/code&amp;gt; version 1.5.0 or lower, as used by Windows Media Player on versions of Windows prior to Windows Vista. An [http://support.microsoft.com/kb/2115168/en-us August 2010 security update] for Windows XP and Server 2003 upgraded this filter to version 1.6.0, which can play the problematic MP3s. Windows Vista shipped with the older version but Windows Media Player uses a different filter, and later versions of Windows don&#039;t have the old filter at all.&lt;br /&gt;
&lt;br /&gt;
A workaround was implemented in LAME 3.98.0 beta 1 through LAME 3.98.2, and in LAME 3.99 alpha 1, whereby 320-kbps frames were limited in how much of the bit reservoir they could use. This resulted in wasted space when the bit reservoir would grow beyond the limit. In LAME 3.98.3 and beyond, and in LAME 3.99 alpha 2 and beyond, the method was changed such that the bit reservoir can&#039;t grow beyond the limit.&lt;br /&gt;
&lt;br /&gt;
Related discussion threads:&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=40308 LAME high bitrate files in l3codeca.ax]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=78114 Lame 3.98 wastes bits]&lt;br /&gt;
&lt;br /&gt;
===VBR header and LAME tag===&lt;br /&gt;
&lt;br /&gt;
LAME supports the &#039;&#039;de facto&#039;&#039; standard of adding an extra frame of silence to the beginning of MP3 files. This &amp;quot;VBR header&amp;quot; or &amp;quot;Info tag&amp;quot; provides a home for precise info about the audio duration and a table of seek points. It is mainly for the benefit of players working with VBR files. Decoders usually treat the frame as informational, rather than playing the audio.&lt;br /&gt;
&lt;br /&gt;
LAME uses the Xing format for this header, and extends it by embedding a 20-byte &amp;quot;LAME tag&amp;quot; with additional info:&lt;br /&gt;
* a short version string (9 ASCII bytes; see [[LAME version string]])&lt;br /&gt;
* audio and info tag CRCs (since LAME 3.90)&lt;br /&gt;
* separate delay &amp;amp; padding values for gapless playback (since LAME 3.90)&lt;br /&gt;
* various encoder settings (since LAME 3.90, expanded in 3.94 to include presets)&lt;br /&gt;
&lt;br /&gt;
Prior to LAME 3.94, the VBR header was only written in VBR files. Since 3.94, it is written to CBR files, too, with &amp;quot;Info&amp;quot; instead of &amp;quot;XING&amp;quot; at the beginning.&lt;br /&gt;
&lt;br /&gt;
Details are in this wiki&#039;s [[MP3#VBRI, XING, and LAME headers|MP3 article]] and [[LAME version string]] article, and in LAME developer Gabriel Bouvigne&#039;s [http://gabriel.mp3-tech.org/mp3infotag.html MP3 Info Tag] documentation.&lt;br /&gt;
&lt;br /&gt;
===Hey! What happened to &amp;quot;--alt-preset&amp;quot;?===&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90. It was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions.&lt;br /&gt;
&lt;br /&gt;
Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, allowing finer control over the desired quality level and bitrate. The &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backward compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command-line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the table above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command-line options will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt; &lt;br /&gt;
* &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[LAME Y switch|The -Y switch]]&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[CBR]]&lt;br /&gt;
* [[VBR]]&lt;br /&gt;
* [[ABR]]&lt;br /&gt;
* [[Exact Audio Copy]]&lt;br /&gt;
* [[EAC and Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
&amp;lt;!--ReallyRarewares and the rest of rjamorim.com is gone. If the content is back online, please restore &amp;amp; update these links.&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;br /&gt;
[[Category:MP3]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_and_FLAC&amp;diff=26647</id>
		<title>EAC and FLAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_and_FLAC&amp;diff=26647"/>
		<updated>2016-06-15T15:14:35Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Software Needed =&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]&lt;br /&gt;
* [https://xiph.org/flac/download.html FLAC 1.2.1b]&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide assumes that EAC is has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.&lt;br /&gt;
* Install FLAC using the FLAC installer&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
* Open EAC and insert a CD into the drive.&lt;br /&gt;
* Click the &#039;&#039;&#039;EAC&#039;&#039;&#039; menu and select &#039;&#039;&#039;Compression Options&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;External Compression&#039;&#039;&#039; Tab, and put a tick in the box for &#039;&#039;&#039;use external program for compression&#039;&#039;&#039;.&lt;br /&gt;
* Change &#039;&#039;&#039;Parameter Passing Scheme&#039;&#039;&#039; to &#039;&#039;&#039;User Defined Encoder&#039;&#039;&#039;.&lt;br /&gt;
* Change &#039;&#039;&#039;Use file extension&#039;&#039;&#039; to &#039;&#039;&#039;.flac&#039;&#039;&#039; if not already that.&lt;br /&gt;
* Click the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and locate the &#039;&#039;&#039;FLAC.exe&#039;&#039;&#039; that you unzipped earlier.&lt;br /&gt;
* Remove the ticks from &#039;&#039;&#039;Use CRC check&#039;&#039;&#039; and &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;.&lt;br /&gt;
* Tick &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;.&lt;br /&gt;
* If you are using EAC 1.0b2 or newer, then in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
&lt;br /&gt;
 -T &amp;quot;artist=%artist%&amp;quot; -T &amp;quot;title=%title%&amp;quot; -T &amp;quot;album=%albumtitle%&amp;quot; -T &amp;quot;date=%year%&amp;quot; -T &amp;quot;tracknumber=%tracknr%&amp;quot; -T &amp;quot;genre=%genre%&amp;quot; &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-5&#039;&#039;&#039;&amp;lt;/font&amp;gt; %source% &lt;br /&gt;
&lt;br /&gt;
* If you are using EAC 1.0b1 or earlier, then in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
&lt;br /&gt;
 -T &amp;quot;artist=%a&amp;quot; -T &amp;quot;title=%t&amp;quot; -T &amp;quot;album=%g&amp;quot; -T &amp;quot;date=%y&amp;quot; -T &amp;quot;tracknumber=%n&amp;quot; -T &amp;quot;genre=%m&amp;quot; &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-5&#039;&#039;&#039;&amp;lt;/font&amp;gt; %s&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The green portion is where you would change the compression level.&amp;lt;/span&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
The range is -0 .. -8 (fastest compression .. highest compression; default is -5). Since Flac is always lossless the effect of the compression level is small and cannot be compared to the compression of lossy formats.&lt;br /&gt;
&lt;br /&gt;
* Do not worry what bit rate is shown in the bit rate drop down box; this will be ignored, as will the quality setting chosen below it.&lt;br /&gt;
&lt;br /&gt;
[[Image:EACandFLAC.png|frame|center|FLAC configured with tagging support, in an older version of EAC]]&lt;br /&gt;
&lt;br /&gt;
If you told the EAC configuration wizard to use FLAC, then the command-line options are preconfigured with the following default string. As compared to the string above, the order of parameters is different, more metadata fields are supported (harmless), the output filename is unnecessarily included (-o %dest%), and output verification is unnecessarily enabled (-V):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-6&#039;&#039;&#039;&amp;lt;/font&amp;gt; -V -T &amp;quot;ARTIST=%artist%&amp;quot; -T &amp;quot;TITLE=%title%&amp;quot; -T &amp;quot;ALBUM=%albumtitle%&amp;quot; -T &amp;quot;DATE=%year%&amp;quot; -T &amp;quot;TRACKNUMBER=%tracknr%&amp;quot; -T &amp;quot;GENRE=%genre%&amp;quot; -T &amp;quot;COMMENT=%comment%&amp;quot; -T &amp;quot;BAND=%albuminterpret%&amp;quot; -T &amp;quot;ALBUMARTIST=%albuminterpret%&amp;quot; -T &amp;quot;COMPOSER=%composer%&amp;quot; %haslyrics%--tag-from-file=LYRICS=&amp;quot;%lyricsfile%&amp;quot;%haslyrics% -T &amp;quot;DISCNUMBER=%cdnumber%&amp;quot; -T &amp;quot;TOTALDISCS=%totalcds%&amp;quot; -T &amp;quot;TOTALTRACKS=%numtracks%&amp;quot; %hascover%--picture=&amp;quot;%coverfile%&amp;quot;%hascover% %source% -o %dest%&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
Another guide to set up EAC (including some screenshots) by [http://www.saunalahti.fi/cse/EAC/index.html Case]&lt;br /&gt;
&lt;br /&gt;
= Cue Sheet &amp;amp; Image Problem =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Attention: This issue is aleady fixed in EAC V1.0 beta 3.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using this configuration with EAC when creating an image and cue sheet rip can cause the cue sheet not to work with the resulting FLAC file. The problem is caused by EAC not liking the four letter .flac extension, which results in EAC putting the extension on to the image name twice.&lt;br /&gt;
&lt;br /&gt;
e.g. the image name is referenced in the cue sheet as &amp;quot;myflacimage.flac&amp;quot; but after encoding it ends up being called &amp;quot;myflacimage.flac.flac&amp;quot;, so when you open the cue sheet for playing or burning, the referenced file doesen&#039;t exist.&lt;br /&gt;
&lt;br /&gt;
== Some solutions to the problem ==&lt;br /&gt;
* Synthetic Soul&#039;s [http://www.hydrogenaudio.org/forums/index.php?showtopic=37978 batch file method]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=REACT REACT] EAC addon.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:EAC Guides|FLAC &amp;amp; EAC]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26643</id>
		<title>EAC and Lame</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26643"/>
		<updated>2016-06-12T09:34:10Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Important note===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From EAC 1.0 beta 2, the replacement strings changed&#039;&#039;&#039;. For example:&lt;br /&gt;
* &amp;quot;%s&amp;quot; is now &amp;quot;%source%&amp;quot;&lt;br /&gt;
* &amp;quot;%d&amp;quot; is now &amp;quot;%dest%&amp;quot;&lt;br /&gt;
* &amp;quot;%a&amp;quot; is now &amp;quot;%artist%&amp;quot;&lt;br /&gt;
* &amp;quot;%l&amp;quot; is now &amp;quot;%islow%&amp;quot;&lt;br /&gt;
* &amp;quot;%h&amp;quot; is now &amp;quot;%ishigh%&amp;quot;&lt;br /&gt;
See the full list in the [http://wiki.hydrogenaud.io/index.php?title=EAC_placeholders EAC Placeholders] page, the [http://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options#External_compression EAC Compression Options guide] or in the original [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ].&lt;br /&gt;
&lt;br /&gt;
===Software Needed===&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME Recommended LAME version]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide has now been amended to reflect changes made to LAME as of 3.98.  --vbr-new is now the default setting and is no longer explicitly required.  In addition, non-standard genres are now handled more elegantly.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide assumes that EAC has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.&lt;br /&gt;
* Unzip the chosen LAME version into the same directory as EAC.&lt;br /&gt;
* If you would like to tag with APEv2 tags please download [http://www.rarewares.org/files/others/wapet.zip wapet.zip] and unzip it into the &#039;&#039;&#039;same folder&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===General Configuration===&lt;br /&gt;
&lt;br /&gt;
* Open EAC and insert a CD into the drive.&lt;br /&gt;
* Click the &#039;&#039;&#039;EAC&#039;&#039;&#039; menu and select &#039;&#039;&#039;Compression Options&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;External Compression&#039;&#039;&#039; Tab, and put a check box in &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;.&lt;br /&gt;
* Change &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039; to &#039;&#039;&#039;User Defined Encoder&#039;&#039;&#039; (see [http://www.hydrogenaudio.org/forums/index.php?showtopic=57617 this thread] for reasoning).&lt;br /&gt;
* Change &#039;&#039;&#039;Use file extension&#039;&#039;&#039; to &#039;&#039;&#039;.mp3&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and locate the &#039;&#039;&#039;lame.exe&#039;&#039;&#039; that you unzipped into the EAC directory earlier.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to tag with APEv2 tags using Wapet  please locate &#039;&#039;&#039;wapet.exe&#039;&#039;&#039;, not lame.exe.&lt;br /&gt;
* Don&#039;t worry which bit rate is shown in the &#039;&#039;&#039;Bit rate&#039;&#039;&#039; drop-down box, as this will not have any effect on the resultant MP3 file unless the %bitrate% placeholder is used (see end of the [[EAC_and_Lame#Advanced_Command_Line_Usage| Advanced Command Line Usage section]]).&lt;br /&gt;
* Don&#039;t worry about the &#039;&#039;&#039;Use CRC check&#039;&#039;&#039; setting; it won&#039;t affect the resultant MP3 file either.&lt;br /&gt;
* It&#039;s a good idea to tick &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Additional command line options===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;green&#039;&#039;&#039;&amp;lt;/font&amp;gt; portion in the examples following this section is where you configure the [[LAME#Encoder_Presets| LAME preset]].&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;%source%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%s&#039;&#039;&#039;) and &#039;&#039;&#039;%dest%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%d&#039;&#039;&#039;)  in the examples following this section are placeholders for EAC. &#039;&#039;&#039;%source%&#039;&#039;&#039; means &#039;&#039;&#039;source&#039;&#039;&#039; filename and  &#039;&#039;&#039;%dest%&#039;&#039;&#039; means &#039;&#039;&#039;destination&#039;&#039;&#039; filename.  These are absolutely necessary!&lt;br /&gt;
&lt;br /&gt;
* For specifics see the LAME [http://lame.cvs.sourceforge.net/viewvc/lame/lame/USAGE usage instructions].&lt;br /&gt;
&lt;br /&gt;
===Adding Tags===&lt;br /&gt;
&lt;br /&gt;
Note: Always use the &#039;&#039;&#039;[Test Encoder]&#039;&#039;&#039; Button to check your Command Line string. With EAC V1.0 beta 3 if you get a message: &amp;quot;Invalid replacement tag found !&amp;quot; try replacing&amp;lt;br&amp;gt; &lt;br /&gt;
each occurance of &amp;quot;%&amp;quot; with &amp;quot;%%&amp;quot; since you need to use double percent so one can be escaped and allow the second one to be passed to Lame.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let EAC create tags (Recommended)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To have EAC tag your files, tick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Create files with no tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you do not wish to have tags, untick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let Lame create tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer to have Lame tag the files based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;. This is recommended in the article about [http://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options#External_compression EAC Compression Options].&lt;br /&gt;
&lt;br /&gt;
Here are some examples providing different tag types:&lt;br /&gt;
&lt;br /&gt;
* ID3v1 only:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v1-only --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only :&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; %source% %dest%&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only (before EAC version 1.0b2 - for comparison):&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tg &amp;quot;%m&amp;quot; --tl &amp;quot;%g&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; &#039;&#039;&#039;%s %d&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v1 and ID3v2:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --add-id3v2 --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Automatic:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
With Automatic, ID3v1 will always be created.  If any ID3v1 field exceeds the length allowed by the ID3v1 specification then a complete ID3v2 tag will also be added.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Use Wapet to create APEv2 tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer instead to have APEv2 tags based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Creating APE tags requires [http://www.rarewares.org/files/others/wapet.zip wapet.exe]. Remember to browse for wapet.exe instead of lame.exe as the external encoding program. Also, lame.exe needs to be in the same directory as wapet.exe.&lt;br /&gt;
&lt;br /&gt;
Use the following string:&lt;br /&gt;
 &#039;&#039;&#039;%dest%&#039;&#039;&#039; -t &amp;quot;Artist=%artist%&amp;quot; -t &amp;quot;Title=%title%&amp;quot; -t &amp;quot;Album=%albumtitle%&amp;quot; -t &amp;quot;Year=%year%&amp;quot; -t &amp;quot;Track=%tracknr%/%numtracks%&amp;quot; -t &amp;quot;Genre=%genre%&amp;quot; LAME.exe &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Advanced Command Line Usage===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;%islow%...%islow%&#039;&#039;&#039;&amp;lt;/font&amp;gt; and &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;%ishigh%...%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholders are used to add text according to whether the High quality or Low quality radio button is selected, as shown below:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%%ishigh%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Therefore, if you select &#039;&#039;&#039;Low quality&#039;&#039;&#039;, EAC will invoke the LAME encoder with the following command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V5&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
..and if you select &#039;&#039;&#039;High quality&#039;&#039;&#039; EAC will invoke LAME with these command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V0&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You can access the bitrate value in the drop-down list using the &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholder, for example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So, if you selected &#039;&#039;&#039;192 kBit/s&#039;&#039;&#039; in the &#039;&#039;&#039;Bit Rate&#039;&#039;&#039; drop-down list, the command line would be:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;192&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is a generally accepted fact that the bitrate selected in the drop-down list doesn&#039;t affect the command line. In essence this is true, as it will not affect the command line &#039;&#039;unless you use the &#039;&#039;&#039;%bitrate%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%r&#039;&#039;&#039;) placeholder&#039;&#039;. However, the bitrate needs only be set when using ABR or CBR over VBR, which is not recommended for better quality audio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:EAC_LAME02.png|frame|center|LAME configured with ID3v1 tagging (and replacement strings used before EAC version 1.0 beta 2)]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:EAC Guides|LAME &amp;amp; EAC]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26642</id>
		<title>EAC Compression Options (Legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26642"/>
		<updated>2016-06-12T09:28:12Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* External compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[Exact Audio Copy]]’s &#039;&#039;&#039;compression options&#039;&#039;&#039; dialog (keyboard shortcut: F11) are found all options regarding the creating of [http://en.wikipedia.org/wiki/Audio_compression_(data) compressed audio files]. Here the user specifies how EAC is to behave when they press the &#039;&#039;MP3&#039;&#039; Button in the main window or select &#039;&#039;compressed&#039;&#039; items under the &#039;&#039;Action&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Note: many options are dependent on the codec or external compressor (encoder). So, often no clear recommendation can be given. It is important that the user has a general understanding of what these settings do and how they possibly change the behavior of EAC and/or the [[codec]]/external compressor.&lt;br /&gt;
&lt;br /&gt;
This article was recently updated to reflect changes introduced in EAC v1.0b2; however, the instructions for prior versions were retained for reference.&lt;br /&gt;
&lt;br /&gt;
=Waveform=&lt;br /&gt;
[[Image:EAC_Compression_options_Waveform.png|thumb|right|Example settings &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Waveform&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab allows you to select and choose the options for an internal [[codec]]. After audio data is read from the CD, EAC will pass it to the codec, and will write the codec&#039;s output to a file. Generally speaking, EAC’s internal codec support is for writing unusual [[WAV]] files (e.g. containing audio in the [[Adaptive Differential Pulse Code Modulation|ADPCM]] format or as a rare way of storing [[MP3]] data), although the options do allow for writing other formats.&lt;br /&gt;
&lt;br /&gt;
An internal codec is a [[Constant Bitrate|CBR]] (constant bit rate) audio converter library managed through the Windows Audio Compression Manager (ACM) legacy interface, and it typically has a filename ending in &amp;lt;code&amp;gt;.acm&amp;lt;/code&amp;gt;. Windows comes with a few such codecs installed already. These aren’t programs you run directly; they’re just converters invoked from within another program, e.g. EAC.&lt;br /&gt;
&lt;br /&gt;
All options are greyed out here if &#039;&#039;Use external program for compression&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is ticked. When using an external compressor, you of course cannot use an internal codec.&lt;br /&gt;
&lt;br /&gt;
Today, most people ripping music CDs don&#039;t use internal codecs; they use an external compressor, which is configured in the &#039;&#039;External Compression&#039;&#039; tab. An external compressor is a separate program that can be run directly from a command shell with various arguments telling it which file to compress, what tags to add, the output filename, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Wave format&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In this drop down box, all codecs installed on your system are listed. When new codecs are installed, they should show up in this list. The codec to choose depends on what should be achieved with the compression (sample format, compression ratio, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample format&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
With this option, different combinations of parameters for the compression and output format can be chosen, such as sample rate, resolution, mono/stereo. Which options are available here depends on the codec selected at the &#039;&#039;Wave format&#039;&#039; option (e.g. some codecs only support 4 bit resolution).&lt;br /&gt;
&lt;br /&gt;
If you were to choose &#039;&#039;Microsoft PCM Converter&#039;&#039; as the codec, and &#039;&#039;44,100 Hz, 16 Bit, Stereo&#039;&#039; as the output format, it would be the same as doing an [http://en.wikipedia.org/wiki/Red_Book_(CD_standard) uncompressed CD rip].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some formats (e.g. [[MP3]]) support [[ID3|ID3 tags]]. When this option is enabled, EAC will add these tags to the compressed files (only if the file format supports ID3 tags).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Do not write WAV header to file&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The codec only converts the audio data. EAC writes it to a file. This parameter determines whether to include a WAV header in the file.&lt;br /&gt;
&lt;br /&gt;
Although it has become a &#039;&#039;de facto&#039;&#039; standard that WAV files contain 16 bit, 44.1 kHz stereo PCM audio data (as on audio CDs), what actually makes an audio file a WAV file is not the format of the audio data itself but the presence of a WAV header at its beginning. The header specifies which data chunk(s) are in the file (normally there&#039;s just a single chunk consisting of all the audio), info about what format it’s in, and possibly some other rudimentary metadata. When such a header is present, EAC will ensure the output filename ends with &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you have chosen a codec that outputs PCM data, then you probably &#039;&#039;do&#039;&#039; want a WAV header and filename ending in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, so this option should be enabled. But if you have chosen a codec that outputs MP3 or Ogg Vorbis data, then the WAV header is optional, and in fact is probably not what you want, unless you have a specific need to put the compressed audio into a WAV file.&lt;br /&gt;
&lt;br /&gt;
For example, if you choose an MP3 codec, and you have this option disabled, then you&#039;ll generate an ordinary MP3 file, and therefore you should enter &amp;lt;code&amp;gt;.mp3&amp;lt;/code&amp;gt; in the next box (&#039;&#039;file extension for headerless files&#039;&#039;) to make sure it has a helpful filename. But if you choose an MP3 codec and you have this option enabled, then you&#039;ll generate an MP3 file that begins with a WAV header, and the filename will end in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, and is likely to be confusing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;File extension for header files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: .raw)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the &#039;&#039;Do not write WAV header to file&#039;&#039; option is enabled, a filename extension for the output files can be specified here (e.g. &#039;&#039;.mp3&#039;&#039; for MP3 files). If the above option is disabled, this setting gets greyed out automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality (slow), &#039;&#039;&#039;Recommended: High quality (slow)&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some codecs support a quality setting to choose between a higher quality of the output files or faster encoding speed. If quality is the only matter, leave this option at the default, which is &#039;&#039;High quality (slow)&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User defined encoder&#039;&#039;, you can demarcate any portion of your custom command line as being for low- (delimit the chosen parameters with &#039;&#039;%l&#039;&#039;) and high-quality (similar but with &#039;&#039;%h&#039;&#039;) modes only and use this option to choose between the two.&lt;br /&gt;
&lt;br /&gt;
Note: EAC offers this choice of quality settings even if the selected codec doesn&#039;t use it.&lt;br /&gt;
&lt;br /&gt;
=External compression=&lt;br /&gt;
[[Image:EAC_Compression_options_External_Compression.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;External Compression&#039;&#039;&#039; tab]]&lt;br /&gt;
In this tab, all options for external compressors can be configured. As all settings are highly dependent on the particular compressor, most settings are only described here in general terms because often no specific recommendations can be given; but see the many [[:Category:EAC Guides|EAC guides]] (also linked below) written by Hydrogenaudio users for in-depth advice on topics including configuring various external encoders.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;General recommendation:&#039;&#039;&#039;&#039;&#039; To avoid unwanted side effects and to be able to configure the encoding process in every detail, &#039;&#039;User Defined Encoder&#039;&#039; should be used as &#039;&#039;Parameter passing scheme&#039;&#039; and all options should be specified via the &#039;&#039;Additional command-line options&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Side effects&amp;quot; basically means that it is a little complex what options have which effect when another &#039;&#039;Parameter passing scheme&#039;&#039; is specified (e.g. some settings are ignored completely). These side effects are explained in the following parameters, but specifying &#039;&#039;User Defined Encoder&#039;&#039; and using the command-line options only is a lot more convenient.&lt;br /&gt;
&lt;br /&gt;
As mentioned above, there are also a few articles with details about how to configure EAC to use particular encoders:&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_FLAC EAC and FLAC]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame EAC and LAME]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_AAC EAC and Nero AAC] &lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Ogg_Vorbis EAC and OGG Vorbis]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_WavPack EAC and WavPack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Monkey%27s_Audio EAC and Monkey&#039;s Audio]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Musepack EAC and Musepack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_TAK EAC and] [[TAK]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To use an external compressor, this setting has to be enabled; otherwise, all the options here are greyed out.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
EAC comes with a few presets concerning external compressors and the required parameter passing scheme; they can be selected with this option (e.g. the &#039;&#039;Bit rate&#039;&#039; box will show all available options after a particular compressor was chosen here). But in general, the capabilities of EAC in passing parameters to external compressors are limited. In order to overcome some of these limitations, you can and should use the &#039;&#039;Additional command-line options&#039;&#039; for to pass parameters. The usual approach is setting the &#039;&#039;Parameter passing scheme&#039;&#039; to &#039;&#039;User Defined Encoder&#039;&#039; and using the &#039;&#039;Additional command-line options&#039;&#039; to specify all the encoding options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use file extension&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User Defined Encoder&#039;&#039; as above, a file extension must be specified here. This should be the extension of the encoded file type (e.g. &#039;&#039;.flac&#039;&#039; when using a [[FLAC]] encoder and &#039;&#039;mp3&#039;&#039; when encoding to [[MP3]]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Program, including path, used for compression&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The absolute path to the program used for compression. This may be an .exe or a .dll file (e.g. &#039;&#039;C:\Program Files\[[LAME]]\lame.exe&#039;&#039;). By clicking on the &#039;&#039;Browse...&#039;&#039; button, this path can be chosen by a file dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additional command-line options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here additional parameters for the external compressor can be specified. To configure the additional command-line options, you can use the placeholders listed below (taken from the [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ]. For a comprehensive overview and by-version comparison of command-line placeholders, as well as those for [[EAC Options|Naming the output file]], please see the dedicated page about [[EAC placeholders]].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 2 and newer&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %source% || Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %dest% || Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %original% || Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %ishigh%…%ishigh% || Text “…” only when “High quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %islow%…%islow% || Text “…” only when “Low quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %haslyrics%…%haslyrics% || Text “…” only when lyrics exist&lt;br /&gt;
|-&lt;br /&gt;
| %hascover%…%hascover% || Text “…” only when storing cd cover is enabled and cover exists&lt;br /&gt;
|-&lt;br /&gt;
| %crcenabled%…%crcenabled% || Text “…” only when “CRC checksum” selected&lt;br /&gt;
|-&lt;br /&gt;
| %title% || Track title&lt;br /&gt;
|-&lt;br /&gt;
| %genre% || MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %year% || Year&lt;br /&gt;
|-&lt;br /&gt;
| %cddbid% || freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %artist% || Track artist&lt;br /&gt;
|-&lt;br /&gt;
| %lyrics% || Lyrics&lt;br /&gt;
|-&lt;br /&gt;
| %lyricsfile% || Filename of lyrics text file (ANSI)&lt;br /&gt;
|-&lt;br /&gt;
| %bitrate% || Bitrate (“32″..”320″)&lt;br /&gt;
|-&lt;br /&gt;
| %comment% || Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %tracknr% || Track number&lt;br /&gt;
|-&lt;br /&gt;
| %totalcds% || Total number of CDs in the given CD set&lt;br /&gt;
|-&lt;br /&gt;
| %cdnumber% || Number of the CD&lt;br /&gt;
|-&lt;br /&gt;
| %composer% || Track performer&lt;br /&gt;
|-&lt;br /&gt;
| %trackcrc% || CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %coverfile% || Filename of CD cover image&lt;br /&gt;
|-&lt;br /&gt;
| %numtracks% || Number of tracks on album&lt;br /&gt;
|-&lt;br /&gt;
| %albumtitle% || CD title&lt;br /&gt;
|-&lt;br /&gt;
| %albumartist% || CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %albumcomposer% || CD composer&lt;br /&gt;
|-&lt;br /&gt;
| %albuminterpret% ||– CD performer&lt;br /&gt;
|-&lt;br /&gt;
| %% || The ‘%’ character&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b2 or newer command-line for the [[LAME]] MP3 encoder could look like this :&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%&amp;quot; --tc &amp;quot;%comment%&amp;quot; %source% %dest%&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%artist%&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%title%&amp;lt;/code&amp;gt;, etc.) to control LAME using this command-line.&lt;br /&gt;
&lt;br /&gt;
More examples are given in the article [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame EAC and LAME],  which -by the way- recommends enabling the &#039;&#039;Add ID3 tag&#039;&#039; option (in contrast to what is said below). &lt;br /&gt;
In this case using the command-line parameters have no effect because EAC immediately overwrites the tags written by the encoder.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 1 and older&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %s&lt;br /&gt;
| Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %d&lt;br /&gt;
| Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %h...%h&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;High quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %l...%l&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;Low quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %c...%c&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;CRC checksum&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %r&lt;br /&gt;
| Bitrate (&amp;quot;32&amp;quot;..&amp;quot;320&amp;quot;) as chosen in the &#039;&#039;Bit rate&#039;&#039; option&lt;br /&gt;
|-&lt;br /&gt;
| %a&lt;br /&gt;
| CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %g&lt;br /&gt;
| CD title&lt;br /&gt;
|-&lt;br /&gt;
| %t&lt;br /&gt;
| Track title&lt;br /&gt;
|-&lt;br /&gt;
| %y&lt;br /&gt;
| Year&lt;br /&gt;
|-&lt;br /&gt;
| %n&lt;br /&gt;
| Track number&lt;br /&gt;
|-&lt;br /&gt;
| %m&lt;br /&gt;
| MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %o&lt;br /&gt;
| Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %e&lt;br /&gt;
| Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %b&lt;br /&gt;
| CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %f&lt;br /&gt;
| freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %x&lt;br /&gt;
| Number of tracks on album&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b1 or earlier command-line for the [[LAME]] MP3 encoder could look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tl &amp;quot;%g&amp;quot; --tg &amp;quot;%m&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; --tc &amp;quot;%e&amp;quot; %s %d&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%t&amp;lt;/code&amp;gt;, etc.) to control LAME only by this command-line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Bit rate&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
What is shown in this drop-down box depends on the &#039;&#039;Parameter passing scheme&#039;&#039; selected and specifies the bit rate/quality settings of the external compressor.  This setting is also used to calculate the approximate size of the compressed tracks shown in EAC&#039;s main window.&lt;br /&gt;
&lt;br /&gt;
In the case that &#039;&#039;User Defined Encoder&#039;&#039; is selected as the &#039;&#039;Parameter passing scheme&#039;&#039;, this setting does not have an effect unless the  &amp;lt;code&amp;gt;%bitrate%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%r&amp;lt;/code&amp;gt;) parameter is specified in the &#039;&#039;Additional command-line options&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality, &#039;&#039;&#039;Recommended: High quality&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many encoders offer the choice between better quality or faster encoding speed. This option is designated to choose between these two settings, but the precise behavior depends on what is selected on the &#039;&#039;Parameter passing scheme&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this option does not have an effect unless the &amp;lt;code&amp;gt;%ishigh%…%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h…%h&amp;lt;/code&amp;gt;) and  &amp;lt;code&amp;gt;%islow%…%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l…%l&amp;lt;/code&amp;gt;) parameters are used in the &#039;&#039;Additional command-line options&#039;&#039; (see below).&lt;br /&gt;
&lt;br /&gt;
When any other &#039;&#039;Parameter passing scheme&#039;&#039; is used, this setting is reflected on the particular encoder. When using LAME for instance, &#039;&#039;High quality&#039;&#039; corresponds to the &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt; switch, whereas &#039;&#039;Low quality&#039;&#039; uses the &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; switch (in this case, these switches specify the &amp;quot;Noise shaping and psycho acoustic algorithms&amp;quot;, means choice between quality and encoding speed). This is another reason that it is advisable to use a completely custom &#039;&#039;User defined encoder&#039;&#039;; but if you &#039;&#039;do&#039;&#039; use another scheme, you will probably want to ensure that &#039;&#039;High quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
As already mentioned above, with this setting it is also possible to configure the &#039;&#039;Additional command-line option&#039;&#039; even further: by delimiting chosen portions of your command line with the placeholders  &amp;lt;code&amp;gt;%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l&amp;lt;/code&amp;gt;), you can specify two alternate settings for the external compressor to use depending on this option. The following example (simplified) shows how to use this feature (again with LAME):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;%ishigh%-V0%ishigh% %islow%-V5%islow% --vbr-new %source% %dest%   (formerly  %h-V0%h%l-V5%l --vbr-new %s %d)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, if the &#039;&#039;High quality&#039;&#039; option is chosen, LAME will encode with &amp;lt;code&amp;gt;-V0&amp;lt;/code&amp;gt;; whereas it will encode at &amp;lt;code&amp;gt;-V5&amp;lt;/code&amp;gt; when &#039;&#039;Low quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Delete WAV after compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If this setting is enabled, EAC automatically deletes the extracted WAV file after compression. If you do not need these files (of course the compressed files are kept) after extraction/compression, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use CRC check&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders have the ability to store a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC] checksum (cyclic redundancy check) in the resulting (compressed) file. This might be used then to check the consistency of this file during playback. But enabling this CRC check has two major drawbacks: First, this will add 16 bits (the CRC value) on every frame of the encoded file and will possibly increase the file size considerably. Second, many encoders do not support this feature very well because of calculating wrong CRC checksums. So usually players will simply ignore this information. This option also has no effect at all when selected &#039;&#039;User Defined Encoder&#039;&#039; at the &#039;&#039;Parameter passing scheme&#039;&#039;. Thus having more disadvantages, it is generally recommended to disable this option regardless of the encoder used.&lt;br /&gt;
&lt;br /&gt;
When &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this setting allows additional parameters to take effect using the &amp;lt;code&amp;gt;%crcenabled%…%crcenabled%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%c...%c&amp;lt;/code&amp;gt;) placeholder, otherwise it has no effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, EAC writes [[ID3]] tags to the compressed files.  Make sure only to use this setting with mp3 files.  Formats such as flac, TAK, WavPack, Monkey&#039;s Audio and Ogg Vorbis were not intended to use ID3 tags and adding such tags may cause problems.&lt;br /&gt;
&lt;br /&gt;
Another possibility to include ID3 tagging is to use the external compressor itself to tag the resulting files. This would be done via the &#039;&#039;Additional command-line options&#039;&#039;. Indeed, it is recommended to use this where available, as seen in the above example command lines for LAME. (If this option is enabled &#039;&#039;and&#039;&#039; tagging instructions are included in the command line, the latter have no effect because EAC immediately overwrites the tags written by the encoder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this setting is enabled, EAC checks the return code of an external compressor. When the external compressor returns an error code (e.g. because of a wrong command-line parameter was used), EAC shows this error message in a dialog box. So, it’s recommended to enable this option in order to diagnose any errors.&lt;br /&gt;
&lt;br /&gt;
=Offset=&lt;br /&gt;
[[Image:EAC_Compression_options_Offset.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Offset&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers options regarding offset correction during encoding/decoding and the ID3 tag comment field.&lt;br /&gt;
&lt;br /&gt;
Note: The offset mentioned here has nothing to do with a [[Exact Audio Copy#Offset technology|drive offset]] and therefore should not be mistaken for the latter. In addition, most popular encoders now have their own built-in compensation for encoding offsets, and certain decoders can use this to eliminate any unwanted gaps; in such cases, these options are unnecessary.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders will have an offset when encoding. This means that at the beginning of a track they often add some silence, whereas a few samples could be missing at the end. When decoding again, this could result in some unwanted gaps. This options offers now the opportunity to correct this encoding/decoding offset so that the original file can be reconstructed (at least concerning correct beginning/end of a track; with [[Lossy|lossy]] formats the original file can not be reconstructed completely). The point behind this option is that is possible that there is such an offset between the codec which is used for encoding (the actual codec) and the other one used for decoding (default installed codec). An example would be using [[LAME]] for MP3 encoding and the Fraunhofer codec for decoding. In this case, this option would be useful.&lt;br /&gt;
&lt;br /&gt;
So, if you decode your encoded files and experience some unwanted gaps in the decoded files, then you should try to enable this option and configure it accordingly (see below). In all other cases, leave this option disabled—especially when you encode and decode with the same encoder or, as noted above, programs that themselves account for encoding/decoding delay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample offset&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: 0)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When enabling the option &#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;, a sample offset has to be entered here. With a click on the button &#039;&#039;Detect Offset...&#039;&#039; the correct offset can be recognized automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use LAME command-line encoder/decoder for decoding MP3 files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option is usually greyed out. To make it available, a [[LAME]] executable (lame.exe) has to be placed in the EAC directory. This has to be done manually.&lt;br /&gt;
&lt;br /&gt;
If this option is enabled then, LAME is used automatically to decode MP3 files (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Decompress...&#039;&#039;). This overrides EAC&#039;s behavior which uses the Fraunhofer codec for MP3 decoding by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of the ID3 tag comment field on extraction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the option &#039;&#039;Add [[ID3]] tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is enabled, this setting specifies what information should be stored in the comment field. When EAC is not used to tag compressed files and tagging is completely done via command-line parameters, this setting specifies the contents of the &amp;quot;%e&amp;quot; placeholder, which can then be included in the command line of each newly encoded file. The following options are available:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Write &amp;quot;Track &amp;lt;tracknumber&amp;gt;&amp;quot; into ID3 tag comment field&#039;&#039;&#039; &#039;&#039;(Default: enabled)&#039;&#039;: track number is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write CRC checksums into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC checksum] is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write freedb ID into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Freedb freedb] ID is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write following text into ID3 tag comment field&#039;&#039;&#039;: text of your own choice is written into the comment field.&lt;br /&gt;
&lt;br /&gt;
=ID3 Tag=&lt;br /&gt;
[[Image:EAC_Compression_options_ID3_Tag.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;ID3 Tag&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers some options regarding the [[ID3]] [[tag]]ging capabilities of EAC. Note that the option &#039;&#039;Add ID3 tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab has to be enabled for all these settings to have an effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v1.1 tags instead of ID3v1.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, [[ID3v1.1]] tags are used instead of [[ID3v1|ID3v1.0]] tags. The only difference between the two is that the former can additionally store a track number. Because most players are capable of reading ID3v1.1 tags, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additionally write ID3v2 tags, using a padding of X kB&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled/4, &#039;&#039;&#039;Recommended: enabled/4&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
With this option enabled, EAC writes [[ID3v2]] (ID3v2.3) tags to the encoded files, in addition to the ID3v1 tags. Because ID3v2 tags have a lot advantages over ID3v1 tags (e.g. [http://en.wikipedia.org/wiki/Unicode Unicode]] support) and are supported by most players, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
As ID3v2 tags are usually placed in front of a file, there may be a problem with altering or adding tags once the file is written. If tags are added or existing tags are becoming bigger, the ID3 chunk in a file will need some more space. In the worst case, the whole audio file has to be rewritten, which may be time consuming.&lt;br /&gt;
&lt;br /&gt;
This is where padding comes into play. When using padding, some additional space is added to the file while encoding to store such added or growing tags. In this case, the file does not have to be rewrittten completely, only this additional padding space is used when tags are added or altered. This makes adding/altering tags a lot more convenient and faster. The only disadvantage of padding is that the encoded files are a little bigger. EAC suggests a padding size of 4 KB. This means that every encoded file will be 4 KB bigger in size compared to a file which does not use padding. So if it is likely that you change or add some tags after the file has been created, then you should leave this option at 4 KB (or fit it your needs). If saving space (e.g. for mobile usage) is more important for you, then you can set this setting to 0 KB.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v2.4.0 tags instead of ID3v2.3.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v2.4 is the latest development of this standard and has a few advantages over ID3v2.3 (e.g. allows usage of [http://en.wikipedia.org/wiki/UTF-8 UTF-8] character encoding). However, support for ID3v2.4 has not historically been very universal.  If you have a need for ID3v2.4 tags and your hardware and software supports it then feel free to enable this option.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Is the above still valid for newer versions? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use track format xx/xx in ID3v2 tags (e.g. 01/16)&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v1 is only able to store the track number itself (e.g. &amp;quot;05&amp;quot;). With ID3v2 it is possible to store also the number of total tracks (e.g. &amp;quot;05/15&amp;quot;). If you wish to keep this information with your files, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of filenames from ID3 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: %T - %A)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option specifies how file names are constructed from ID3 tags when using the rename feature of EAC (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Rename From ID3 Tags...&#039;&#039;). You can use placeholder to build up the filename.&lt;br /&gt;
&lt;br /&gt;
=External links=&lt;br /&gt;
&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ (placeholders for command-line options)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Cyclic_redundancy_check Wikipedia: CRC (Cyclic Redundancy Check)]&lt;br /&gt;
* [http://www.sonicspot.com/guide/wavefiles.html The Sonic Spot: Wave File Format]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Interchange_File_Format Wikipedia: RIFF (Resource Interchange File Format)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Id3 Wikipedia: ID3]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:EAC Guides]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26641</id>
		<title>EAC Compression Options (Legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26641"/>
		<updated>2016-06-12T09:26:33Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* External compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[Exact Audio Copy]]’s &#039;&#039;&#039;compression options&#039;&#039;&#039; dialog (keyboard shortcut: F11) are found all options regarding the creating of [http://en.wikipedia.org/wiki/Audio_compression_(data) compressed audio files]. Here the user specifies how EAC is to behave when they press the &#039;&#039;MP3&#039;&#039; Button in the main window or select &#039;&#039;compressed&#039;&#039; items under the &#039;&#039;Action&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Note: many options are dependent on the codec or external compressor (encoder). So, often no clear recommendation can be given. It is important that the user has a general understanding of what these settings do and how they possibly change the behavior of EAC and/or the [[codec]]/external compressor.&lt;br /&gt;
&lt;br /&gt;
This article was recently updated to reflect changes introduced in EAC v1.0b2; however, the instructions for prior versions were retained for reference.&lt;br /&gt;
&lt;br /&gt;
=Waveform=&lt;br /&gt;
[[Image:EAC_Compression_options_Waveform.png|thumb|right|Example settings &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Waveform&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab allows you to select and choose the options for an internal [[codec]]. After audio data is read from the CD, EAC will pass it to the codec, and will write the codec&#039;s output to a file. Generally speaking, EAC’s internal codec support is for writing unusual [[WAV]] files (e.g. containing audio in the [[Adaptive Differential Pulse Code Modulation|ADPCM]] format or as a rare way of storing [[MP3]] data), although the options do allow for writing other formats.&lt;br /&gt;
&lt;br /&gt;
An internal codec is a [[Constant Bitrate|CBR]] (constant bit rate) audio converter library managed through the Windows Audio Compression Manager (ACM) legacy interface, and it typically has a filename ending in &amp;lt;code&amp;gt;.acm&amp;lt;/code&amp;gt;. Windows comes with a few such codecs installed already. These aren’t programs you run directly; they’re just converters invoked from within another program, e.g. EAC.&lt;br /&gt;
&lt;br /&gt;
All options are greyed out here if &#039;&#039;Use external program for compression&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is ticked. When using an external compressor, you of course cannot use an internal codec.&lt;br /&gt;
&lt;br /&gt;
Today, most people ripping music CDs don&#039;t use internal codecs; they use an external compressor, which is configured in the &#039;&#039;External Compression&#039;&#039; tab. An external compressor is a separate program that can be run directly from a command shell with various arguments telling it which file to compress, what tags to add, the output filename, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Wave format&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In this drop down box, all codecs installed on your system are listed. When new codecs are installed, they should show up in this list. The codec to choose depends on what should be achieved with the compression (sample format, compression ratio, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample format&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
With this option, different combinations of parameters for the compression and output format can be chosen, such as sample rate, resolution, mono/stereo. Which options are available here depends on the codec selected at the &#039;&#039;Wave format&#039;&#039; option (e.g. some codecs only support 4 bit resolution).&lt;br /&gt;
&lt;br /&gt;
If you were to choose &#039;&#039;Microsoft PCM Converter&#039;&#039; as the codec, and &#039;&#039;44,100 Hz, 16 Bit, Stereo&#039;&#039; as the output format, it would be the same as doing an [http://en.wikipedia.org/wiki/Red_Book_(CD_standard) uncompressed CD rip].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some formats (e.g. [[MP3]]) support [[ID3|ID3 tags]]. When this option is enabled, EAC will add these tags to the compressed files (only if the file format supports ID3 tags).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Do not write WAV header to file&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The codec only converts the audio data. EAC writes it to a file. This parameter determines whether to include a WAV header in the file.&lt;br /&gt;
&lt;br /&gt;
Although it has become a &#039;&#039;de facto&#039;&#039; standard that WAV files contain 16 bit, 44.1 kHz stereo PCM audio data (as on audio CDs), what actually makes an audio file a WAV file is not the format of the audio data itself but the presence of a WAV header at its beginning. The header specifies which data chunk(s) are in the file (normally there&#039;s just a single chunk consisting of all the audio), info about what format it’s in, and possibly some other rudimentary metadata. When such a header is present, EAC will ensure the output filename ends with &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you have chosen a codec that outputs PCM data, then you probably &#039;&#039;do&#039;&#039; want a WAV header and filename ending in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, so this option should be enabled. But if you have chosen a codec that outputs MP3 or Ogg Vorbis data, then the WAV header is optional, and in fact is probably not what you want, unless you have a specific need to put the compressed audio into a WAV file.&lt;br /&gt;
&lt;br /&gt;
For example, if you choose an MP3 codec, and you have this option disabled, then you&#039;ll generate an ordinary MP3 file, and therefore you should enter &amp;lt;code&amp;gt;.mp3&amp;lt;/code&amp;gt; in the next box (&#039;&#039;file extension for headerless files&#039;&#039;) to make sure it has a helpful filename. But if you choose an MP3 codec and you have this option enabled, then you&#039;ll generate an MP3 file that begins with a WAV header, and the filename will end in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, and is likely to be confusing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;File extension for header files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: .raw)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the &#039;&#039;Do not write WAV header to file&#039;&#039; option is enabled, a filename extension for the output files can be specified here (e.g. &#039;&#039;.mp3&#039;&#039; for MP3 files). If the above option is disabled, this setting gets greyed out automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality (slow), &#039;&#039;&#039;Recommended: High quality (slow)&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some codecs support a quality setting to choose between a higher quality of the output files or faster encoding speed. If quality is the only matter, leave this option at the default, which is &#039;&#039;High quality (slow)&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User defined encoder&#039;&#039;, you can demarcate any portion of your custom command line as being for low- (delimit the chosen parameters with &#039;&#039;%l&#039;&#039;) and high-quality (similar but with &#039;&#039;%h&#039;&#039;) modes only and use this option to choose between the two.&lt;br /&gt;
&lt;br /&gt;
Note: EAC offers this choice of quality settings even if the selected codec doesn&#039;t use it.&lt;br /&gt;
&lt;br /&gt;
=External compression=&lt;br /&gt;
[[Image:EAC_Compression_options_External_Compression.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;External Compression&#039;&#039;&#039; tab]]&lt;br /&gt;
In this tab, all options for external compressors can be configured. As all settings are highly dependent on the particular compressor, most settings are only described here in general terms because often no specific recommendations can be given; but see the many [[:Category:EAC Guides|EAC guides]] (also linked below) written by Hydrogenaudio users for in-depth advice on topics including configuring various external encoders.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;General recommendation:&#039;&#039;&#039;&#039;&#039; To avoid unwanted side effects and to be able to configure the encoding process in every detail, &#039;&#039;User Defined Encoder&#039;&#039; should be used as &#039;&#039;Parameter passing scheme&#039;&#039; and all options should be specified via the &#039;&#039;Additional command-line options&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Side effects&amp;quot; basically means that it is a little complex what options have which effect when another &#039;&#039;Parameter passing scheme&#039;&#039; is specified (e.g. some settings are ignored completely). These side effects are explained in the following parameters, but specifying &#039;&#039;User Defined Encoder&#039;&#039; and using the command-line options only is a lot more convenient.&lt;br /&gt;
&lt;br /&gt;
As mentioned above, there are also a few articles with details about how to configure EAC to use particular encoders:&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_FLAC EAC and FLAC]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame EAC and LAME]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_AAC EAC and Nero AAC] &lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Ogg_Vorbis EAC and OGG Vorbis]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_WavPack EAC and WavPack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Monkey%27s_Audio EAC and Monkey&#039;s Audio]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Musepack EAC and Musepack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_TAK EAC and] [[TAK]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To use an external compressor, this setting has to be enabled; otherwise, all the options here are greyed out.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
EAC comes with a few presets concerning external compressors and the required parameter passing scheme; they can be selected with this option (e.g. the &#039;&#039;Bit rate&#039;&#039; box will show all available options after a particular compressor was chosen here). But in general, the capabilities of EAC in passing parameters to external compressors are limited. In order to overcome some of these limitations, you can and should use the &#039;&#039;Additional command-line options&#039;&#039; for to pass parameters. The usual approach is setting the &#039;&#039;Parameter passing scheme&#039;&#039; to &#039;&#039;User Defined Encoder&#039;&#039; and using the &#039;&#039;Additional command-line options&#039;&#039; to specify all the encoding options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use file extension&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User Defined Encoder&#039;&#039; as above, a file extension must be specified here. This should be the extension of the encoded file type (e.g. &#039;&#039;.flac&#039;&#039; when using a [[FLAC]] encoder and &#039;&#039;mp3&#039;&#039; when encoding to [[MP3]]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Program, including path, used for compression&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The absolute path to the program used for compression. This may be an .exe or a .dll file (e.g. &#039;&#039;C:\Program Files\[[LAME]]\lame.exe&#039;&#039;). By clicking on the &#039;&#039;Browse...&#039;&#039; button, this path can be chosen by a file dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additional command-line options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here additional parameters for the external compressor can be specified. To configure the additional command-line options, you can use the placeholders listed below (taken from the [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ]. For a comprehensive overview and by-version comparison of command-line placeholders, as well as those for [[EAC Options|Naming the output file]], please see the dedicated page about [[EAC placeholders]].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 2 and newer&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %source% || Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %dest% || Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %original% || Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %ishigh%…%ishigh% || Text “…” only when “High quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %islow%…%islow% || Text “…” only when “Low quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %haslyrics%…%haslyrics% || Text “…” only when lyrics exist&lt;br /&gt;
|-&lt;br /&gt;
| %hascover%…%hascover% || Text “…” only when storing cd cover is enabled and cover exists&lt;br /&gt;
|-&lt;br /&gt;
| %crcenabled%…%crcenabled% || Text “…” only when “CRC checksum” selected&lt;br /&gt;
|-&lt;br /&gt;
| %title% || Track title&lt;br /&gt;
|-&lt;br /&gt;
| %genre% || MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %year% || Year&lt;br /&gt;
|-&lt;br /&gt;
| %cddbid% || freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %artist% || Track artist&lt;br /&gt;
|-&lt;br /&gt;
| %lyrics% || Lyrics&lt;br /&gt;
|-&lt;br /&gt;
| %lyricsfile% || Filename of lyrics text file (ANSI)&lt;br /&gt;
|-&lt;br /&gt;
| %bitrate% || Bitrate (“32″..”320″)&lt;br /&gt;
|-&lt;br /&gt;
| %comment% || Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %tracknr% || Track number&lt;br /&gt;
|-&lt;br /&gt;
| %totalcds% || Total number of CDs in the given CD set&lt;br /&gt;
|-&lt;br /&gt;
| %cdnumber% || Number of the CD&lt;br /&gt;
|-&lt;br /&gt;
| %composer% || Track performer&lt;br /&gt;
|-&lt;br /&gt;
| %trackcrc% || CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %coverfile% || Filename of CD cover image&lt;br /&gt;
|-&lt;br /&gt;
| %numtracks% || Number of tracks on album&lt;br /&gt;
|-&lt;br /&gt;
| %albumtitle% || CD title&lt;br /&gt;
|-&lt;br /&gt;
| %albumartist% || CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %albumcomposer% || CD composer&lt;br /&gt;
|-&lt;br /&gt;
| %albuminterpret% ||– CD performer&lt;br /&gt;
|-&lt;br /&gt;
| %% || The ‘%’ character&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b2 or newer command-line for the [[LAME]] MP3 encoder could look like this :&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%&amp;quot; --tc &amp;quot;%comment%&amp;quot; %source% %dest%&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%artist%&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%title%&amp;lt;/code&amp;gt;, etc.) to control LAME using this command-line.&lt;br /&gt;
&lt;br /&gt;
More examples are given in the article [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame EAC and LAME], which - by the way - recommends enabling the &#039;&#039;Add ID3 tag&#039;&#039; option (in contrast to what is said below). &lt;br /&gt;
In this case using the command-line parameters have no effect because EAC immediately overwrites the tags written by the encoder.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 1 and older&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %s&lt;br /&gt;
| Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %d&lt;br /&gt;
| Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %h...%h&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;High quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %l...%l&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;Low quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %c...%c&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;CRC checksum&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %r&lt;br /&gt;
| Bitrate (&amp;quot;32&amp;quot;..&amp;quot;320&amp;quot;) as chosen in the &#039;&#039;Bit rate&#039;&#039; option&lt;br /&gt;
|-&lt;br /&gt;
| %a&lt;br /&gt;
| CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %g&lt;br /&gt;
| CD title&lt;br /&gt;
|-&lt;br /&gt;
| %t&lt;br /&gt;
| Track title&lt;br /&gt;
|-&lt;br /&gt;
| %y&lt;br /&gt;
| Year&lt;br /&gt;
|-&lt;br /&gt;
| %n&lt;br /&gt;
| Track number&lt;br /&gt;
|-&lt;br /&gt;
| %m&lt;br /&gt;
| MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %o&lt;br /&gt;
| Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %e&lt;br /&gt;
| Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %b&lt;br /&gt;
| CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %f&lt;br /&gt;
| freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %x&lt;br /&gt;
| Number of tracks on album&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b1 or earlier command-line for the [[LAME]] MP3 encoder could look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tl &amp;quot;%g&amp;quot; --tg &amp;quot;%m&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; --tc &amp;quot;%e&amp;quot; %s %d&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%t&amp;lt;/code&amp;gt;, etc.) to control LAME only by this command-line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Bit rate&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
What is shown in this drop-down box depends on the &#039;&#039;Parameter passing scheme&#039;&#039; selected and specifies the bit rate/quality settings of the external compressor.  This setting is also used to calculate the approximate size of the compressed tracks shown in EAC&#039;s main window.&lt;br /&gt;
&lt;br /&gt;
In the case that &#039;&#039;User Defined Encoder&#039;&#039; is selected as the &#039;&#039;Parameter passing scheme&#039;&#039;, this setting does not have an effect unless the  &amp;lt;code&amp;gt;%bitrate%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%r&amp;lt;/code&amp;gt;) parameter is specified in the &#039;&#039;Additional command-line options&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality, &#039;&#039;&#039;Recommended: High quality&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many encoders offer the choice between better quality or faster encoding speed. This option is designated to choose between these two settings, but the precise behavior depends on what is selected on the &#039;&#039;Parameter passing scheme&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this option does not have an effect unless the &amp;lt;code&amp;gt;%ishigh%…%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h…%h&amp;lt;/code&amp;gt;) and  &amp;lt;code&amp;gt;%islow%…%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l…%l&amp;lt;/code&amp;gt;) parameters are used in the &#039;&#039;Additional command-line options&#039;&#039; (see below).&lt;br /&gt;
&lt;br /&gt;
When any other &#039;&#039;Parameter passing scheme&#039;&#039; is used, this setting is reflected on the particular encoder. When using LAME for instance, &#039;&#039;High quality&#039;&#039; corresponds to the &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt; switch, whereas &#039;&#039;Low quality&#039;&#039; uses the &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; switch (in this case, these switches specify the &amp;quot;Noise shaping and psycho acoustic algorithms&amp;quot;, means choice between quality and encoding speed). This is another reason that it is advisable to use a completely custom &#039;&#039;User defined encoder&#039;&#039;; but if you &#039;&#039;do&#039;&#039; use another scheme, you will probably want to ensure that &#039;&#039;High quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
As already mentioned above, with this setting it is also possible to configure the &#039;&#039;Additional command-line option&#039;&#039; even further: by delimiting chosen portions of your command line with the placeholders  &amp;lt;code&amp;gt;%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l&amp;lt;/code&amp;gt;), you can specify two alternate settings for the external compressor to use depending on this option. The following example (simplified) shows how to use this feature (again with LAME):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;%ishigh%-V0%ishigh% %islow%-V5%islow% --vbr-new %source% %dest%   (formerly  %h-V0%h%l-V5%l --vbr-new %s %d)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, if the &#039;&#039;High quality&#039;&#039; option is chosen, LAME will encode with &amp;lt;code&amp;gt;-V0&amp;lt;/code&amp;gt;; whereas it will encode at &amp;lt;code&amp;gt;-V5&amp;lt;/code&amp;gt; when &#039;&#039;Low quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Delete WAV after compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If this setting is enabled, EAC automatically deletes the extracted WAV file after compression. If you do not need these files (of course the compressed files are kept) after extraction/compression, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use CRC check&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders have the ability to store a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC] checksum (cyclic redundancy check) in the resulting (compressed) file. This might be used then to check the consistency of this file during playback. But enabling this CRC check has two major drawbacks: First, this will add 16 bits (the CRC value) on every frame of the encoded file and will possibly increase the file size considerably. Second, many encoders do not support this feature very well because of calculating wrong CRC checksums. So usually players will simply ignore this information. This option also has no effect at all when selected &#039;&#039;User Defined Encoder&#039;&#039; at the &#039;&#039;Parameter passing scheme&#039;&#039;. Thus having more disadvantages, it is generally recommended to disable this option regardless of the encoder used.&lt;br /&gt;
&lt;br /&gt;
When &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this setting allows additional parameters to take effect using the &amp;lt;code&amp;gt;%crcenabled%…%crcenabled%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%c...%c&amp;lt;/code&amp;gt;) placeholder, otherwise it has no effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, EAC writes [[ID3]] tags to the compressed files.  Make sure only to use this setting with mp3 files.  Formats such as flac, TAK, WavPack, Monkey&#039;s Audio and Ogg Vorbis were not intended to use ID3 tags and adding such tags may cause problems.&lt;br /&gt;
&lt;br /&gt;
Another possibility to include ID3 tagging is to use the external compressor itself to tag the resulting files. This would be done via the &#039;&#039;Additional command-line options&#039;&#039;. Indeed, it is recommended to use this where available, as seen in the above example command lines for LAME. (If this option is enabled &#039;&#039;and&#039;&#039; tagging instructions are included in the command line, the latter have no effect because EAC immediately overwrites the tags written by the encoder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this setting is enabled, EAC checks the return code of an external compressor. When the external compressor returns an error code (e.g. because of a wrong command-line parameter was used), EAC shows this error message in a dialog box. So, it’s recommended to enable this option in order to diagnose any errors.&lt;br /&gt;
&lt;br /&gt;
=Offset=&lt;br /&gt;
[[Image:EAC_Compression_options_Offset.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Offset&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers options regarding offset correction during encoding/decoding and the ID3 tag comment field.&lt;br /&gt;
&lt;br /&gt;
Note: The offset mentioned here has nothing to do with a [[Exact Audio Copy#Offset technology|drive offset]] and therefore should not be mistaken for the latter. In addition, most popular encoders now have their own built-in compensation for encoding offsets, and certain decoders can use this to eliminate any unwanted gaps; in such cases, these options are unnecessary.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders will have an offset when encoding. This means that at the beginning of a track they often add some silence, whereas a few samples could be missing at the end. When decoding again, this could result in some unwanted gaps. This options offers now the opportunity to correct this encoding/decoding offset so that the original file can be reconstructed (at least concerning correct beginning/end of a track; with [[Lossy|lossy]] formats the original file can not be reconstructed completely). The point behind this option is that is possible that there is such an offset between the codec which is used for encoding (the actual codec) and the other one used for decoding (default installed codec). An example would be using [[LAME]] for MP3 encoding and the Fraunhofer codec for decoding. In this case, this option would be useful.&lt;br /&gt;
&lt;br /&gt;
So, if you decode your encoded files and experience some unwanted gaps in the decoded files, then you should try to enable this option and configure it accordingly (see below). In all other cases, leave this option disabled—especially when you encode and decode with the same encoder or, as noted above, programs that themselves account for encoding/decoding delay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample offset&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: 0)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When enabling the option &#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;, a sample offset has to be entered here. With a click on the button &#039;&#039;Detect Offset...&#039;&#039; the correct offset can be recognized automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use LAME command-line encoder/decoder for decoding MP3 files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option is usually greyed out. To make it available, a [[LAME]] executable (lame.exe) has to be placed in the EAC directory. This has to be done manually.&lt;br /&gt;
&lt;br /&gt;
If this option is enabled then, LAME is used automatically to decode MP3 files (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Decompress...&#039;&#039;). This overrides EAC&#039;s behavior which uses the Fraunhofer codec for MP3 decoding by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of the ID3 tag comment field on extraction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the option &#039;&#039;Add [[ID3]] tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is enabled, this setting specifies what information should be stored in the comment field. When EAC is not used to tag compressed files and tagging is completely done via command-line parameters, this setting specifies the contents of the &amp;quot;%e&amp;quot; placeholder, which can then be included in the command line of each newly encoded file. The following options are available:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Write &amp;quot;Track &amp;lt;tracknumber&amp;gt;&amp;quot; into ID3 tag comment field&#039;&#039;&#039; &#039;&#039;(Default: enabled)&#039;&#039;: track number is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write CRC checksums into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC checksum] is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write freedb ID into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Freedb freedb] ID is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write following text into ID3 tag comment field&#039;&#039;&#039;: text of your own choice is written into the comment field.&lt;br /&gt;
&lt;br /&gt;
=ID3 Tag=&lt;br /&gt;
[[Image:EAC_Compression_options_ID3_Tag.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;ID3 Tag&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers some options regarding the [[ID3]] [[tag]]ging capabilities of EAC. Note that the option &#039;&#039;Add ID3 tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab has to be enabled for all these settings to have an effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v1.1 tags instead of ID3v1.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, [[ID3v1.1]] tags are used instead of [[ID3v1|ID3v1.0]] tags. The only difference between the two is that the former can additionally store a track number. Because most players are capable of reading ID3v1.1 tags, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additionally write ID3v2 tags, using a padding of X kB&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled/4, &#039;&#039;&#039;Recommended: enabled/4&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
With this option enabled, EAC writes [[ID3v2]] (ID3v2.3) tags to the encoded files, in addition to the ID3v1 tags. Because ID3v2 tags have a lot advantages over ID3v1 tags (e.g. [http://en.wikipedia.org/wiki/Unicode Unicode]] support) and are supported by most players, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
As ID3v2 tags are usually placed in front of a file, there may be a problem with altering or adding tags once the file is written. If tags are added or existing tags are becoming bigger, the ID3 chunk in a file will need some more space. In the worst case, the whole audio file has to be rewritten, which may be time consuming.&lt;br /&gt;
&lt;br /&gt;
This is where padding comes into play. When using padding, some additional space is added to the file while encoding to store such added or growing tags. In this case, the file does not have to be rewrittten completely, only this additional padding space is used when tags are added or altered. This makes adding/altering tags a lot more convenient and faster. The only disadvantage of padding is that the encoded files are a little bigger. EAC suggests a padding size of 4 KB. This means that every encoded file will be 4 KB bigger in size compared to a file which does not use padding. So if it is likely that you change or add some tags after the file has been created, then you should leave this option at 4 KB (or fit it your needs). If saving space (e.g. for mobile usage) is more important for you, then you can set this setting to 0 KB.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v2.4.0 tags instead of ID3v2.3.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v2.4 is the latest development of this standard and has a few advantages over ID3v2.3 (e.g. allows usage of [http://en.wikipedia.org/wiki/UTF-8 UTF-8] character encoding). However, support for ID3v2.4 has not historically been very universal.  If you have a need for ID3v2.4 tags and your hardware and software supports it then feel free to enable this option.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Is the above still valid for newer versions? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use track format xx/xx in ID3v2 tags (e.g. 01/16)&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v1 is only able to store the track number itself (e.g. &amp;quot;05&amp;quot;). With ID3v2 it is possible to store also the number of total tracks (e.g. &amp;quot;05/15&amp;quot;). If you wish to keep this information with your files, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of filenames from ID3 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: %T - %A)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option specifies how file names are constructed from ID3 tags when using the rename feature of EAC (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Rename From ID3 Tags...&#039;&#039;). You can use placeholder to build up the filename.&lt;br /&gt;
&lt;br /&gt;
=External links=&lt;br /&gt;
&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ (placeholders for command-line options)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Cyclic_redundancy_check Wikipedia: CRC (Cyclic Redundancy Check)]&lt;br /&gt;
* [http://www.sonicspot.com/guide/wavefiles.html The Sonic Spot: Wave File Format]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Interchange_File_Format Wikipedia: RIFF (Resource Interchange File Format)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Id3 Wikipedia: ID3]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:EAC Guides]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26640</id>
		<title>EAC Compression Options (Legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26640"/>
		<updated>2016-06-12T09:20:05Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* External compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[Exact Audio Copy]]’s &#039;&#039;&#039;compression options&#039;&#039;&#039; dialog (keyboard shortcut: F11) are found all options regarding the creating of [http://en.wikipedia.org/wiki/Audio_compression_(data) compressed audio files]. Here the user specifies how EAC is to behave when they press the &#039;&#039;MP3&#039;&#039; Button in the main window or select &#039;&#039;compressed&#039;&#039; items under the &#039;&#039;Action&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Note: many options are dependent on the codec or external compressor (encoder). So, often no clear recommendation can be given. It is important that the user has a general understanding of what these settings do and how they possibly change the behavior of EAC and/or the [[codec]]/external compressor.&lt;br /&gt;
&lt;br /&gt;
This article was recently updated to reflect changes introduced in EAC v1.0b2; however, the instructions for prior versions were retained for reference.&lt;br /&gt;
&lt;br /&gt;
=Waveform=&lt;br /&gt;
[[Image:EAC_Compression_options_Waveform.png|thumb|right|Example settings &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Waveform&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab allows you to select and choose the options for an internal [[codec]]. After audio data is read from the CD, EAC will pass it to the codec, and will write the codec&#039;s output to a file. Generally speaking, EAC’s internal codec support is for writing unusual [[WAV]] files (e.g. containing audio in the [[Adaptive Differential Pulse Code Modulation|ADPCM]] format or as a rare way of storing [[MP3]] data), although the options do allow for writing other formats.&lt;br /&gt;
&lt;br /&gt;
An internal codec is a [[Constant Bitrate|CBR]] (constant bit rate) audio converter library managed through the Windows Audio Compression Manager (ACM) legacy interface, and it typically has a filename ending in &amp;lt;code&amp;gt;.acm&amp;lt;/code&amp;gt;. Windows comes with a few such codecs installed already. These aren’t programs you run directly; they’re just converters invoked from within another program, e.g. EAC.&lt;br /&gt;
&lt;br /&gt;
All options are greyed out here if &#039;&#039;Use external program for compression&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is ticked. When using an external compressor, you of course cannot use an internal codec.&lt;br /&gt;
&lt;br /&gt;
Today, most people ripping music CDs don&#039;t use internal codecs; they use an external compressor, which is configured in the &#039;&#039;External Compression&#039;&#039; tab. An external compressor is a separate program that can be run directly from a command shell with various arguments telling it which file to compress, what tags to add, the output filename, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Wave format&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In this drop down box, all codecs installed on your system are listed. When new codecs are installed, they should show up in this list. The codec to choose depends on what should be achieved with the compression (sample format, compression ratio, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample format&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
With this option, different combinations of parameters for the compression and output format can be chosen, such as sample rate, resolution, mono/stereo. Which options are available here depends on the codec selected at the &#039;&#039;Wave format&#039;&#039; option (e.g. some codecs only support 4 bit resolution).&lt;br /&gt;
&lt;br /&gt;
If you were to choose &#039;&#039;Microsoft PCM Converter&#039;&#039; as the codec, and &#039;&#039;44,100 Hz, 16 Bit, Stereo&#039;&#039; as the output format, it would be the same as doing an [http://en.wikipedia.org/wiki/Red_Book_(CD_standard) uncompressed CD rip].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some formats (e.g. [[MP3]]) support [[ID3|ID3 tags]]. When this option is enabled, EAC will add these tags to the compressed files (only if the file format supports ID3 tags).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Do not write WAV header to file&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The codec only converts the audio data. EAC writes it to a file. This parameter determines whether to include a WAV header in the file.&lt;br /&gt;
&lt;br /&gt;
Although it has become a &#039;&#039;de facto&#039;&#039; standard that WAV files contain 16 bit, 44.1 kHz stereo PCM audio data (as on audio CDs), what actually makes an audio file a WAV file is not the format of the audio data itself but the presence of a WAV header at its beginning. The header specifies which data chunk(s) are in the file (normally there&#039;s just a single chunk consisting of all the audio), info about what format it’s in, and possibly some other rudimentary metadata. When such a header is present, EAC will ensure the output filename ends with &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you have chosen a codec that outputs PCM data, then you probably &#039;&#039;do&#039;&#039; want a WAV header and filename ending in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, so this option should be enabled. But if you have chosen a codec that outputs MP3 or Ogg Vorbis data, then the WAV header is optional, and in fact is probably not what you want, unless you have a specific need to put the compressed audio into a WAV file.&lt;br /&gt;
&lt;br /&gt;
For example, if you choose an MP3 codec, and you have this option disabled, then you&#039;ll generate an ordinary MP3 file, and therefore you should enter &amp;lt;code&amp;gt;.mp3&amp;lt;/code&amp;gt; in the next box (&#039;&#039;file extension for headerless files&#039;&#039;) to make sure it has a helpful filename. But if you choose an MP3 codec and you have this option enabled, then you&#039;ll generate an MP3 file that begins with a WAV header, and the filename will end in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, and is likely to be confusing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;File extension for header files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: .raw)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the &#039;&#039;Do not write WAV header to file&#039;&#039; option is enabled, a filename extension for the output files can be specified here (e.g. &#039;&#039;.mp3&#039;&#039; for MP3 files). If the above option is disabled, this setting gets greyed out automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality (slow), &#039;&#039;&#039;Recommended: High quality (slow)&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some codecs support a quality setting to choose between a higher quality of the output files or faster encoding speed. If quality is the only matter, leave this option at the default, which is &#039;&#039;High quality (slow)&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User defined encoder&#039;&#039;, you can demarcate any portion of your custom command line as being for low- (delimit the chosen parameters with &#039;&#039;%l&#039;&#039;) and high-quality (similar but with &#039;&#039;%h&#039;&#039;) modes only and use this option to choose between the two.&lt;br /&gt;
&lt;br /&gt;
Note: EAC offers this choice of quality settings even if the selected codec doesn&#039;t use it.&lt;br /&gt;
&lt;br /&gt;
=External compression=&lt;br /&gt;
[[Image:EAC_Compression_options_External_Compression.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;External Compression&#039;&#039;&#039; tab]]&lt;br /&gt;
In this tab, all options for external compressors can be configured. As all settings are highly dependent on the particular compressor, most settings are only described here in general terms because often no specific recommendations can be given; but see the many [[:Category:EAC Guides|EAC guides]] (also linked below) written by Hydrogenaudio users for in-depth advice on topics including configuring various external encoders.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;General recommendation:&#039;&#039;&#039;&#039;&#039; To avoid unwanted side effects and to be able to configure the encoding process in every detail, &#039;&#039;User Defined Encoder&#039;&#039; should be used as &#039;&#039;Parameter passing scheme&#039;&#039; and all options should be specified via the &#039;&#039;Additional command-line options&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Side effects&amp;quot; basically means that it is a little complex what options have which effect when another &#039;&#039;Parameter passing scheme&#039;&#039; is specified (e.g. some settings are ignored completely). These side effects are explained in the following parameters, but specifying &#039;&#039;User Defined Encoder&#039;&#039; and using the command-line options only is a lot more convenient.&lt;br /&gt;
&lt;br /&gt;
As mentioned above, there are also a few articles with details about how to configure EAC to use particular encoders:&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_FLAC EAC and FLAC]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame EAC and LAME]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_AAC EAC and Nero AAC] &lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Ogg_Vorbis EAC and OGG Vorbis]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_WavPack EAC and WavPack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Monkey%27s_Audio EAC and Monkey&#039;s Audio]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Musepack EAC and Musepack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_TAK EAC and] [[TAK]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To use an external compressor, this setting has to be enabled; otherwise, all the options here are greyed out.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
EAC comes with a few presets concerning external compressors and the required parameter passing scheme; they can be selected with this option (e.g. the &#039;&#039;Bit rate&#039;&#039; box will show all available options after a particular compressor was chosen here). But in general, the capabilities of EAC in passing parameters to external compressors are limited. In order to overcome some of these limitations, you can and should use the &#039;&#039;Additional command-line options&#039;&#039; for to pass parameters. The usual approach is setting the &#039;&#039;Parameter passing scheme&#039;&#039; to &#039;&#039;User Defined Encoder&#039;&#039; and using the &#039;&#039;Additional command-line options&#039;&#039; to specify all the encoding options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use file extension&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User Defined Encoder&#039;&#039; as above, a file extension must be specified here. This should be the extension of the encoded file type (e.g. &#039;&#039;.flac&#039;&#039; when using a [[FLAC]] encoder and &#039;&#039;mp3&#039;&#039; when encoding to [[MP3]]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Program, including path, used for compression&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The absolute path to the program used for compression. This may be an .exe or a .dll file (e.g. &#039;&#039;C:\Program Files\[[LAME]]\lame.exe&#039;&#039;). By clicking on the &#039;&#039;Browse...&#039;&#039; button, this path can be chosen by a file dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additional command-line options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here additional parameters for the external compressor can be specified. To configure the additional command-line options, you can use the placeholders listed below (taken from the [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ]. For a comprehensive overview and by-version comparison of command-line placeholders, as well as those for [[EAC Options|Naming the output file]], please see the dedicated page about [[EAC placeholders]].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 2 and newer&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %source% || Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %dest% || Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %original% || Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %ishigh%…%ishigh% || Text “…” only when “High quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %islow%…%islow% || Text “…” only when “Low quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %haslyrics%…%haslyrics% || Text “…” only when lyrics exist&lt;br /&gt;
|-&lt;br /&gt;
| %hascover%…%hascover% || Text “…” only when storing cd cover is enabled and cover exists&lt;br /&gt;
|-&lt;br /&gt;
| %crcenabled%…%crcenabled% || Text “…” only when “CRC checksum” selected&lt;br /&gt;
|-&lt;br /&gt;
| %title% || Track title&lt;br /&gt;
|-&lt;br /&gt;
| %genre% || MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %year% || Year&lt;br /&gt;
|-&lt;br /&gt;
| %cddbid% || freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %artist% || Track artist&lt;br /&gt;
|-&lt;br /&gt;
| %lyrics% || Lyrics&lt;br /&gt;
|-&lt;br /&gt;
| %lyricsfile% || Filename of lyrics text file (ANSI)&lt;br /&gt;
|-&lt;br /&gt;
| %bitrate% || Bitrate (“32″..”320″)&lt;br /&gt;
|-&lt;br /&gt;
| %comment% || Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %tracknr% || Track number&lt;br /&gt;
|-&lt;br /&gt;
| %totalcds% || Total number of CDs in the given CD set&lt;br /&gt;
|-&lt;br /&gt;
| %cdnumber% || Number of the CD&lt;br /&gt;
|-&lt;br /&gt;
| %composer% || Track performer&lt;br /&gt;
|-&lt;br /&gt;
| %trackcrc% || CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %coverfile% || Filename of CD cover image&lt;br /&gt;
|-&lt;br /&gt;
| %numtracks% || Number of tracks on album&lt;br /&gt;
|-&lt;br /&gt;
| %albumtitle% || CD title&lt;br /&gt;
|-&lt;br /&gt;
| %albumartist% || CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %albumcomposer% || CD composer&lt;br /&gt;
|-&lt;br /&gt;
| %albuminterpret% ||– CD performer&lt;br /&gt;
|-&lt;br /&gt;
| %% || The ‘%’ character&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b2 or newer command-line for the [[LAME]] MP3 encoder could look like this :&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%&amp;quot; --tc &amp;quot;%comment%&amp;quot; %source% %dest%&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%artist%&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%title%&amp;lt;/code&amp;gt;, etc.) to control LAME using this command-line.&lt;br /&gt;
(These parameters have no effect when the &#039;&#039;Add ID3 tag&#039;&#039; option is enabled because EAC immediately overwrites the tags written by the encoder. This option is recommended in the article [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame EAC and LAME] in contrast to what is said below.)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 1 and older&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %s&lt;br /&gt;
| Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %d&lt;br /&gt;
| Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %h...%h&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;High quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %l...%l&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;Low quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %c...%c&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;CRC checksum&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %r&lt;br /&gt;
| Bitrate (&amp;quot;32&amp;quot;..&amp;quot;320&amp;quot;) as chosen in the &#039;&#039;Bit rate&#039;&#039; option&lt;br /&gt;
|-&lt;br /&gt;
| %a&lt;br /&gt;
| CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %g&lt;br /&gt;
| CD title&lt;br /&gt;
|-&lt;br /&gt;
| %t&lt;br /&gt;
| Track title&lt;br /&gt;
|-&lt;br /&gt;
| %y&lt;br /&gt;
| Year&lt;br /&gt;
|-&lt;br /&gt;
| %n&lt;br /&gt;
| Track number&lt;br /&gt;
|-&lt;br /&gt;
| %m&lt;br /&gt;
| MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %o&lt;br /&gt;
| Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %e&lt;br /&gt;
| Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %b&lt;br /&gt;
| CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %f&lt;br /&gt;
| freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %x&lt;br /&gt;
| Number of tracks on album&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b1 or earlier command-line for the [[LAME]] MP3 encoder could look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tl &amp;quot;%g&amp;quot; --tg &amp;quot;%m&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; --tc &amp;quot;%e&amp;quot; %s %d&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%t&amp;lt;/code&amp;gt;, etc.) to control LAME only by this command-line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Bit rate&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
What is shown in this drop-down box depends on the &#039;&#039;Parameter passing scheme&#039;&#039; selected and specifies the bit rate/quality settings of the external compressor.  This setting is also used to calculate the approximate size of the compressed tracks shown in EAC&#039;s main window.&lt;br /&gt;
&lt;br /&gt;
In the case that &#039;&#039;User Defined Encoder&#039;&#039; is selected as the &#039;&#039;Parameter passing scheme&#039;&#039;, this setting does not have an effect unless the  &amp;lt;code&amp;gt;%bitrate%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%r&amp;lt;/code&amp;gt;) parameter is specified in the &#039;&#039;Additional command-line options&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality, &#039;&#039;&#039;Recommended: High quality&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many encoders offer the choice between better quality or faster encoding speed. This option is designated to choose between these two settings, but the precise behavior depends on what is selected on the &#039;&#039;Parameter passing scheme&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this option does not have an effect unless the &amp;lt;code&amp;gt;%ishigh%…%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h…%h&amp;lt;/code&amp;gt;) and  &amp;lt;code&amp;gt;%islow%…%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l…%l&amp;lt;/code&amp;gt;) parameters are used in the &#039;&#039;Additional command-line options&#039;&#039; (see below).&lt;br /&gt;
&lt;br /&gt;
When any other &#039;&#039;Parameter passing scheme&#039;&#039; is used, this setting is reflected on the particular encoder. When using LAME for instance, &#039;&#039;High quality&#039;&#039; corresponds to the &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt; switch, whereas &#039;&#039;Low quality&#039;&#039; uses the &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; switch (in this case, these switches specify the &amp;quot;Noise shaping and psycho acoustic algorithms&amp;quot;, means choice between quality and encoding speed). This is another reason that it is advisable to use a completely custom &#039;&#039;User defined encoder&#039;&#039;; but if you &#039;&#039;do&#039;&#039; use another scheme, you will probably want to ensure that &#039;&#039;High quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
As already mentioned above, with this setting it is also possible to configure the &#039;&#039;Additional command-line option&#039;&#039; even further: by delimiting chosen portions of your command line with the placeholders  &amp;lt;code&amp;gt;%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l&amp;lt;/code&amp;gt;), you can specify two alternate settings for the external compressor to use depending on this option. The following example (simplified) shows how to use this feature (again with LAME):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;%ishigh%-V0%ishigh% %islow%-V5%islow% --vbr-new %source% %dest%   (formerly  %h-V0%h%l-V5%l --vbr-new %s %d)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, if the &#039;&#039;High quality&#039;&#039; option is chosen, LAME will encode with &amp;lt;code&amp;gt;-V0&amp;lt;/code&amp;gt;; whereas it will encode at &amp;lt;code&amp;gt;-V5&amp;lt;/code&amp;gt; when &#039;&#039;Low quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Delete WAV after compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If this setting is enabled, EAC automatically deletes the extracted WAV file after compression. If you do not need these files (of course the compressed files are kept) after extraction/compression, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use CRC check&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders have the ability to store a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC] checksum (cyclic redundancy check) in the resulting (compressed) file. This might be used then to check the consistency of this file during playback. But enabling this CRC check has two major drawbacks: First, this will add 16 bits (the CRC value) on every frame of the encoded file and will possibly increase the file size considerably. Second, many encoders do not support this feature very well because of calculating wrong CRC checksums. So usually players will simply ignore this information. This option also has no effect at all when selected &#039;&#039;User Defined Encoder&#039;&#039; at the &#039;&#039;Parameter passing scheme&#039;&#039;. Thus having more disadvantages, it is generally recommended to disable this option regardless of the encoder used.&lt;br /&gt;
&lt;br /&gt;
When &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this setting allows additional parameters to take effect using the &amp;lt;code&amp;gt;%crcenabled%…%crcenabled%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%c...%c&amp;lt;/code&amp;gt;) placeholder, otherwise it has no effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, EAC writes [[ID3]] tags to the compressed files.  Make sure only to use this setting with mp3 files.  Formats such as flac, TAK, WavPack, Monkey&#039;s Audio and Ogg Vorbis were not intended to use ID3 tags and adding such tags may cause problems.&lt;br /&gt;
&lt;br /&gt;
Another possibility to include ID3 tagging is to use the external compressor itself to tag the resulting files. This would be done via the &#039;&#039;Additional command-line options&#039;&#039;. Indeed, it is recommended to use this where available, as seen in the above example command lines for LAME. (If this option is enabled &#039;&#039;and&#039;&#039; tagging instructions are included in the command line, the latter have no effect because EAC immediately overwrites the tags written by the encoder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this setting is enabled, EAC checks the return code of an external compressor. When the external compressor returns an error code (e.g. because of a wrong command-line parameter was used), EAC shows this error message in a dialog box. So, it’s recommended to enable this option in order to diagnose any errors.&lt;br /&gt;
&lt;br /&gt;
=Offset=&lt;br /&gt;
[[Image:EAC_Compression_options_Offset.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Offset&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers options regarding offset correction during encoding/decoding and the ID3 tag comment field.&lt;br /&gt;
&lt;br /&gt;
Note: The offset mentioned here has nothing to do with a [[Exact Audio Copy#Offset technology|drive offset]] and therefore should not be mistaken for the latter. In addition, most popular encoders now have their own built-in compensation for encoding offsets, and certain decoders can use this to eliminate any unwanted gaps; in such cases, these options are unnecessary.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders will have an offset when encoding. This means that at the beginning of a track they often add some silence, whereas a few samples could be missing at the end. When decoding again, this could result in some unwanted gaps. This options offers now the opportunity to correct this encoding/decoding offset so that the original file can be reconstructed (at least concerning correct beginning/end of a track; with [[Lossy|lossy]] formats the original file can not be reconstructed completely). The point behind this option is that is possible that there is such an offset between the codec which is used for encoding (the actual codec) and the other one used for decoding (default installed codec). An example would be using [[LAME]] for MP3 encoding and the Fraunhofer codec for decoding. In this case, this option would be useful.&lt;br /&gt;
&lt;br /&gt;
So, if you decode your encoded files and experience some unwanted gaps in the decoded files, then you should try to enable this option and configure it accordingly (see below). In all other cases, leave this option disabled—especially when you encode and decode with the same encoder or, as noted above, programs that themselves account for encoding/decoding delay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample offset&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: 0)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When enabling the option &#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;, a sample offset has to be entered here. With a click on the button &#039;&#039;Detect Offset...&#039;&#039; the correct offset can be recognized automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use LAME command-line encoder/decoder for decoding MP3 files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option is usually greyed out. To make it available, a [[LAME]] executable (lame.exe) has to be placed in the EAC directory. This has to be done manually.&lt;br /&gt;
&lt;br /&gt;
If this option is enabled then, LAME is used automatically to decode MP3 files (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Decompress...&#039;&#039;). This overrides EAC&#039;s behavior which uses the Fraunhofer codec for MP3 decoding by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of the ID3 tag comment field on extraction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the option &#039;&#039;Add [[ID3]] tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is enabled, this setting specifies what information should be stored in the comment field. When EAC is not used to tag compressed files and tagging is completely done via command-line parameters, this setting specifies the contents of the &amp;quot;%e&amp;quot; placeholder, which can then be included in the command line of each newly encoded file. The following options are available:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Write &amp;quot;Track &amp;lt;tracknumber&amp;gt;&amp;quot; into ID3 tag comment field&#039;&#039;&#039; &#039;&#039;(Default: enabled)&#039;&#039;: track number is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write CRC checksums into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC checksum] is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write freedb ID into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Freedb freedb] ID is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write following text into ID3 tag comment field&#039;&#039;&#039;: text of your own choice is written into the comment field.&lt;br /&gt;
&lt;br /&gt;
=ID3 Tag=&lt;br /&gt;
[[Image:EAC_Compression_options_ID3_Tag.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;ID3 Tag&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers some options regarding the [[ID3]] [[tag]]ging capabilities of EAC. Note that the option &#039;&#039;Add ID3 tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab has to be enabled for all these settings to have an effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v1.1 tags instead of ID3v1.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, [[ID3v1.1]] tags are used instead of [[ID3v1|ID3v1.0]] tags. The only difference between the two is that the former can additionally store a track number. Because most players are capable of reading ID3v1.1 tags, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additionally write ID3v2 tags, using a padding of X kB&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled/4, &#039;&#039;&#039;Recommended: enabled/4&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
With this option enabled, EAC writes [[ID3v2]] (ID3v2.3) tags to the encoded files, in addition to the ID3v1 tags. Because ID3v2 tags have a lot advantages over ID3v1 tags (e.g. [http://en.wikipedia.org/wiki/Unicode Unicode]] support) and are supported by most players, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
As ID3v2 tags are usually placed in front of a file, there may be a problem with altering or adding tags once the file is written. If tags are added or existing tags are becoming bigger, the ID3 chunk in a file will need some more space. In the worst case, the whole audio file has to be rewritten, which may be time consuming.&lt;br /&gt;
&lt;br /&gt;
This is where padding comes into play. When using padding, some additional space is added to the file while encoding to store such added or growing tags. In this case, the file does not have to be rewrittten completely, only this additional padding space is used when tags are added or altered. This makes adding/altering tags a lot more convenient and faster. The only disadvantage of padding is that the encoded files are a little bigger. EAC suggests a padding size of 4 KB. This means that every encoded file will be 4 KB bigger in size compared to a file which does not use padding. So if it is likely that you change or add some tags after the file has been created, then you should leave this option at 4 KB (or fit it your needs). If saving space (e.g. for mobile usage) is more important for you, then you can set this setting to 0 KB.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v2.4.0 tags instead of ID3v2.3.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v2.4 is the latest development of this standard and has a few advantages over ID3v2.3 (e.g. allows usage of [http://en.wikipedia.org/wiki/UTF-8 UTF-8] character encoding). However, support for ID3v2.4 has not historically been very universal.  If you have a need for ID3v2.4 tags and your hardware and software supports it then feel free to enable this option.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Is the above still valid for newer versions? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use track format xx/xx in ID3v2 tags (e.g. 01/16)&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v1 is only able to store the track number itself (e.g. &amp;quot;05&amp;quot;). With ID3v2 it is possible to store also the number of total tracks (e.g. &amp;quot;05/15&amp;quot;). If you wish to keep this information with your files, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of filenames from ID3 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: %T - %A)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option specifies how file names are constructed from ID3 tags when using the rename feature of EAC (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Rename From ID3 Tags...&#039;&#039;). You can use placeholder to build up the filename.&lt;br /&gt;
&lt;br /&gt;
=External links=&lt;br /&gt;
&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ (placeholders for command-line options)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Cyclic_redundancy_check Wikipedia: CRC (Cyclic Redundancy Check)]&lt;br /&gt;
* [http://www.sonicspot.com/guide/wavefiles.html The Sonic Spot: Wave File Format]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Interchange_File_Format Wikipedia: RIFF (Resource Interchange File Format)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Id3 Wikipedia: ID3]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:EAC Guides]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26639</id>
		<title>EAC Compression Options (Legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options_(Legacy)&amp;diff=26639"/>
		<updated>2016-06-12T00:44:58Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* External compression */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[Exact Audio Copy]]’s &#039;&#039;&#039;compression options&#039;&#039;&#039; dialog (keyboard shortcut: F11) are found all options regarding the creating of [http://en.wikipedia.org/wiki/Audio_compression_(data) compressed audio files]. Here the user specifies how EAC is to behave when they press the &#039;&#039;MP3&#039;&#039; Button in the main window or select &#039;&#039;compressed&#039;&#039; items under the &#039;&#039;Action&#039;&#039; menu.&lt;br /&gt;
&lt;br /&gt;
Note: many options are dependent on the codec or external compressor (encoder). So, often no clear recommendation can be given. It is important that the user has a general understanding of what these settings do and how they possibly change the behavior of EAC and/or the [[codec]]/external compressor.&lt;br /&gt;
&lt;br /&gt;
This article was recently updated to reflect changes introduced in EAC v1.0b2; however, the instructions for prior versions were retained for reference.&lt;br /&gt;
&lt;br /&gt;
=Waveform=&lt;br /&gt;
[[Image:EAC_Compression_options_Waveform.png|thumb|right|Example settings &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Waveform&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab allows you to select and choose the options for an internal [[codec]]. After audio data is read from the CD, EAC will pass it to the codec, and will write the codec&#039;s output to a file. Generally speaking, EAC’s internal codec support is for writing unusual [[WAV]] files (e.g. containing audio in the [[Adaptive Differential Pulse Code Modulation|ADPCM]] format or as a rare way of storing [[MP3]] data), although the options do allow for writing other formats.&lt;br /&gt;
&lt;br /&gt;
An internal codec is a [[Constant Bitrate|CBR]] (constant bit rate) audio converter library managed through the Windows Audio Compression Manager (ACM) legacy interface, and it typically has a filename ending in &amp;lt;code&amp;gt;.acm&amp;lt;/code&amp;gt;. Windows comes with a few such codecs installed already. These aren’t programs you run directly; they’re just converters invoked from within another program, e.g. EAC.&lt;br /&gt;
&lt;br /&gt;
All options are greyed out here if &#039;&#039;Use external program for compression&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is ticked. When using an external compressor, you of course cannot use an internal codec.&lt;br /&gt;
&lt;br /&gt;
Today, most people ripping music CDs don&#039;t use internal codecs; they use an external compressor, which is configured in the &#039;&#039;External Compression&#039;&#039; tab. An external compressor is a separate program that can be run directly from a command shell with various arguments telling it which file to compress, what tags to add, the output filename, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Wave format&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In this drop down box, all codecs installed on your system are listed. When new codecs are installed, they should show up in this list. The codec to choose depends on what should be achieved with the compression (sample format, compression ratio, etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample format&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
With this option, different combinations of parameters for the compression and output format can be chosen, such as sample rate, resolution, mono/stereo. Which options are available here depends on the codec selected at the &#039;&#039;Wave format&#039;&#039; option (e.g. some codecs only support 4 bit resolution).&lt;br /&gt;
&lt;br /&gt;
If you were to choose &#039;&#039;Microsoft PCM Converter&#039;&#039; as the codec, and &#039;&#039;44,100 Hz, 16 Bit, Stereo&#039;&#039; as the output format, it would be the same as doing an [http://en.wikipedia.org/wiki/Red_Book_(CD_standard) uncompressed CD rip].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some formats (e.g. [[MP3]]) support [[ID3|ID3 tags]]. When this option is enabled, EAC will add these tags to the compressed files (only if the file format supports ID3 tags).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Do not write WAV header to file&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The codec only converts the audio data. EAC writes it to a file. This parameter determines whether to include a WAV header in the file.&lt;br /&gt;
&lt;br /&gt;
Although it has become a &#039;&#039;de facto&#039;&#039; standard that WAV files contain 16 bit, 44.1 kHz stereo PCM audio data (as on audio CDs), what actually makes an audio file a WAV file is not the format of the audio data itself but the presence of a WAV header at its beginning. The header specifies which data chunk(s) are in the file (normally there&#039;s just a single chunk consisting of all the audio), info about what format it’s in, and possibly some other rudimentary metadata. When such a header is present, EAC will ensure the output filename ends with &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you have chosen a codec that outputs PCM data, then you probably &#039;&#039;do&#039;&#039; want a WAV header and filename ending in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, so this option should be enabled. But if you have chosen a codec that outputs MP3 or Ogg Vorbis data, then the WAV header is optional, and in fact is probably not what you want, unless you have a specific need to put the compressed audio into a WAV file.&lt;br /&gt;
&lt;br /&gt;
For example, if you choose an MP3 codec, and you have this option disabled, then you&#039;ll generate an ordinary MP3 file, and therefore you should enter &amp;lt;code&amp;gt;.mp3&amp;lt;/code&amp;gt; in the next box (&#039;&#039;file extension for headerless files&#039;&#039;) to make sure it has a helpful filename. But if you choose an MP3 codec and you have this option enabled, then you&#039;ll generate an MP3 file that begins with a WAV header, and the filename will end in &amp;lt;code&amp;gt;.wav&amp;lt;/code&amp;gt;, and is likely to be confusing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;File extension for header files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: .raw)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the &#039;&#039;Do not write WAV header to file&#039;&#039; option is enabled, a filename extension for the output files can be specified here (e.g. &#039;&#039;.mp3&#039;&#039; for MP3 files). If the above option is disabled, this setting gets greyed out automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality (slow), &#039;&#039;&#039;Recommended: High quality (slow)&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some codecs support a quality setting to choose between a higher quality of the output files or faster encoding speed. If quality is the only matter, leave this option at the default, which is &#039;&#039;High quality (slow)&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User defined encoder&#039;&#039;, you can demarcate any portion of your custom command line as being for low- (delimit the chosen parameters with &#039;&#039;%l&#039;&#039;) and high-quality (similar but with &#039;&#039;%h&#039;&#039;) modes only and use this option to choose between the two.&lt;br /&gt;
&lt;br /&gt;
Note: EAC offers this choice of quality settings even if the selected codec doesn&#039;t use it.&lt;br /&gt;
&lt;br /&gt;
=External compression=&lt;br /&gt;
[[Image:EAC_Compression_options_External_Compression.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;External Compression&#039;&#039;&#039; tab]]&lt;br /&gt;
In this tab, all options for external compressors can be configured. As all settings are highly dependent on the particular compressor, most settings are only described here in general terms because often no specific recommendations can be given; but see the many [[:Category:EAC Guides|EAC guides]] (also linked below) written by Hydrogenaudio users for in-depth advice on topics including configuring various external encoders.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;General recommendation:&#039;&#039;&#039;&#039;&#039; To avoid unwanted side effects and to be able to configure the encoding process in every detail, &#039;&#039;User Defined Encoder&#039;&#039; should be used as &#039;&#039;Parameter passing scheme&#039;&#039; and all options should be specified via the &#039;&#039;Additional command-line options&#039;&#039; only.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Side effects&amp;quot; basically means that it is a little complex what options have which effect when another &#039;&#039;Parameter passing scheme&#039;&#039; is specified (e.g. some settings are ignored completely). These side effects are explained in the following parameters, but specifying &#039;&#039;User Defined Encoder&#039;&#039; and using the command-line options only is a lot more convenient.&lt;br /&gt;
&lt;br /&gt;
As mentioned above, there are also a few articles with details about how to configure EAC to use particular encoders:&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_FLAC EAC and FLAC]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame EAC and LAME]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_AAC EAC and Nero AAC] &lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Ogg_Vorbis EAC and OGG Vorbis]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_WavPack EAC and WavPack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Monkey%27s_Audio EAC and Monkey&#039;s Audio]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_Musepack EAC and Musepack]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=EAC_and_TAK EAC and] [[TAK]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To use an external compressor, this setting has to be enabled; otherwise, all the options here are greyed out.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
EAC comes with a few presets concerning external compressors and the required parameter passing scheme; they can be selected with this option (e.g. the &#039;&#039;Bit rate&#039;&#039; box will show all available options after a particular compressor was chosen here). But in general, the capabilities of EAC in passing parameters to external compressors are limited. In order to overcome some of these limitations, you can and should use the &#039;&#039;Additional command-line options&#039;&#039; for to pass parameters. The usual approach is setting the &#039;&#039;Parameter passing scheme&#039;&#039; to &#039;&#039;User Defined Encoder&#039;&#039; and using the &#039;&#039;Additional command-line options&#039;&#039; to specify all the encoding options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use file extension&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When using a &#039;&#039;User Defined Encoder&#039;&#039; as above, a file extension must be specified here. This should be the extension of the encoded file type (e.g. &#039;&#039;.flac&#039;&#039; when using a [[FLAC]] encoder and &#039;&#039;mp3&#039;&#039; when encoding to [[MP3]]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Program, including path, used for compression&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The absolute path to the program used for compression. This may be an .exe or a .dll file (e.g. &#039;&#039;C:\Program Files\[[LAME]]\lame.exe&#039;&#039;). By clicking on the &#039;&#039;Browse...&#039;&#039; button, this path can be chosen by a file dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additional command-line options&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here additional parameters for the external compressor can be specified. To configure the additional command-line options, you can use the placeholders listed below (taken from the [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ]. For a comprehensive overview and by-version comparison of command-line placeholders, as well as those for [[EAC Options|Naming the output file]], please see the dedicated page about [[EAC placeholders]].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 2 and newer&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %source% || Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %dest% || Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %original% || Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %ishigh%…%ishigh% || Text “…” only when “High quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %islow%…%islow% || Text “…” only when “Low quality” selected&lt;br /&gt;
|-&lt;br /&gt;
| %haslyrics%…%haslyrics% || Text “…” only when lyrics exist&lt;br /&gt;
|-&lt;br /&gt;
| %hascover%…%hascover% || Text “…” only when storing cd cover is enabled and cover exists&lt;br /&gt;
|-&lt;br /&gt;
| %crcenabled%…%crcenabled% || Text “…” only when “CRC checksum” selected&lt;br /&gt;
|-&lt;br /&gt;
| %title% || Track title&lt;br /&gt;
|-&lt;br /&gt;
| %genre% || MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %year% || Year&lt;br /&gt;
|-&lt;br /&gt;
| %cddbid% || freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %artist% || Track artist&lt;br /&gt;
|-&lt;br /&gt;
| %lyrics% || Lyrics&lt;br /&gt;
|-&lt;br /&gt;
| %lyricsfile% || Filename of lyrics text file (ANSI)&lt;br /&gt;
|-&lt;br /&gt;
| %bitrate% || Bitrate (“32″..”320″)&lt;br /&gt;
|-&lt;br /&gt;
| %comment% || Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %tracknr% || Track number&lt;br /&gt;
|-&lt;br /&gt;
| %totalcds% || Total number of CDs in the given CD set&lt;br /&gt;
|-&lt;br /&gt;
| %cdnumber% || Number of the CD&lt;br /&gt;
|-&lt;br /&gt;
| %composer% || Track performer&lt;br /&gt;
|-&lt;br /&gt;
| %trackcrc% || CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %coverfile% || Filename of CD cover image&lt;br /&gt;
|-&lt;br /&gt;
| %numtracks% || Number of tracks on album&lt;br /&gt;
|-&lt;br /&gt;
| %albumtitle% || CD title&lt;br /&gt;
|-&lt;br /&gt;
| %albumartist% || CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %albumcomposer% || CD composer&lt;br /&gt;
|-&lt;br /&gt;
| %albuminterpret% ||– CD performer&lt;br /&gt;
|-&lt;br /&gt;
| %% || The ‘%’ character&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b2 or newer command-line for the [[LAME]] MP3 encoder could look like this :&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%&amp;quot; --tc &amp;quot;%comment%&amp;quot; %source% %dest%&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%artist%&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%title%&amp;lt;/code&amp;gt;, etc.) to control LAME using this command-line.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ For EAC 1.0 beta 1 and older&lt;br /&gt;
|-&lt;br /&gt;
! placeholder&lt;br /&gt;
! meaning&lt;br /&gt;
|-&lt;br /&gt;
| %s&lt;br /&gt;
| Source filename&lt;br /&gt;
|-&lt;br /&gt;
| %d&lt;br /&gt;
| Destination filename&lt;br /&gt;
|-&lt;br /&gt;
| %h...%h&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;High quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %l...%l&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;Low quality&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %c...%c&lt;br /&gt;
| Text &amp;quot;...&amp;quot; only when &#039;&#039;CRC checksum&#039;&#039; selected&lt;br /&gt;
|-&lt;br /&gt;
| %r&lt;br /&gt;
| Bitrate (&amp;quot;32&amp;quot;..&amp;quot;320&amp;quot;) as chosen in the &#039;&#039;Bit rate&#039;&#039; option&lt;br /&gt;
|-&lt;br /&gt;
| %a&lt;br /&gt;
| CD artist&lt;br /&gt;
|-&lt;br /&gt;
| %g&lt;br /&gt;
| CD title&lt;br /&gt;
|-&lt;br /&gt;
| %t&lt;br /&gt;
| Track title&lt;br /&gt;
|-&lt;br /&gt;
| %y&lt;br /&gt;
| Year&lt;br /&gt;
|-&lt;br /&gt;
| %n&lt;br /&gt;
| Track number&lt;br /&gt;
|-&lt;br /&gt;
| %m&lt;br /&gt;
| MP3 music genre&lt;br /&gt;
|-&lt;br /&gt;
| %o&lt;br /&gt;
| Original filename (without temporary renaming)&lt;br /&gt;
|-&lt;br /&gt;
| %e&lt;br /&gt;
| Comment (as selected in EAC)&lt;br /&gt;
|-&lt;br /&gt;
| %b&lt;br /&gt;
| CRC of extracted track&lt;br /&gt;
|-&lt;br /&gt;
| %f&lt;br /&gt;
| freedb ID&lt;br /&gt;
|-&lt;br /&gt;
| %x&lt;br /&gt;
| Number of tracks on album&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
So, an exemplary EAC 1.0b1 or earlier command-line for the [[LAME]] MP3 encoder could look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;-V 0 --vbr-new --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tl &amp;quot;%g&amp;quot; --tg &amp;quot;%m&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; --tc &amp;quot;%e&amp;quot; %s %d&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, the command-line options of LAME (e.g. &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--ta&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--tt&amp;lt;/code&amp;gt;, etc.) are used in conjunction with the EAC placeholders (e.g. &amp;lt;code&amp;gt;%a&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;%t&amp;lt;/code&amp;gt;, etc.) to control LAME only by this command-line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Bit rate&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
What is shown in this drop-down box depends on the &#039;&#039;Parameter passing scheme&#039;&#039; selected and specifies the bit rate/quality settings of the external compressor.  This setting is also used to calculate the approximate size of the compressed tracks shown in EAC&#039;s main window.&lt;br /&gt;
&lt;br /&gt;
In the case that &#039;&#039;User Defined Encoder&#039;&#039; is selected as the &#039;&#039;Parameter passing scheme&#039;&#039;, this setting does not have an effect unless the  &amp;lt;code&amp;gt;%bitrate%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%r&amp;lt;/code&amp;gt;) parameter is specified in the &#039;&#039;Additional command-line options&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Quality setting&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: High quality, &#039;&#039;&#039;Recommended: High quality&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Many encoders offer the choice between better quality or faster encoding speed. This option is designated to choose between these two settings, but the precise behavior depends on what is selected on the &#039;&#039;Parameter passing scheme&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
If &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this option does not have an effect unless the &amp;lt;code&amp;gt;%ishigh%…%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h…%h&amp;lt;/code&amp;gt;) and  &amp;lt;code&amp;gt;%islow%…%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l…%l&amp;lt;/code&amp;gt;) parameters are used in the &#039;&#039;Additional command-line options&#039;&#039; (see below).&lt;br /&gt;
&lt;br /&gt;
When any other &#039;&#039;Parameter passing scheme&#039;&#039; is used, this setting is reflected on the particular encoder. When using LAME for instance, &#039;&#039;High quality&#039;&#039; corresponds to the &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt; switch, whereas &#039;&#039;Low quality&#039;&#039; uses the &amp;lt;code&amp;gt;-f&amp;lt;/code&amp;gt; switch (in this case, these switches specify the &amp;quot;Noise shaping and psycho acoustic algorithms&amp;quot;, means choice between quality and encoding speed). This is another reason that it is advisable to use a completely custom &#039;&#039;User defined encoder&#039;&#039;; but if you &#039;&#039;do&#039;&#039; use another scheme, you will probably want to ensure that &#039;&#039;High quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
As already mentioned above, with this setting it is also possible to configure the &#039;&#039;Additional command-line option&#039;&#039; even further: by delimiting chosen portions of your command line with the placeholders  &amp;lt;code&amp;gt;%ishigh%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%h&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;%islow%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%l&amp;lt;/code&amp;gt;), you can specify two alternate settings for the external compressor to use depending on this option. The following example (simplified) shows how to use this feature (again with LAME):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;%ishigh%-V0%ishigh% %islow%-V5%islow% --vbr-new %source% %dest%   (formerly  %h-V0%h%l-V5%l --vbr-new %s %d)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, if the &#039;&#039;High quality&#039;&#039; option is chosen, LAME will encode with &amp;lt;code&amp;gt;-V0&amp;lt;/code&amp;gt;; whereas it will encode at &amp;lt;code&amp;gt;-V5&amp;lt;/code&amp;gt; when &#039;&#039;Low quality&#039;&#039; is selected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Delete WAV after compression&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If this setting is enabled, EAC automatically deletes the extracted WAV file after compression. If you do not need these files (of course the compressed files are kept) after extraction/compression, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use CRC check&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders have the ability to store a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC] checksum (cyclic redundancy check) in the resulting (compressed) file. This might be used then to check the consistency of this file during playback. But enabling this CRC check has two major drawbacks: First, this will add 16 bits (the CRC value) on every frame of the encoded file and will possibly increase the file size considerably. Second, many encoders do not support this feature very well because of calculating wrong CRC checksums. So usually players will simply ignore this information. This option also has no effect at all when selected &#039;&#039;User Defined Encoder&#039;&#039; at the &#039;&#039;Parameter passing scheme&#039;&#039;. Thus having more disadvantages, it is generally recommended to disable this option regardless of the encoder used.&lt;br /&gt;
&lt;br /&gt;
When &#039;&#039;User Defined Encoder&#039;&#039; is chosen, this setting allows additional parameters to take effect using the &amp;lt;code&amp;gt;%crcenabled%…%crcenabled%&amp;lt;/code&amp;gt; (formerly &amp;lt;code&amp;gt;%c...%c&amp;lt;/code&amp;gt;) placeholder, otherwise it has no effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, EAC writes [[ID3]] tags to the compressed files.  Make sure only to use this setting with mp3 files.  Formats such as flac, TAK, WavPack, Monkey&#039;s Audio and Ogg Vorbis were not intended to use ID3 tags and adding such tags may cause problems.&lt;br /&gt;
&lt;br /&gt;
Another possibility to include ID3 tagging is to use the external compressor itself to tag the resulting files. This would be done via the &#039;&#039;Additional command-line options&#039;&#039;. Indeed, it is recommended to use this where available, as seen in the above example command lines for LAME. (If this option is enabled &#039;&#039;and&#039;&#039; tagging instructions are included in the command line, the latter have no effect because EAC immediately overwrites the tags written by the encoder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this setting is enabled, EAC checks the return code of an external compressor. When the external compressor returns an error code (e.g. because of a wrong command-line parameter was used), EAC shows this error message in a dialog box. So, it’s recommended to enable this option in order to diagnose any errors.&lt;br /&gt;
&lt;br /&gt;
=Offset=&lt;br /&gt;
[[Image:EAC_Compression_options_Offset.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;Offset&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers options regarding offset correction during encoding/decoding and the ID3 tag comment field.&lt;br /&gt;
&lt;br /&gt;
Note: The offset mentioned here has nothing to do with a [[Exact Audio Copy#Offset technology|drive offset]] and therefore should not be mistaken for the latter. In addition, most popular encoders now have their own built-in compensation for encoding offsets, and certain decoders can use this to eliminate any unwanted gaps; in such cases, these options are unnecessary.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some encoders will have an offset when encoding. This means that at the beginning of a track they often add some silence, whereas a few samples could be missing at the end. When decoding again, this could result in some unwanted gaps. This options offers now the opportunity to correct this encoding/decoding offset so that the original file can be reconstructed (at least concerning correct beginning/end of a track; with [[Lossy|lossy]] formats the original file can not be reconstructed completely). The point behind this option is that is possible that there is such an offset between the codec which is used for encoding (the actual codec) and the other one used for decoding (default installed codec). An example would be using [[LAME]] for MP3 encoding and the Fraunhofer codec for decoding. In this case, this option would be useful.&lt;br /&gt;
&lt;br /&gt;
So, if you decode your encoded files and experience some unwanted gaps in the decoded files, then you should try to enable this option and configure it accordingly (see below). In all other cases, leave this option disabled—especially when you encode and decode with the same encoder or, as noted above, programs that themselves account for encoding/decoding delay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Sample offset&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: 0)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When enabling the option &#039;&#039;Use Offset Correction for encoding and decoding&#039;&#039;, a sample offset has to be entered here. With a click on the button &#039;&#039;Detect Offset...&#039;&#039; the correct offset can be recognized automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use LAME command-line encoder/decoder for decoding MP3 files&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option is usually greyed out. To make it available, a [[LAME]] executable (lame.exe) has to be placed in the EAC directory. This has to be done manually.&lt;br /&gt;
&lt;br /&gt;
If this option is enabled then, LAME is used automatically to decode MP3 files (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Decompress...&#039;&#039;). This overrides EAC&#039;s behavior which uses the Fraunhofer codec for MP3 decoding by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of the ID3 tag comment field on extraction&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When the option &#039;&#039;Add [[ID3]] tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab is enabled, this setting specifies what information should be stored in the comment field. When EAC is not used to tag compressed files and tagging is completely done via command-line parameters, this setting specifies the contents of the &amp;quot;%e&amp;quot; placeholder, which can then be included in the command line of each newly encoded file. The following options are available:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Write &amp;quot;Track &amp;lt;tracknumber&amp;gt;&amp;quot; into ID3 tag comment field&#039;&#039;&#039; &#039;&#039;(Default: enabled)&#039;&#039;: track number is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write CRC checksums into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Cyclic_redundancy_check CRC checksum] is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write freedb ID into ID3 tag comment field&#039;&#039;&#039;: a [http://en.wikipedia.org/wiki/Freedb freedb] ID is written into the comment field.&lt;br /&gt;
* &#039;&#039;&#039;Write following text into ID3 tag comment field&#039;&#039;&#039;: text of your own choice is written into the comment field.&lt;br /&gt;
&lt;br /&gt;
=ID3 Tag=&lt;br /&gt;
[[Image:EAC_Compression_options_ID3_Tag.png|thumb|right|Recommended settings EAC &#039;&#039;&#039;compression options&#039;&#039;&#039;, &#039;&#039;&#039;ID3 Tag&#039;&#039;&#039; tab]]&lt;br /&gt;
This tab offers some options regarding the [[ID3]] [[tag]]ging capabilities of EAC. Note that the option &#039;&#039;Add ID3 tag&#039;&#039; in the &#039;&#039;External Compression&#039;&#039; tab has to be enabled for all these settings to have an effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v1.1 tags instead of ID3v1.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When this option is enabled, [[ID3v1.1]] tags are used instead of [[ID3v1|ID3v1.0]] tags. The only difference between the two is that the former can additionally store a track number. Because most players are capable of reading ID3v1.1 tags, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Additionally write ID3v2 tags, using a padding of X kB&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled/4, &#039;&#039;&#039;Recommended: enabled/4&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
With this option enabled, EAC writes [[ID3v2]] (ID3v2.3) tags to the encoded files, in addition to the ID3v1 tags. Because ID3v2 tags have a lot advantages over ID3v1 tags (e.g. [http://en.wikipedia.org/wiki/Unicode Unicode]] support) and are supported by most players, it is recommended to enable this option.&lt;br /&gt;
&lt;br /&gt;
As ID3v2 tags are usually placed in front of a file, there may be a problem with altering or adding tags once the file is written. If tags are added or existing tags are becoming bigger, the ID3 chunk in a file will need some more space. In the worst case, the whole audio file has to be rewritten, which may be time consuming.&lt;br /&gt;
&lt;br /&gt;
This is where padding comes into play. When using padding, some additional space is added to the file while encoding to store such added or growing tags. In this case, the file does not have to be rewrittten completely, only this additional padding space is used when tags are added or altered. This makes adding/altering tags a lot more convenient and faster. The only disadvantage of padding is that the encoded files are a little bigger. EAC suggests a padding size of 4 KB. This means that every encoded file will be 4 KB bigger in size compared to a file which does not use padding. So if it is likely that you change or add some tags after the file has been created, then you should leave this option at 4 KB (or fit it your needs). If saving space (e.g. for mobile usage) is more important for you, then you can set this setting to 0 KB.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use ID3v2.4.0 tags instead of ID3v2.3.0 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: disabled, &#039;&#039;&#039;Recommended: disabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v2.4 is the latest development of this standard and has a few advantages over ID3v2.3 (e.g. allows usage of [http://en.wikipedia.org/wiki/UTF-8 UTF-8] character encoding). However, support for ID3v2.4 has not historically been very universal.  If you have a need for ID3v2.4 tags and your hardware and software supports it then feel free to enable this option.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Is the above still valid for newer versions? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Use track format xx/xx in ID3v2 tags (e.g. 01/16)&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: enabled, &#039;&#039;&#039;Recommended: enabled&#039;&#039;&#039;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
ID3v1 is only able to store the track number itself (e.g. &amp;quot;05&amp;quot;). With ID3v2 it is possible to store also the number of total tracks (e.g. &amp;quot;05/15&amp;quot;). If you wish to keep this information with your files, leave this option enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Construction of filenames from ID3 tags&#039;&#039;&#039;&lt;br /&gt;
:: &#039;&#039;(Default: %T - %A)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This option specifies how file names are constructed from ID3 tags when using the rename feature of EAC (&#039;&#039;Tools&#039;&#039; -&amp;gt; &#039;&#039;Rename From ID3 Tags...&#039;&#039;). You can use placeholder to build up the filename.&lt;br /&gt;
&lt;br /&gt;
=External links=&lt;br /&gt;
&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ (placeholders for command-line options)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Cyclic_redundancy_check Wikipedia: CRC (Cyclic Redundancy Check)]&lt;br /&gt;
* [http://www.sonicspot.com/guide/wavefiles.html The Sonic Spot: Wave File Format]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Resource_Interchange_File_Format Wikipedia: RIFF (Resource Interchange File Format)]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Id3 Wikipedia: ID3]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:EAC Guides]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cdparanoia&amp;diff=26607</id>
		<title>Cdparanoia</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cdparanoia&amp;diff=26607"/>
		<updated>2016-05-16T22:29:38Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* CD Ripping software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = cdparanoia III&lt;br /&gt;
| logo =&lt;br /&gt;
| screenshot = &lt;br /&gt;
| caption = fully featured CD ripping library&lt;br /&gt;
| maintainer = [http://en.wikipedia.org/wiki/Chris_Montgomery Christopher Montgomery] &lt;br /&gt;
| stable_release = 10.2 &lt;br /&gt;
| preview_release = 10.1   &lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Extraction Library API&lt;br /&gt;
| license = GPL&lt;br /&gt;
| website = http://www.xiph.org/paranoia/&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&#039;&#039;&#039;cdparanoia&#039;&#039;&#039; is a bit different than most other CD-DA extration tools. It contains few-to-no &#039;&#039;&#039;extra&#039;&#039;&#039; features (&amp;quot;Too many features spoil the broth&amp;quot;) , concentrating only on the ripping process and knowing as much as possible about the hardware performing it. cdparanoia will read correct, rock-solid audio data from inexpensive drives prone to misalignment, frame jitter, and loss of streaming during atomic reads. cdparanoia will also read and repair data from CDs that have been damaged in some way using interpolation and padding sectors with silence or 0 bytes.  &lt;br /&gt;
&lt;br /&gt;
cdparanoia is more or less the only secure ripper available for the Linux operating system and works best on drives that have the Accurate Stream feature and do not cache audio data. &lt;br /&gt;
&lt;br /&gt;
==Revisions== &lt;br /&gt;
There have been series of bugfixes to cdparanoia, which date back to 9.8 release in 2001. Many of them include, pre-gap detection, buffering patches, kernel interface changes (CD-ROM routines), and support for [http://sg.torque.net/sg/sg_io.html SG_IO] (application/SCSI commands). These were done in preperation for the stable 10.2 release. This is the last release before cdparanoia IV, which will not be backwards compatible with any of the previous versions. &lt;br /&gt;
&lt;br /&gt;
Recently version 10.2 addresses serious CD-ROM drive cache modelling deficiencies that existed in earlier versions. In a nutshell, a sizable fraction of modern drives exhibit new and exciting readahead cache abuses/bugs of which older versions of cdparanoia were not fully aware. This means that skips and cracks could slip through the cache management strategy of older versions completely undetected. 10.2 fully addresses and models these new cache behaviors&lt;br /&gt;
&lt;br /&gt;
==Status indicators==&lt;br /&gt;
The following smilies (from the cdparanoia manual) are use to to determine cdparanoia mode of operation and its output from the command-line. &lt;br /&gt;
&lt;br /&gt;
 :-)        Normal operation, low/no jitter&lt;br /&gt;
 :-|        Normal operation, considerable jitter&lt;br /&gt;
 :-/        Read drift&lt;br /&gt;
 :-P        Unreported loss of streaming in atomic read operation&lt;br /&gt;
 8-|        Finding read problems at same point during re-read; hard to correct&lt;br /&gt;
 :-0        SCSI/ATAPI transport error&lt;br /&gt;
 :-(        Scratch detected&lt;br /&gt;
 ;-(        Gave up trying to perform a correction&lt;br /&gt;
 8-X        Aborted read due to known, uncorrectable error&lt;br /&gt;
 :^D        Finished extracting&lt;br /&gt;
&lt;br /&gt;
==CD Ripping software== &lt;br /&gt;
This is a list of Digital Audio Extraction tools, which use libparanoia by platform: &lt;br /&gt;
=== Windows ===&lt;br /&gt;
* [[CDex]]&lt;br /&gt;
* [[fre:ac]]&lt;br /&gt;
&lt;br /&gt;
=== Mac OS/X ===&lt;br /&gt;
* [[Max]] (custom port)&lt;br /&gt;
* [[XLD]] (custom port)&lt;br /&gt;
* [[FireStarter FX]] (for ripping)&lt;br /&gt;
* [[fre:ac]]&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
* [[abcde]] (command-line based)&lt;br /&gt;
* [[fre:ac]]&lt;br /&gt;
* [[Grip]] &lt;br /&gt;
* [http://thomas.apestaart.org/morituri/trac morituri] - command line usage only, since apparently there is no GUI yet available&lt;br /&gt;
* [[Rubyripper]]  (custom port)&lt;br /&gt;
* [[X-CD-Roast]]  (for ripping)&lt;br /&gt;
* [http://sourceforge.net/projects/ripperx/ ripperX] an X front end for cdparanoia and the 8Hz-mp3 MPEG encoder. Supports Ogg Vorbis, FLAC, and MP3 encoding. &lt;br /&gt;
* [http://cdrdao.sourceforge.net/ CDRDAO] (for ripping) the original disk-at-once burning tool for Linux/UNIX.&lt;br /&gt;
* [http://www.icefox.net/programs/?program=KAudioCreator KAudioCreator]&lt;br /&gt;
* some other Linux CD [https://www.xiph.org/paranoia/links.html rippers] also use Cdparanoia  &amp;lt;!-- [http://freshmeat.net/search/?q=cdparanoia&amp;amp;section=projects]  -  this link was originally mentioned here but seem to be dead --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://xiph.org/paranoia/news.html cdparanoia homepage] official xiph.org page of the libparanoia tools.&lt;br /&gt;
* [http://www.xiph.org/paranoia/manual.html user manual] includes a description of using cdparanoia from the command-line. &lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=65873 cdparanoia 10.2 thread] regarding latest stable release. &lt;br /&gt;
&lt;br /&gt;
[[Category:CD Rippers]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26512</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26512"/>
		<updated>2015-10-08T12:13:35Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* VBR (variable bitrate) settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| logo = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| screenshot =&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.99&lt;br /&gt;
| preview_release = 3.100&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website], Download site: [http://www.rarewares.org/mp3-lame-bundle.php Rarewares LAME-bundle]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality MP3 encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--extra whitespace here to provide a margin for the Table of Contents--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources.&amp;lt;ref&amp;gt;dist10 is the rudimentary &amp;quot;demonstration&amp;quot; MP3 encoder described in the MPEG-2 standard, ISO/IEC 13818.&amp;lt;/ref&amp;gt; That branch (a patch against the reference sources) became LAME 2.0. By the release of LAME 3.81, all dist10 code was removed, making LAME a completely new program, not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid &amp;amp; high bitrates, and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, and others. Development is ongoing.&lt;br /&gt;
&lt;br /&gt;
Although LAME is generally considered to be an encoder, according to the LAME technical FAQ, it&#039;s technically not an encoder, but rather is officially just &amp;quot;a development project which uses the open source model to improve MP3 technology.&amp;quot; This improved technology is only released in source code form in order to minimize the risk of violating patents. When the source code is compiled and distributed, it &#039;&#039;may&#039;&#039; require a license from Thomson, depending on where and how it&#039;s to be used. The LAME project&#039;s position is &amp;quot;Source code is considered as speech, which may contain descriptions of patented technology. Descriptions of patents are in the public domain.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
LAME source code is maintained in a CVS repository, and the only official codebase for public use is the trunk code tagged &amp;quot;MAIN&amp;quot;. There are also numerous experimental branches of this code in which the developers test new ideas. One of these branches was started after the release of LAME 3.92 in 2002. To keep it from being confused with LAME 3.93 alpha versions, the code was made to self-identify as LAME 4.0 alpha 1 (in late 2002) through 4.0 alpha 14 (since 2005). This code is mainly for the developers to test optimizations and architectural changes in LAME&#039;s foundational code, ideas that may eventually be used in the main branch if and when development actually begins on LAME 4.0. However, some members of the public used this code to build working copies of &amp;quot;LAME 4.0&amp;quot; alpha versions in 2003-2005. These should not be considered actual LAME 4.0 releases and the developers do not want public feedback on them, nor do they want any more public builds to be made from this branch.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
Avoid using alpha versions of LAME. These versions have &amp;quot;a&amp;quot; in their version string and are usually only for testing changes and new features, and may result in lower quality MP3s. Use them only if you want to help the developers and provide feedback.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with LAME for highest quality MP3 encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #F0F0F0; color: black; border: 1px solid black; margin: 1em; padding: 1em 2em 1em 2em;&amp;quot;&amp;gt;&lt;br /&gt;
====Maximum quality and archiving====&lt;br /&gt;
&lt;br /&gt;
Maximum quality is achieved when, regardless of listening conditions, you are unable to detect a difference between the MP3 and the original. As demonstrated by blind [[ABX]] tests, LAME-encoded MP3s typically achieve this level of [[transparency]] when encoded with the default settings, at bitrates well below maximum. Encoding with other settings will have no effect on the quality.&lt;br /&gt;
&lt;br /&gt;
For archiving, only [[lossless]] formats like [[WavPack]], [[FLAC]], etc. are ideal; they will preserve the audio with no changes, sample-for-sample, regardless of encoder settings. In contrast, lossy formats like MP3 are designed to save space by changing the audio in subtle, often imperceptible ways, even at the encoder&#039;s maximum settings.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with best file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~245 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~225 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
These [[VBR]] settings will normally produce [[transparency|transparent]] results. Audible differences between these presets may exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with maximum file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; is an alternative to the VBR settings above.&lt;br /&gt;
&lt;br /&gt;
This [[CBR]] mode will maximize the MP3&#039;s bitrate and overall file size. The extra space may allow for some parts of the audio to be compressed with fewer sacrifices, but to date, no one has produced ABX test results demonstrating that perceived quality is ever better than the highest VBR profiles described above.&amp;lt;ref&amp;gt;Prior to version 3.99, CBR and VBR modes were encoded differently by LAME. In some unusual problem samples, these differences were sometimes audible, even at very high bitrates. Current versions of LAME encode CBR and VBR with the same psychoacoustic model, so such differences shouldn&#039;t arise from normal use.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;listening in noisy conditions, lower bitrate, smaller file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~165 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Understanding the bitrate settings==&lt;br /&gt;
MP3s are divided into frames, each frame being a particular size, expressed as a [[bitrate]]. If the bitrate of every frame is the same throughout the file, then the file is considered to be &#039;&#039;constant bit rate&#039;&#039; ([[CBR]]). Otherwise, it is &#039;&#039;variable bit rate&#039;&#039; ([[VBR]]). LAME offers CBR and VBR encoding modes, as well as a special VBR encoding mode called [[ABR]] (&#039;&#039;average bit rate&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===VBR (variable bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VBR is best used to target a specific quality level, instead of a specific bitrate. The final file size of a VBR encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V &amp;amp;lt;number&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;number&amp;gt; is between 0 and 9, 0 being highest quality, 9 being the lowest. (Note: The &amp;quot;V&amp;quot; has to be a capital letter.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fractional values are also accepted, with 9.999 being the absolute lowest quality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2.75&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 and higher, as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your command line to use that mode.&lt;br /&gt;
&lt;br /&gt;
The target bitrate and actual typical bitrate for each VBR quality level is shown in the [[#Technical information|Technical details for recommended LAME settings]] section below.&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use ABR or CBR modes, described below.&lt;br /&gt;
&lt;br /&gt;
===ABR (average bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between VBR and CBR modes, ABR encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use ABR when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits. The output is an ordinary VBR file compatible with all MP3 players that support VBR; ABR is not a special type of file, just a LAME-specific strategy for producing VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) is a value between 8 and 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;ABR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===CBR (constant bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. CBR encoding is not efficient. Whereas VBR and ABR modes can supply more bits to complex music passages and save bits on simpler ones, CBR encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
CBR is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced. There is still some variability in bitrate behind the scenes, through LAME&#039;s use of the [[bit reservoir]] feature of the MP3 format, but it is much less flexible than actual VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;CBR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] (VBR &amp;gt; ABR &amp;gt; CBR in terms of quality). However, [[ABX]] tests demonstrate that as bitrate increases, the perceptual differences diminish, with all modes generally reaching [[transparency]] well before their maximum settings; when you can&#039;t tell the difference, the modes are qualitatively the same.&lt;br /&gt;
&lt;br /&gt;
* In terms of filesize [[VBR]] tends to produce the smallest files down to -V7. For lower quality (e.g. for non-music audio such as speech) [[ABR]] will produce smaller files than [[VBR]], starting from --abr 115.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the MP3 standard, and the resulting MP3s should be playable by every MP3 decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Prior to LAME 3.98, the &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enabled the new VBR mode. This is now the default VBR mode, with the old mode being available via &amp;lt;code&amp;gt;--vbr-old&amp;lt;/code&amp;gt;. In terms of quality, the new mode appears to be better than the old, but reports of artifacts when using the new mode do exist. Despite these possible issues, the new mode is currently recommended due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
===Recommended settings details===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
! style=&amp;quot;vertical-align: bottom&amp;quot; | Switch !! style=&amp;quot;vertical-align: bottom&amp;quot; | Preset !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Target Kbps !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Typical Kbps&amp;lt;ref&amp;gt;Typical bitrates are mostly based on the results of testing with LAME 3.98.2.&amp;lt;/ref&amp;gt; !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | [[LAME Y switch|Y Switch]] !! style=&amp;quot;vertical-align: bottom&amp;quot; | Lowpass&amp;lt;ref&amp;gt;This range is the transition band of the lowpass filter. Signal components are at full intensity at the lower frequency. Higher frequencies are attenuated on a slope which reaches zero at (and beyond) the high end of the given range. Further info can be found [http://www.hydrogenaud.io/forums/index.php?s=&amp;amp;showtopic=106868&amp;amp;view=findpost&amp;amp;p=874354 in the HA forum].&amp;lt;/ref&amp;gt; !! style=&amp;quot;vertical-align: bottom&amp;quot; | Resample&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | Y&amp;lt;ref&amp;gt;CBR mode uses &amp;lt;code&amp;gt;-Y&amp;lt;/code&amp;gt; in effect; see the [[LAME Y switch]] article.&amp;lt;/ref&amp;gt; || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset extreme&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~240 || style=&amp;quot;text-align: center&amp;quot; | 220–260 || || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 1&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~220 || style=&amp;quot;text-align: center&amp;quot; | 190–250 || || style=&amp;quot;text-align: center&amp;quot; | 19383 Hz – 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset standard&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~190 || style=&amp;quot;text-align: center&amp;quot; | 170–210 || || style=&amp;quot;text-align: center&amp;quot; | 18671 Hz – 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 3&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~170 || style=&amp;quot;text-align: center&amp;quot; | 150–195 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17960 Hz – 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 4&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset medium&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~160 || style=&amp;quot;text-align: center&amp;quot; | 140–185 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17249 Hz – 17782 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 5&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~130 || style=&amp;quot;text-align: center&amp;quot; | 120–150 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 16538 Hz – 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 6&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~120 || style=&amp;quot;text-align: center&amp;quot; | 100–130 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 15115 Hz – 15648 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 7&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~100 || style=&amp;quot;text-align: center&amp;quot; | 80–120 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 14581 Hz – 14968 Hz || style=&amp;quot;text-align: right&amp;quot; | 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 8&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~80 || style=&amp;quot;text-align: center&amp;quot; | 70–105 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 12516 Hz – 12903 Hz || style=&amp;quot;text-align: right&amp;quot; | 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 9&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~70 || style=&amp;quot;text-align: center&amp;quot; | 45–85 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 9336 Hz – 9602 Hz || style=&amp;quot;text-align: right&amp;quot; | 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The default lowpass settings were not chosen at random; for general use, they are as high as they can be without putting quality at risk. Raising the the cutoff via command-line options is not recommended. See the [[high-frequency content in MP3s]] article for more info.&lt;br /&gt;
&lt;br /&gt;
===Fraunhofer decoder incompatibility===&lt;br /&gt;
Differing interpretations of an unclear portion of the MP3 spec led to a Windows-specific version of the Fraunhofer IIS MP3 decoder being unable to properly play certain MP3s created with certain versions of LAME.&lt;br /&gt;
&lt;br /&gt;
In order to demonstrate the problem, the problematic MP3 must have been created with LAME 3.97 or earlier, and must contain a frame with certain parameters and a very large amount of data, such as a 320-kbps frame which makes heavy use of the [[bit reservoir]]. The decoder must be the DirectShow filter &amp;lt;code&amp;gt;l3codecx.ax&amp;lt;/code&amp;gt; version 1.5.0 or lower, as used by Windows Media Player on versions of Windows prior to Windows Vista. An [http://support.microsoft.com/kb/2115168/en-us August 2010 security update] for Windows XP and Server 2003 upgraded this filter to version 1.6.0, which can play the problematic MP3s. Windows Vista shipped with the older version but Windows Media Player uses a different filter, and later versions of Windows don&#039;t have the old filter at all.&lt;br /&gt;
&lt;br /&gt;
A workaround was implemented in LAME 3.98.0 beta 1 through LAME 3.98.2, and in LAME 3.99 alpha 1, whereby 320-kbps frames were limited in how much of the bit reservoir they could use. This resulted in wasted space when the bit reservoir would grow beyond the limit. In LAME 3.98.3 and beyond, and in LAME 3.99 alpha 2 and beyond, the method was changed such that the bit reservoir can&#039;t grow beyond the limit.&lt;br /&gt;
&lt;br /&gt;
Related discussion threads:&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=40308 LAME high bitrate files in l3codeca.ax]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=78114 Lame 3.98 wastes bits]&lt;br /&gt;
&lt;br /&gt;
===VBR header and LAME tag===&lt;br /&gt;
&lt;br /&gt;
LAME supports the &#039;&#039;de facto&#039;&#039; standard of adding an extra frame of silence to the beginning of MP3 files. This &amp;quot;VBR header&amp;quot; or &amp;quot;Info tag&amp;quot; provides a home for precise info about the audio duration and a table of seek points. It is mainly for the benefit of players working with VBR files. Decoders usually treat the frame as informational, rather than playing the audio.&lt;br /&gt;
&lt;br /&gt;
LAME uses the Xing format for this header, and extends it by embedding a 20-byte &amp;quot;LAME tag&amp;quot; with additional info:&lt;br /&gt;
* a short version string (9 ASCII bytes; see [[LAME version string]])&lt;br /&gt;
* audio and info tag CRCs (since LAME 3.90)&lt;br /&gt;
* separate delay &amp;amp; padding values for gapless playback (since LAME 3.90)&lt;br /&gt;
* various encoder settings (since LAME 3.90, expanded in 3.94 to include presets)&lt;br /&gt;
&lt;br /&gt;
Prior to LAME 3.94, the VBR header was only written in VBR files. Since 3.94, it is written to CBR files, too, with &amp;quot;Info&amp;quot; instead of &amp;quot;XING&amp;quot; at the beginning.&lt;br /&gt;
&lt;br /&gt;
Details are in this wiki&#039;s [[MP3#VBRI, XING, and LAME headers|MP3 article]] and [[LAME version string]] article, and in LAME developer Gabriel Bouvigne&#039;s [http://gabriel.mp3-tech.org/mp3infotag.html MP3 Info Tag] documentation.&lt;br /&gt;
&lt;br /&gt;
===Hey! What happened to &amp;quot;--alt-preset&amp;quot;?===&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90. It was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions.&lt;br /&gt;
&lt;br /&gt;
Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, allowing finer control over the desired quality level and bitrate. The &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backward compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command-line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the table above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command-line options will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[LAME Y switch|The -Y switch]]&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[CBR]]&lt;br /&gt;
* [[VBR]]&lt;br /&gt;
* [[ABR]]&lt;br /&gt;
* [[Exact Audio Copy]]&lt;br /&gt;
* [[EAC and Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
&amp;lt;!--ReallyRarewares and the rest of rjamorim.com is gone. If the content is back online, please restore &amp;amp; update these links.&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;br /&gt;
[[Category:MP3]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26506</id>
		<title>EAC and Lame</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26506"/>
		<updated>2015-10-02T14:42:33Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: /* Configuring the Additional command line options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Important note===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From EAC 1.0 beta 2, the replacement strings changed&#039;&#039;&#039;. For example:&lt;br /&gt;
* &amp;quot;%s&amp;quot; is now &amp;quot;%source%&amp;quot;&lt;br /&gt;
* &amp;quot;%d&amp;quot; is now &amp;quot;%dest%&amp;quot;&lt;br /&gt;
* &amp;quot;%a&amp;quot; is now &amp;quot;%artist%&amp;quot;&lt;br /&gt;
* &amp;quot;%l&amp;quot; is now &amp;quot;%islow%&amp;quot;&lt;br /&gt;
* &amp;quot;%h&amp;quot; is now &amp;quot;%ishigh%&amp;quot;&lt;br /&gt;
See the full list in the [http://wiki.hydrogenaud.io/index.php?title=EAC_placeholders EAC Placeholders] page, the [http://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options#External_Compression EAC Compression Options guide] or in the original [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ].&lt;br /&gt;
&lt;br /&gt;
===Software Needed===&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME Recommended LAME version]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide has now been amended to reflect changes made to LAME as of 3.98.  --vbr-new is now the default setting and is no longer explicitly required.  In addition, non-standard genres are now handled more elegantly.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide assumes that EAC has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.&lt;br /&gt;
* Unzip the chosen LAME version into the same directory as EAC.&lt;br /&gt;
* If you would like to tag with APEv2 tags please download [http://www.rarewares.org/files/others/wapet.zip wapet.zip] and unzip it into the &#039;&#039;&#039;same folder&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===General Configuration===&lt;br /&gt;
&lt;br /&gt;
* Open EAC and insert a CD into the drive.&lt;br /&gt;
* Click the &#039;&#039;&#039;EAC&#039;&#039;&#039; menu and select &#039;&#039;&#039;Compression Options&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;External Compression&#039;&#039;&#039; Tab, and put a check box in &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;.&lt;br /&gt;
* Change &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039; to &#039;&#039;&#039;User Defined Encoder&#039;&#039;&#039; (see [http://www.hydrogenaudio.org/forums/index.php?showtopic=57617 this thread] for reasoning).&lt;br /&gt;
* Change &#039;&#039;&#039;Use file extension&#039;&#039;&#039; to &#039;&#039;&#039;.mp3&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and locate the &#039;&#039;&#039;lame.exe&#039;&#039;&#039; that you unzipped into the EAC directory earlier.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to tag with APEv2 tags using Wapet  please locate &#039;&#039;&#039;wapet.exe&#039;&#039;&#039;, not lame.exe.&lt;br /&gt;
* Don&#039;t worry which bit rate is shown in the &#039;&#039;&#039;Bit rate&#039;&#039;&#039; drop-down box, as this will not have any effect on the resultant MP3 file unless the %bitrate% placeholder is used (see end of the [[EAC_and_Lame#Advanced_Command_Line_Usage| Advanced Command Line Usage section]]).&lt;br /&gt;
* Don&#039;t worry about the &#039;&#039;&#039;Use CRC check&#039;&#039;&#039; setting; it won&#039;t affect the resultant MP3 file either.&lt;br /&gt;
* It&#039;s a good idea to tick &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Additional command line options===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;green&#039;&#039;&#039;&amp;lt;/font&amp;gt; portion in the examples following this section is where you configure the [[LAME#Encoder_Presets| LAME preset]].&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;%source%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%s&#039;&#039;&#039;) and &#039;&#039;&#039;%dest%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%d&#039;&#039;&#039;)  in the examples following this section are placeholders for EAC. &#039;&#039;&#039;%source%&#039;&#039;&#039; means &#039;&#039;&#039;source&#039;&#039;&#039; filename and  &#039;&#039;&#039;%dest%&#039;&#039;&#039; means &#039;&#039;&#039;destination&#039;&#039;&#039; filename.  These are absolutely necessary!&lt;br /&gt;
&lt;br /&gt;
* For specifics see the LAME [http://lame.cvs.sourceforge.net/viewvc/lame/lame/USAGE usage instructions].&lt;br /&gt;
&lt;br /&gt;
===Adding Tags===&lt;br /&gt;
&lt;br /&gt;
Note: Always use the &#039;&#039;&#039;[Test Encoder]&#039;&#039;&#039; Button to check your Command Line string. With EAC V1.0 beta 3 if you get a message: &amp;quot;Invalid replacement tag found !&amp;quot; try replacing&amp;lt;br&amp;gt; &lt;br /&gt;
each occurance of &amp;quot;%&amp;quot; with &amp;quot;%%&amp;quot; since you need to use double percent so one can be escaped and allow the second one to be passed to Lame.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let EAC create tags (Recommended)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To have EAC tag your files, tick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Create files with no tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you do not wish to have tags, untick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let Lame create tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer to have Lame tag the files based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Here are some examples providing different tag types:&lt;br /&gt;
&lt;br /&gt;
* ID3v1 only:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v1-only --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only :&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; %source% %dest%&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only (before EAC version 1.0b2 - for comparison):&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tg &amp;quot;%m&amp;quot; --tl &amp;quot;%g&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; &#039;&#039;&#039;%s %d&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v1 and ID3v2:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --add-id3v2 --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Automatic:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
With Automatic, ID3v1 will always be created.  If any ID3v1 field exceeds the length allowed by the ID3v1 specification then a complete ID3v2 tag will also be added.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Use Wapet to create APEv2 tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer instead to have APEv2 tags based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Creating APE tags requires [http://www.rarewares.org/files/others/wapet.zip wapet.exe]. Remember to browse for wapet.exe instead of lame.exe as the external encoding program. Also, lame.exe needs to be in the same directory as wapet.exe.&lt;br /&gt;
&lt;br /&gt;
Use the following string:&lt;br /&gt;
 &#039;&#039;&#039;%dest%&#039;&#039;&#039; -t &amp;quot;Artist=%artist%&amp;quot; -t &amp;quot;Title=%title%&amp;quot; -t &amp;quot;Album=%albumtitle%&amp;quot; -t &amp;quot;Year=%year%&amp;quot; -t &amp;quot;Track=%tracknr%/%numtracks%&amp;quot; -t &amp;quot;Genre=%genre%&amp;quot; LAME.exe &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Advanced Command Line Usage===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;%islow%...%islow%&#039;&#039;&#039;&amp;lt;/font&amp;gt; and &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;%ishigh%...%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholders are used to add text according to whether the High quality or Low quality radio button is selected, as shown below:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%%ishigh%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Therefore, if you select &#039;&#039;&#039;Low quality&#039;&#039;&#039;, EAC will invoke the LAME encoder with the following command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V5&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
..and if you select &#039;&#039;&#039;High quality&#039;&#039;&#039; EAC will invoke LAME with these command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V0&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You can access the bitrate value in the drop-down list using the &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholder, for example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So, if you selected &#039;&#039;&#039;192 kBit/s&#039;&#039;&#039; in the &#039;&#039;&#039;Bit Rate&#039;&#039;&#039; drop-down list, the command line would be:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;192&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is a generally accepted fact that the bitrate selected in the drop-down list doesn&#039;t affect the command line. In essence this is true, as it will not affect the command line &#039;&#039;unless you use the &#039;&#039;&#039;%bitrate%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%r&#039;&#039;&#039;) placeholder&#039;&#039;. However, the bitrate needs only be set when using ABR or CBR over VBR, which is not recommended for better quality audio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:EAC_LAME02.png|frame|center|LAME configured with ID3v1 tagging (and replacement strings used before EAC version 1.0 beta 2)]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:EAC Guides|LAME &amp;amp; EAC]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26505</id>
		<title>EAC and Lame</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26505"/>
		<updated>2015-10-02T14:35:09Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Important note===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From EAC 1.0 beta 2, the replacement strings changed&#039;&#039;&#039;. For example:&lt;br /&gt;
* &amp;quot;%s&amp;quot; is now &amp;quot;%source%&amp;quot;&lt;br /&gt;
* &amp;quot;%d&amp;quot; is now &amp;quot;%dest%&amp;quot;&lt;br /&gt;
* &amp;quot;%a&amp;quot; is now &amp;quot;%artist%&amp;quot;&lt;br /&gt;
* &amp;quot;%l&amp;quot; is now &amp;quot;%islow%&amp;quot;&lt;br /&gt;
* &amp;quot;%h&amp;quot; is now &amp;quot;%ishigh%&amp;quot;&lt;br /&gt;
See the full list in the [http://wiki.hydrogenaud.io/index.php?title=EAC_placeholders EAC Placeholders] page, the [http://wiki.hydrogenaudio.org/index.php?title=EAC_Compression_Options#External_Compression EAC Compression Options guide] or in the original [http://www.exactaudiocopy.de/en/index.php/support/faq/ EAC FAQ].&lt;br /&gt;
&lt;br /&gt;
===Software Needed===&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME Recommended LAME version]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide has now been amended to reflect changes made to LAME as of 3.98.  --vbr-new is now the default setting and is no longer explicitly required.  In addition, non-standard genres are now handled more elegantly.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide assumes that EAC has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.&lt;br /&gt;
* Unzip the chosen LAME version into the same directory as EAC.&lt;br /&gt;
* If you would like to tag with APEv2 tags please download [http://www.rarewares.org/files/others/wapet.zip wapet.zip] and unzip it into the &#039;&#039;&#039;same folder&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===General Configuration===&lt;br /&gt;
&lt;br /&gt;
* Open EAC and insert a CD into the drive.&lt;br /&gt;
* Click the &#039;&#039;&#039;EAC&#039;&#039;&#039; menu and select &#039;&#039;&#039;Compression Options&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;External Compression&#039;&#039;&#039; Tab, and put a check box in &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;.&lt;br /&gt;
* Change &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039; to &#039;&#039;&#039;User Defined Encoder&#039;&#039;&#039; (see [http://www.hydrogenaudio.org/forums/index.php?showtopic=57617 this thread] for reasoning).&lt;br /&gt;
* Change &#039;&#039;&#039;Use file extension&#039;&#039;&#039; to &#039;&#039;&#039;.mp3&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and locate the &#039;&#039;&#039;lame.exe&#039;&#039;&#039; that you unzipped into the EAC directory earlier.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to tag with APEv2 tags using Wapet  please locate &#039;&#039;&#039;wapet.exe&#039;&#039;&#039;, not lame.exe.&lt;br /&gt;
* Don&#039;t worry which bit rate is shown in the &#039;&#039;&#039;Bit rate&#039;&#039;&#039; drop-down box, as this will not have any effect on the resultant MP3 file unless the %bitrate% placeholder is used (see end of the [[EAC_and_Lame#Advanced_Command_Line_Usage| Advanced Command Line Usage section]]).&lt;br /&gt;
* Don&#039;t worry about the &#039;&#039;&#039;Use CRC check&#039;&#039;&#039; setting; it won&#039;t affect the resultant MP3 file either.&lt;br /&gt;
* It&#039;s a good idea to tick &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Additional command line options===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;green&#039;&#039;&#039;&amp;lt;/font&amp;gt; portion in the examples following this section is where you configure the [[LAME#Encoder_Presets| LAME preset]].&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;%source%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%s&#039;&#039;&#039;) and &#039;&#039;&#039;%dest%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%d&#039;&#039;&#039;)  in the examples following this section are placeholders for EAC. &#039;&#039;&#039;%source%&#039;&#039;&#039; means &#039;&#039;&#039;source&#039;&#039;&#039; filename and  &#039;&#039;&#039;%dest%&#039;&#039;&#039; means &#039;&#039;&#039;destination&#039;&#039;&#039; filename.  These are absolutely necessary!&lt;br /&gt;
&lt;br /&gt;
===Adding Tags===&lt;br /&gt;
&lt;br /&gt;
Note: Always use the &#039;&#039;&#039;[Test Encoder]&#039;&#039;&#039; Button to check your Command Line string. With EAC V1.0 beta 3 if you get a message: &amp;quot;Invalid replacement tag found !&amp;quot; try replacing&amp;lt;br&amp;gt; &lt;br /&gt;
each occurance of &amp;quot;%&amp;quot; with &amp;quot;%%&amp;quot; since you need to use double percent so one can be escaped and allow the second one to be passed to Lame.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let EAC create tags (Recommended)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To have EAC tag your files, tick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Create files with no tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you do not wish to have tags, untick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let Lame create tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer to have Lame tag the files based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Here are some examples providing different tag types:&lt;br /&gt;
&lt;br /&gt;
* ID3v1 only:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v1-only --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only :&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; %source% %dest%&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only (before EAC version 1.0b2 - for comparison):&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tg &amp;quot;%m&amp;quot; --tl &amp;quot;%g&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; &#039;&#039;&#039;%s %d&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v1 and ID3v2:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --add-id3v2 --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Automatic:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
With Automatic, ID3v1 will always be created.  If any ID3v1 field exceeds the length allowed by the ID3v1 specification then a complete ID3v2 tag will also be added.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Use Wapet to create APEv2 tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer instead to have APEv2 tags based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Creating APE tags requires [http://www.rarewares.org/files/others/wapet.zip wapet.exe]. Remember to browse for wapet.exe instead of lame.exe as the external encoding program. Also, lame.exe needs to be in the same directory as wapet.exe.&lt;br /&gt;
&lt;br /&gt;
Use the following string:&lt;br /&gt;
 &#039;&#039;&#039;%dest%&#039;&#039;&#039; -t &amp;quot;Artist=%artist%&amp;quot; -t &amp;quot;Title=%title%&amp;quot; -t &amp;quot;Album=%albumtitle%&amp;quot; -t &amp;quot;Year=%year%&amp;quot; -t &amp;quot;Track=%tracknr%/%numtracks%&amp;quot; -t &amp;quot;Genre=%genre%&amp;quot; LAME.exe &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Advanced Command Line Usage===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;%islow%...%islow%&#039;&#039;&#039;&amp;lt;/font&amp;gt; and &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;%ishigh%...%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholders are used to add text according to whether the High quality or Low quality radio button is selected, as shown below:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%%ishigh%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Therefore, if you select &#039;&#039;&#039;Low quality&#039;&#039;&#039;, EAC will invoke the LAME encoder with the following command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V5&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
..and if you select &#039;&#039;&#039;High quality&#039;&#039;&#039; EAC will invoke LAME with these command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V0&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You can access the bitrate value in the drop-down list using the &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholder, for example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So, if you selected &#039;&#039;&#039;192 kBit/s&#039;&#039;&#039; in the &#039;&#039;&#039;Bit Rate&#039;&#039;&#039; drop-down list, the command line would be:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;192&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is a generally accepted fact that the bitrate selected in the drop-down list doesn&#039;t affect the command line. In essence this is true, as it will not affect the command line &#039;&#039;unless you use the &#039;&#039;&#039;%bitrate%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%r&#039;&#039;&#039;) placeholder&#039;&#039;. However, the bitrate needs only be set when using ABR or CBR over VBR, which is not recommended for better quality audio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:EAC_LAME02.png|frame|center|LAME configured with ID3v1 tagging (and replacement strings used before EAC version 1.0 beta 2)]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:EAC Guides|LAME &amp;amp; EAC]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26504</id>
		<title>EAC and Lame</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26504"/>
		<updated>2015-10-02T14:27:57Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Important note===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From EAC 1.0 beta 2, the replacement strings changed&#039;&#039;&#039;. For example:&lt;br /&gt;
* &amp;quot;%s&amp;quot; is now &amp;quot;%source%&amp;quot;&lt;br /&gt;
* &amp;quot;%d&amp;quot; is now &amp;quot;%dest%&amp;quot;&lt;br /&gt;
* &amp;quot;%a&amp;quot; is now &amp;quot;%artist%&amp;quot;&lt;br /&gt;
* &amp;quot;%l&amp;quot; is now &amp;quot;%islow%&amp;quot;&lt;br /&gt;
* &amp;quot;%h&amp;quot; is now &amp;quot;%ishigh%&amp;quot;&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
===Software Needed===&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME Recommended LAME version]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide has now been amended to reflect changes made to LAME as of 3.98.  --vbr-new is now the default setting and is no longer explicitly required.  In addition, non-standard genres are now handled more elegantly.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide assumes that EAC has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.&lt;br /&gt;
* Unzip the chosen LAME version into the same directory as EAC.&lt;br /&gt;
* If you would like to tag with APEv2 tags please download [http://www.rarewares.org/files/others/wapet.zip wapet.zip] and unzip it into the &#039;&#039;&#039;same folder&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===General Configuration===&lt;br /&gt;
&lt;br /&gt;
* Open EAC and insert a CD into the drive.&lt;br /&gt;
* Click the &#039;&#039;&#039;EAC&#039;&#039;&#039; menu and select &#039;&#039;&#039;Compression Options&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;External Compression&#039;&#039;&#039; Tab, and put a check box in &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;.&lt;br /&gt;
* Change &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039; to &#039;&#039;&#039;User Defined Encoder&#039;&#039;&#039; (see [http://www.hydrogenaudio.org/forums/index.php?showtopic=57617 this thread] for reasoning).&lt;br /&gt;
* Change &#039;&#039;&#039;Use file extension&#039;&#039;&#039; to &#039;&#039;&#039;.mp3&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and locate the &#039;&#039;&#039;lame.exe&#039;&#039;&#039; that you unzipped into the EAC directory earlier.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to tag with APEv2 tags using Wapet  please locate &#039;&#039;&#039;wapet.exe&#039;&#039;&#039;, not lame.exe.&lt;br /&gt;
* Don&#039;t worry which bit rate is shown in the &#039;&#039;&#039;Bit rate&#039;&#039;&#039; drop-down box, as this will not have any effect on the resultant MP3 file unless the %bitrate% placeholder is used (see end of the [[EAC_and_Lame#Advanced_Command_Line_Usage| Advanced Command Line Usage section]]).&lt;br /&gt;
* Don&#039;t worry about the &#039;&#039;&#039;Use CRC check&#039;&#039;&#039; setting; it won&#039;t affect the resultant MP3 file either.&lt;br /&gt;
* It&#039;s a good idea to tick &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Additional command line options===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;green&#039;&#039;&#039;&amp;lt;/font&amp;gt; portion in the examples following this section is where you configure the [[LAME#Encoder_Presets| LAME preset]].&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;%source%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%s&#039;&#039;&#039;) and &#039;&#039;&#039;%dest%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%d&#039;&#039;&#039;)  in the examples following this section are placeholders for EAC. &#039;&#039;&#039;%source%&#039;&#039;&#039; means &#039;&#039;&#039;source&#039;&#039;&#039; filename and  &#039;&#039;&#039;%dest%&#039;&#039;&#039; means &#039;&#039;&#039;destination&#039;&#039;&#039; filename.  These are absolutely necessary!&lt;br /&gt;
&lt;br /&gt;
===Adding Tags===&lt;br /&gt;
&lt;br /&gt;
Note: Always use the &#039;&#039;&#039;[Test Encoder]&#039;&#039;&#039; Button to check your Command Line string. With EAC V1.0 beta 3 if you get a message: &amp;quot;Invalid replacement tag found !&amp;quot; try replacing&amp;lt;br&amp;gt; &lt;br /&gt;
each occurance of &amp;quot;%&amp;quot; with &amp;quot;%%&amp;quot; since you need to use double percent so one can be escaped and allow the second one to be passed to Lame.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let EAC create tags (Recommended)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To have EAC tag your files, tick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Create files with no tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you do not wish to have tags, untick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let Lame create tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer to have Lame tag the files based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Here are some examples providing different tag types:&lt;br /&gt;
&lt;br /&gt;
* ID3v1 only:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v1-only --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only :&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; %source% %dest%&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only (before EAC version 1.0b2 - for comparison):&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tg &amp;quot;%m&amp;quot; --tl &amp;quot;%g&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; &#039;&#039;&#039;%s %d&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v1 and ID3v2:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --add-id3v2 --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Automatic:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
With Automatic, ID3v1 will always be created.  If any ID3v1 field exceeds the length allowed by the ID3v1 specification then a complete ID3v2 tag will also be added.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Use Wapet to create APEv2 tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer instead to have APEv2 tags based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Creating APE tags requires [http://www.rarewares.org/files/others/wapet.zip wapet.exe]. Remember to browse for wapet.exe instead of lame.exe as the external encoding program. Also, lame.exe needs to be in the same directory as wapet.exe.&lt;br /&gt;
&lt;br /&gt;
Use the following string:&lt;br /&gt;
 &#039;&#039;&#039;%dest%&#039;&#039;&#039; -t &amp;quot;Artist=%artist%&amp;quot; -t &amp;quot;Title=%title%&amp;quot; -t &amp;quot;Album=%albumtitle%&amp;quot; -t &amp;quot;Year=%year%&amp;quot; -t &amp;quot;Track=%tracknr%/%numtracks%&amp;quot; -t &amp;quot;Genre=%genre%&amp;quot; LAME.exe &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Advanced Command Line Usage===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;%islow%...%islow%&#039;&#039;&#039;&amp;lt;/font&amp;gt; and &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;%ishigh%...%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholders are used to add text according to whether the High quality or Low quality radio button is selected, as shown below:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%%ishigh%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Therefore, if you select &#039;&#039;&#039;Low quality&#039;&#039;&#039;, EAC will invoke the LAME encoder with the following command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V5&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
..and if you select &#039;&#039;&#039;High quality&#039;&#039;&#039; EAC will invoke LAME with these command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V0&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You can access the bitrate value in the drop-down list using the &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholder, for example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So, if you selected &#039;&#039;&#039;192 kBit/s&#039;&#039;&#039; in the &#039;&#039;&#039;Bit Rate&#039;&#039;&#039; drop-down list, the command line would be:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;192&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is a generally accepted fact that the bitrate selected in the drop-down list doesn&#039;t affect the command line. In essence this is true, as it will not affect the command line &#039;&#039;unless you use the &#039;&#039;&#039;%bitrate%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%r&#039;&#039;&#039;) placeholder&#039;&#039;. However, the bitrate needs only be set when using ABR or CBR over VBR, which is not recommended for better quality audio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:EAC_LAME02.png|frame|center|LAME configured with ID3v1 tagging (and replacement strings used before EAC version 1.0 beta 2)]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:EAC Guides|LAME &amp;amp; EAC]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26503</id>
		<title>EAC and Lame</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=EAC_and_Lame&amp;diff=26503"/>
		<updated>2015-10-02T11:58:10Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: replacement strings updated to current version, please check! (Is the wapet.exe string correct? &amp;gt; &amp;quot;%dest% -t &amp;quot;Artist=%artist%&amp;quot; -t &amp;quot;Title=%title%&amp;quot; -t &amp;quot;Album=%albumtitle%&amp;quot; -t &amp;quot;Year=%year%&amp;quot; -t &amp;quot;Track=%tracknr%/%numtracks%&amp;quot; -t &amp;quot;Genre=...&amp;quot;)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Important note===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;From EAC 1.0 beta 2, the replacement strings changed&#039;&#039;&#039;. For example:&lt;br /&gt;
* &amp;quot;%s&amp;quot; is now &amp;quot;%source%&amp;quot;&lt;br /&gt;
* &amp;quot;%d&amp;quot; is now &amp;quot;%dest%&amp;quot;&lt;br /&gt;
* &amp;quot;%a&amp;quot; is now &amp;quot;%artist%&amp;quot;&lt;br /&gt;
* &amp;quot;%l&amp;quot; is now &amp;quot;%islow%&amp;quot;&lt;br /&gt;
* &amp;quot;%h&amp;quot; is now &amp;quot;%ishigh%&amp;quot;&lt;br /&gt;
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].&lt;br /&gt;
&lt;br /&gt;
===Software Needed===&lt;br /&gt;
* [http://www.exactaudiocopy.de/en/index.php/resources/download/ Exact Audio Copy]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=Recommended_LAME Recommended LAME version]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide has now been amended to reflect changes made to LAME as of 3.98.  --vbr-new is now the default setting and is no longer explicitly required.  In addition, non-standard genres are now handled more elegantly.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; This guide assumes that EAC has been configured for secure ripping, if not please follow [[EAC_Drive_Configuration | this]] guide.&lt;br /&gt;
* Unzip the chosen LAME version into the same directory as EAC.&lt;br /&gt;
* If you would like to tag with APEv2 tags please download [http://www.rarewares.org/files/others/wapet.zip wapet.zip] and unzip it into the &#039;&#039;&#039;same folder&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===General Configuration===&lt;br /&gt;
&lt;br /&gt;
* Open EAC and insert a CD into the drive.&lt;br /&gt;
* Click the &#039;&#039;&#039;EAC&#039;&#039;&#039; menu and select &#039;&#039;&#039;Compression Options&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;External Compression&#039;&#039;&#039; Tab, and put a check box in &#039;&#039;&#039;Use external program for compression&#039;&#039;&#039;.&lt;br /&gt;
* Change &#039;&#039;&#039;Parameter passing scheme&#039;&#039;&#039; to &#039;&#039;&#039;User Defined Encoder&#039;&#039;&#039; (see [http://www.hydrogenaudio.org/forums/index.php?showtopic=57617 this thread] for reasoning).&lt;br /&gt;
* Change &#039;&#039;&#039;Use file extension&#039;&#039;&#039; to &#039;&#039;&#039;.mp3&#039;&#039;&#039;.&lt;br /&gt;
* Click the &#039;&#039;&#039;Browse&#039;&#039;&#039; button and locate the &#039;&#039;&#039;lame.exe&#039;&#039;&#039; that you unzipped into the EAC directory earlier.&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; If you want to tag with APEv2 tags using Wapet  please locate &#039;&#039;&#039;wapet.exe&#039;&#039;&#039;, not lame.exe.&lt;br /&gt;
* Don&#039;t worry which bit rate is shown in the &#039;&#039;&#039;Bit rate&#039;&#039;&#039; drop-down box, as this will not have any effect on the resultant MP3 file unless the %r placeholder is used (see end of the [[EAC_and_Lame#Advanced_Command_Line_Usage| Advanced Command Line Usage section]]).&lt;br /&gt;
* Don&#039;t worry about the &#039;&#039;&#039;Use CRC check&#039;&#039;&#039; setting; it won&#039;t affect the resultant MP3 file either.&lt;br /&gt;
* It&#039;s a good idea to tick &#039;&#039;&#039;Check for external programs return code&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Configuring the Additional command line options===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;green&#039;&#039;&#039;&amp;lt;/font&amp;gt; portion in the examples following this section is where you configure the [[LAME#Encoder_Presets| LAME preset]].&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;%source%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%s&#039;&#039;&#039;) and &#039;&#039;&#039;%dest%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%d&#039;&#039;&#039;)  in the examples following this section are placeholders for EAC. &#039;&#039;&#039;%source%&#039;&#039;&#039; means &#039;&#039;&#039;source&#039;&#039;&#039; filename and  &#039;&#039;&#039;%dest%&#039;&#039;&#039; means &#039;&#039;&#039;destination&#039;&#039;&#039; filename.  These are absolutely necessary!&lt;br /&gt;
&lt;br /&gt;
===Adding Tags===&lt;br /&gt;
&lt;br /&gt;
Note: Always use the &#039;&#039;&#039;[Test Encoder]&#039;&#039;&#039; Button to check your Command Line string. With EAC V1.0 beta 3 if you get a message: &amp;quot;Invalid replacement tag found !&amp;quot; try replacing&amp;lt;br&amp;gt; &lt;br /&gt;
each occurance of &amp;quot;%&amp;quot; with &amp;quot;%%&amp;quot; since you need to use double percent so one can be escaped and allow the second one to be passed to Lame.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let EAC create tags (Recommended)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To have EAC tag your files, tick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Create files with no tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you do not wish to have tags, untick &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;; and in the &#039;&#039;&#039;Additional command line options&#039;&#039;&#039; box, copy and paste the following string:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Let Lame create tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer to have Lame tag the files based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Here are some examples providing different tag types:&lt;br /&gt;
&lt;br /&gt;
* ID3v1 only:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v1-only --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only :&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; %source% %dest%&lt;br /&gt;
&lt;br /&gt;
* ID3v2 only (before EAC version 1.0b2 - for comparison):&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --id3v2-only --pad-id3v2 --ta &amp;quot;%a&amp;quot; --tt &amp;quot;%t&amp;quot; --tg &amp;quot;%m&amp;quot; --tl &amp;quot;%g&amp;quot; --ty &amp;quot;%y&amp;quot; --tn &amp;quot;%n&amp;quot; &#039;&#039;&#039;%s %d&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ID3v1 and ID3v2:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --add-id3v2 --pad-id3v2 --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Automatic:&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; --ta &amp;quot;%artist%&amp;quot; --tt &amp;quot;%title%&amp;quot; --tg &amp;quot;%genre%&amp;quot; --tl &amp;quot;%albumtitle%&amp;quot; --ty &amp;quot;%year%&amp;quot; --tn &amp;quot;%tracknr%/%numtracks%&amp;quot; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
With Automatic, ID3v1 will always be created.  If any ID3v1 field exceeds the length allowed by the ID3v1 specification then a complete ID3v2 tag will also be added.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Use Wapet to create APEv2 tags&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you prefer instead to have APEv2 tags based on information shown in the EAC GUI, &#039;&#039;&#039;untick&#039;&#039;&#039; the checkbox next to &#039;&#039;&#039;Add ID3 tag&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Creating APE tags requires [http://www.rarewares.org/files/others/wapet.zip wapet.exe]. Remember to browse for wapet.exe instead of lame.exe as the external encoding program. Also, lame.exe needs to be in the same directory as wapet.exe.&lt;br /&gt;
&lt;br /&gt;
Use the following string:&lt;br /&gt;
 &#039;&#039;&#039;%dest%&#039;&#039;&#039; -t &amp;quot;Artist=%artist%&amp;quot; -t &amp;quot;Title=%title%&amp;quot; -t &amp;quot;Album=%albumtitle%&amp;quot; -t &amp;quot;Year=%year%&amp;quot; -t &amp;quot;Track=%tracknr%/%numtracks%&amp;quot; -t &amp;quot;Genre=%genre%&amp;quot; LAME.exe &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V2&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Advanced Command Line Usage===&lt;br /&gt;
* The &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;%islow%...%islow%&#039;&#039;&#039;&amp;lt;/font&amp;gt; and &amp;lt;font style=&amp;quot;color:Red&amp;quot;&amp;gt;&#039;&#039;&#039;&#039;%ishigh%...%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholders are used to add text according to whether the High quality or Low quality radio button is selected, as shown below:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%islow%%ishigh%&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;%ishigh%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Therefore, if you select &#039;&#039;&#039;Low quality&#039;&#039;&#039;, EAC will invoke the LAME encoder with the following command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V5&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
..and if you select &#039;&#039;&#039;High quality&#039;&#039;&#039; EAC will invoke LAME with these command line parameters:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-V0&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* You can access the bitrate value in the drop-down list using the &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; placeholder, for example:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;%bitrate%&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So, if you selected &#039;&#039;&#039;192 kBit/s&#039;&#039;&#039; in the &#039;&#039;&#039;Bit Rate&#039;&#039;&#039; drop-down list, the command line would be:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;&#039;&#039;&#039;-b&#039;&#039;&#039;&amp;lt;/font&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;&#039;&#039;&#039;192&#039;&#039;&#039;&amp;lt;/font&amp;gt; &#039;&#039;&#039;%source% %dest%&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is a generally accepted fact that the bitrate selected in the drop-down list doesn&#039;t affect the command line. In essence this is true, as it will not affect the command line &#039;&#039;unless you use the &#039;&#039;&#039;%bitrate%&#039;&#039;&#039; (formerly &#039;&#039;&#039;%r&#039;&#039;&#039;) placeholder&#039;&#039;. However, the bitrate needs only be set when using ABR or CBR over VBR, which is not recommended for better quality audio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:EAC_LAME02.png|frame|center|LAME configured with ID3v1 tagging (and replacement strings used before EAC version 1.0 beta 2)]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
[[Category:EAC Guides|LAME &amp;amp; EAC]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26502</id>
		<title>LAME</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=LAME&amp;diff=26502"/>
		<updated>2015-10-02T11:45:58Z</updated>

		<summary type="html">&lt;p&gt;KaiKemmann: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Software Infobox&lt;br /&gt;
| name = LAME&lt;br /&gt;
| logo = [[Image:Lamelogo.png|250px|LAME official logo]]&lt;br /&gt;
| screenshot =&lt;br /&gt;
| caption = LAME ain&#039;t an MP3 encoder&lt;br /&gt;
| maintainer = The LAME project&lt;br /&gt;
| stable_release = 3.99&lt;br /&gt;
| preview_release = 3.100&lt;br /&gt;
| operating_system = Windows, Mac OS/X, Linux/BSD&lt;br /&gt;
| use = Encoder/Decoder&lt;br /&gt;
| license = LGPL&lt;br /&gt;
| website = [http://lame.sourceforge.net/ LAME website], Download site: [http://www.rarewares.org/mp3-lame-bundle.php Rarewares LAME-bundle]&lt;br /&gt;
}}{{featured}}&lt;br /&gt;
&#039;&#039;&#039;LAME&#039;&#039;&#039; (Lame Ain&#039;t an MP3 Encoder) is the [[Hydrogenaudio]] recommended [[MP3]] encoder. It has been developed by the open-source community since 1998, and has become the highest quality MP3 encoder for most purposes.&lt;br /&gt;
&lt;br /&gt;
Some benefits of using LAME:&lt;br /&gt;
* Highly optimised presets&lt;br /&gt;
* Fast encoding&lt;br /&gt;
* [[CBR]], [[ABR]] and quality-optimized [[VBR]] encoding methods&lt;br /&gt;
* [[Gapless]] playback with LAME-header compliant decoders&lt;br /&gt;
* Supported by recommended CD rippers [[Exact Audio Copy]] and [[CDex]]&lt;br /&gt;
* Highly tunable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--extra whitespace here to provide a margin for the Table of Contents--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
LAME development began around mid-1998. Mike Cheng started it as a patch against the 8hz-MP3 encoder sources. After some quality concerns raised by others, he decided to start from scratch based on the dist10 sources.&amp;lt;ref&amp;gt;dist10 is the rudimentary &amp;quot;demonstration&amp;quot; MP3 encoder described in the MPEG-2 standard, ISO/IEC 13818.&amp;lt;/ref&amp;gt; That branch (a patch against the reference sources) became LAME 2.0. By the release of LAME 3.81, all dist10 code was removed, making LAME a completely new program, not a mere patch of an existing encoder.&lt;br /&gt;
&lt;br /&gt;
The project quickly became a team effort. Mike Cheng eventually left leadership and started working on [http://toolame.sourceforge.net/ tooLAME], an [[MP2]] encoder. Mark Taylor became leader and released version 3.0 featuring gpsycho, a new psychoacoustic model developed by him.&lt;br /&gt;
&lt;br /&gt;
Nowadays LAME is considered the best MP3 encoder at mid &amp;amp; high bitrates, and features the best VBR model among MP3 implementations, mostly thanks to the dedicated work of talented developers Takehiro Tominaga, Naoki Shibata, Darin Morrison, Gabriel Bouvigne, Robert Hegemann, and others. Development is ongoing.&lt;br /&gt;
&lt;br /&gt;
Although LAME is generally considered to be an encoder, according to the LAME technical FAQ, it&#039;s technically not an encoder, but rather is officially just &amp;quot;a development project which uses the open source model to improve MP3 technology.&amp;quot; This improved technology is only released in source code form in order to minimize the risk of violating patents. When the source code is compiled and distributed, it &#039;&#039;may&#039;&#039; require a license from Thomson, depending on where and how it&#039;s to be used. The LAME project&#039;s position is &amp;quot;Source code is considered as speech, which may contain descriptions of patented technology. Descriptions of patents are in the public domain.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
LAME source code is maintained in a CVS repository, and the only official codebase for public use is the trunk code tagged &amp;quot;MAIN&amp;quot;. There are also numerous experimental branches of this code in which the developers test new ideas. One of these branches was started after the release of LAME 3.92 in 2002. To keep it from being confused with LAME 3.93 alpha versions, the code was made to self-identify as LAME 4.0 alpha 1 (in late 2002) through 4.0 alpha 14 (since 2005). This code is mainly for the developers to test optimizations and architectural changes in LAME&#039;s foundational code, ideas that may eventually be used in the main branch if and when development actually begins on LAME 4.0. However, some members of the public used this code to build working copies of &amp;quot;LAME 4.0&amp;quot; alpha versions in 2003-2005. These should not be considered actual LAME 4.0 releases and the developers do not want public feedback on them, nor do they want any more public builds to be made from this branch.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder compiles and source code==&lt;br /&gt;
&lt;br /&gt;
Unless noted otherwise, the recommended LAME compile for optimal quality is always the &#039;&#039;&#039;latest stable version&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Download the latest LAME from these links:&#039;&#039;&#039;&lt;br /&gt;
* [http://www.rarewares.org/mp3.php RareWares MP3 Page] - Compiles for Win32, Mac OS X universal binary, Linux etc.&lt;br /&gt;
* [http://sourceforge.net/project/showfiles.php?group_id=290&amp;amp;package_id=309 LAME source code on SourceForge]&lt;br /&gt;
&lt;br /&gt;
Avoid using alpha versions of LAME. These versions have &amp;quot;a&amp;quot; in their version string and are usually only for testing changes and new features, and may result in lower quality MP3s. Use them only if you want to help the developers and provide feedback.&lt;br /&gt;
&lt;br /&gt;
==Recommended encoder settings==&lt;br /&gt;
This section describes the [[Hydrogenaudio]] recommended settings to be used with LAME for highest quality MP3 encoding. These settings require LAME 3.98 or later (the latest stable version is recommended).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #F0F0F0; color: black; border: 1px solid black; margin: 1em; padding: 1em 2em 1em 2em;&amp;quot;&amp;gt;&lt;br /&gt;
====Maximum quality and archiving====&lt;br /&gt;
&lt;br /&gt;
Maximum quality is achieved when, regardless of listening conditions, you are unable to detect a difference between the MP3 and the original. As demonstrated by blind [[ABX]] tests, LAME-encoded MP3s typically achieve this level of [[transparency]] when encoded with the default settings, at bitrates well below maximum. Encoding with other settings will have no effect on the quality.&lt;br /&gt;
&lt;br /&gt;
For archiving, only [[lossless]] formats like [[WavPack]], [[FLAC]], etc. are ideal; they will preserve the audio with no changes, sample-for-sample, regardless of encoder settings. In contrast, lossy formats like MP3 are designed to save space by changing the audio in subtle, often imperceptible ways, even at the encoder&#039;s maximum settings.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with best file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V0&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~245 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V1&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~225 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V2&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~190 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:green&amp;quot;&amp;gt;-V3&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~175 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
These [[VBR]] settings will normally produce [[transparency|transparent]] results. Audible differences between these presets may exist, but are rare.&lt;br /&gt;
&lt;br /&gt;
====Very high quality: &amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;HiFi, home, or quiet listening, with maximum file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:red&amp;quot;&amp;gt;-b 320&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; is an alternative to the VBR settings above.&lt;br /&gt;
&lt;br /&gt;
This [[CBR]] mode will maximize the MP3&#039;s bitrate and overall file size. The extra space may allow for some parts of the audio to be compressed with fewer sacrifices, but to date, no one has produced ABX test results demonstrating that perceived quality is ever better than the highest VBR profiles described above.&amp;lt;ref&amp;gt;Prior to version 3.99, CBR and VBR modes were encoded differently by LAME. In some unusual problem samples, these differences were sometimes audible, even at very high bitrates. Current versions of LAME encode CBR and VBR with the same psychoacoustic model, so such differences shouldn&#039;t arise from normal use.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Portable: &amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;listening in noisy conditions, lower bitrate, smaller file size&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~165 kbps), &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V5&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~130 kbps) or &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (~115 kbps) are recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V6&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; produces an &amp;quot;acceptable&amp;quot; quality, while &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:purple&amp;quot;&amp;gt;-V4&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; should be close to perceptual [[transparency]].&lt;br /&gt;
&lt;br /&gt;
====Very low bitrate, small sizes: &amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;eg. for voice, radio, [[mono]] encoding etc.&amp;lt;/font&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
For very low bitrates, up to 100kbps, [[ABR]] is most often the best solution. &lt;br /&gt;
Use &amp;lt;code&amp;gt;&amp;lt;font style=&amp;quot;color:blue&amp;quot;&amp;gt;--abr &amp;lt;bitrate&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/code&amp;gt; (e.g. --abr 80).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;--preset voice&#039;&#039;&#039; is only available in the command line front-end, and is there for compatibility.&lt;br /&gt;
It is currently mapped to &#039;&#039;&#039;&#039;&#039;--abr 56 -mm&#039;&#039;&#039;&#039;&#039;, so that means that the recommendation would be to encode in mono, and use ABR.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Understanding the bitrate settings==&lt;br /&gt;
MP3s are divided into frames, each frame being a particular size, expressed as a [[bitrate]]. If the bitrate of every frame is the same throughout the file, then the file is considered to be &#039;&#039;constant bit rate&#039;&#039; ([[CBR]]). Otherwise, it is &#039;&#039;variable bit rate&#039;&#039; ([[VBR]]). LAME offers CBR and VBR encoding modes, as well as a special VBR encoding mode called [[ABR]] (&#039;&#039;average bit rate&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
===VBR (variable bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[VBR]]:&#039;&#039;&#039; &#039;&#039;variable bitrate mode. Use variable bitrate modes when the goal is to achieve a fixed level of quality using the lowest possible bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
VBR is best used to target a specific quality level, instead of a specific bitrate. The final file size of a VBR encode is less predictable than with [[ABR]], but the quality is usually better.&lt;br /&gt;
&lt;br /&gt;
Unlike other MP3 encoders which do VBR encoding based on predictions of output quality, LAME&#039;s default VBR method tests the &#039;&#039;actual&#039;&#039; output quality to ensure the desired quality level is always achieved.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V &amp;amp;lt;number&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;number&amp;gt; is between 0 and 9, 0 being highest quality, 9 being the lowest.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fractional values are also accepted, with 9.999 being the absolute lowest quality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-V 2.75&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The switch &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt;, which enabled a superior VBR mode in LAME 3.97 and some previous versions, is no longer needed with LAME 3.98 and higher, as it is now the default VBR mode. However, if you&#039;re still using LAME 3.97 or older, you have to add &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; to your command line to use that mode.&lt;br /&gt;
&lt;br /&gt;
The target bitrate and actual typical bitrate for each VBR quality level is shown in the [[#Technical information|Technical details for recommended LAME settings]] section below.&lt;br /&gt;
&lt;br /&gt;
If you need a predictable bitrate (in a streaming application, for example), use ABR or CBR modes, described below.&lt;br /&gt;
&lt;br /&gt;
===ABR (average bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[ABR]]:&#039;&#039;&#039; &#039;&#039;average bitrate mode. A compromise between VBR and CBR modes, ABR encoding varies bits around a specified target bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Use ABR when you need to know the final size of the file but still want to allow the encoder some flexibility to decide which passages need more bits. The output is an ordinary VBR file compatible with all MP3 players that support VBR; ABR is not a special type of file, just a LAME-specific strategy for producing VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset &amp;amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;amp;lt;bitrate&amp;gt; (desired averaged bitrate in kbit/s) is a value between 8 and 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;--preset 200&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;ABR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===CBR (constant bitrate) settings===&lt;br /&gt;
&#039;&#039;&#039;[[CBR]]:&#039;&#039;&#039; &#039;&#039;constant bitrate mode. CBR encoding is not efficient. Whereas VBR and ABR modes can supply more bits to complex music passages and save bits on simpler ones, CBR encodes every frame at the same bitrate.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
CBR is only recommended for usage in streaming situations where the upper bitrate must be strictly enforced. There is still some variability in bitrate behind the scenes, through LAME&#039;s use of the [[bit reservoir]] feature of the MP3 format, but it is much less flexible than actual VBR.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Usage:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b &amp;lt;bitrate&amp;gt;&amp;lt;/code&amp;gt; where &amp;lt;bitrate&amp;gt; (bitrate in kbit/s) must be chosen from the following values: 8, 16, 24, 32, 40, 48, 64, 80, 96, 112, 128, 160, 192, 224, 256, or 320.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; &amp;lt;code&amp;gt;-b 192&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important:&#039;&#039;&#039; &#039;&#039;CBR setting is tuned from 320 kbit/s down to 80 kbit/s.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
* The rule of thumb when considering encoding options: at a given bitrate, [[VBR]] is higher quality than [[ABR]], which is higher quality than [[CBR]] (VBR &amp;gt; ABR &amp;gt; CBR in terms of quality). However, [[ABX]] tests demonstrate that as bitrate increases, the perceptual differences diminish, with all modes generally reaching [[transparency]] well before their maximum settings; when you can&#039;t tell the difference, the modes are qualitatively the same.&lt;br /&gt;
&lt;br /&gt;
* In terms of filesize [[VBR]] tends to produce the smallest files down to -V7. For lower quality (e.g. for non-music audio such as speech) [[ABR]] will produce smaller files than [[VBR]], starting from --abr 115.&lt;br /&gt;
&lt;br /&gt;
* All modes and settings mentioned in this topic belong to the specifications of the MP3 standard, and the resulting MP3s should be playable by every MP3 decoder that conforms with the standard. If your decoder or device does not play MP3s produced by LAME, blame the manufacturer or developer, not LAME.&lt;br /&gt;
&lt;br /&gt;
* Prior to LAME 3.98, the &amp;lt;code&amp;gt;--vbr-new&amp;lt;/code&amp;gt; switch enabled the new VBR mode. This is now the default VBR mode, with the old mode being available via &amp;lt;code&amp;gt;--vbr-old&amp;lt;/code&amp;gt;. In terms of quality, the new mode appears to be better than the old, but reports of artifacts when using the new mode do exist. Despite these possible issues, the new mode is currently recommended due to both the speed and quality increases afforded by the new algorithm.&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
===Recommended settings details===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin: 1em auto 1em auto;&amp;quot;&lt;br /&gt;
|+&#039;&#039;&#039;Technical details of the recommended settings&#039;&#039;&#039;&lt;br /&gt;
! style=&amp;quot;vertical-align: bottom&amp;quot; | Switch !! style=&amp;quot;vertical-align: bottom&amp;quot; | Preset !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Target Kbps !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | Typical Kbps&amp;lt;ref&amp;gt;Typical bitrates are mostly based on the results of testing with LAME 3.98.2.&amp;lt;/ref&amp;gt; !! style=&amp;quot;width: 4em; vertical-align: bottom&amp;quot; | [[LAME Y switch|Y Switch]] !! style=&amp;quot;vertical-align: bottom&amp;quot; | Lowpass&amp;lt;ref&amp;gt;This range is the transition band of the lowpass filter. Signal components are at full intensity at the lower frequency. Higher frequencies are attenuated on a slope which reaches zero at (and beyond) the high end of the given range. Further info can be found [http://www.hydrogenaud.io/forums/index.php?s=&amp;amp;showtopic=106868&amp;amp;view=findpost&amp;amp;p=874354 in the HA forum].&amp;lt;/ref&amp;gt; !! style=&amp;quot;vertical-align: bottom&amp;quot; | Resample&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | 320 || style=&amp;quot;text-align: center&amp;quot; | Y&amp;lt;ref&amp;gt;CBR mode uses &amp;lt;code&amp;gt;-Y&amp;lt;/code&amp;gt; in effect; see the [[LAME Y switch]] article.&amp;lt;/ref&amp;gt; || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 0&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset extreme&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~240 || style=&amp;quot;text-align: center&amp;quot; | 220–260 || || ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 1&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~220 || style=&amp;quot;text-align: center&amp;quot; | 190–250 || || style=&amp;quot;text-align: center&amp;quot; | 19383 Hz – 19916 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 2&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset standard&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~190 || style=&amp;quot;text-align: center&amp;quot; | 170–210 || || style=&amp;quot;text-align: center&amp;quot; | 18671 Hz – 19205 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 3&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~170 || style=&amp;quot;text-align: center&amp;quot; | 150–195 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17960 Hz – 18494 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 4&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;--preset medium&amp;lt;/code&amp;gt; || style=&amp;quot;text-align: right&amp;quot; | ~160 || style=&amp;quot;text-align: center&amp;quot; | 140–185 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 17249 Hz – 17782 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 5&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~130 || style=&amp;quot;text-align: center&amp;quot; | 120–150 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 16538 Hz – 17071 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 6&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~120 || style=&amp;quot;text-align: center&amp;quot; | 100–130 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 15115 Hz – 15648 Hz ||&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 7&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~100 || style=&amp;quot;text-align: center&amp;quot; | 80–120 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 14581 Hz – 14968 Hz || style=&amp;quot;text-align: right&amp;quot; | 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 8&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~80 || style=&amp;quot;text-align: center&amp;quot; | 70–105 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 12516 Hz – 12903 Hz || style=&amp;quot;text-align: right&amp;quot; | 32000 Hz&lt;br /&gt;
|-&lt;br /&gt;
|- style=&amp;quot;background:white;color:black&amp;quot;&lt;br /&gt;
| style=&amp;quot;text-align: center&amp;quot; | &amp;lt;code&amp;gt;-V 9&amp;lt;/code&amp;gt; || || style=&amp;quot;text-align: right&amp;quot; | ~70 || style=&amp;quot;text-align: center&amp;quot; | 45–85 || style=&amp;quot;text-align: center&amp;quot; | Y || style=&amp;quot;text-align: center&amp;quot; | 9336 Hz – 9602 Hz || style=&amp;quot;text-align: right&amp;quot; | 24000 Hz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The default lowpass settings were not chosen at random; for general use, they are as high as they can be without putting quality at risk. Raising the the cutoff via command-line options is not recommended. See the [[high-frequency content in MP3s]] article for more info.&lt;br /&gt;
&lt;br /&gt;
===Fraunhofer decoder incompatibility===&lt;br /&gt;
Differing interpretations of an unclear portion of the MP3 spec led to a Windows-specific version of the Fraunhofer IIS MP3 decoder being unable to properly play certain MP3s created with certain versions of LAME.&lt;br /&gt;
&lt;br /&gt;
In order to demonstrate the problem, the problematic MP3 must have been created with LAME 3.97 or earlier, and must contain a frame with certain parameters and a very large amount of data, such as a 320-kbps frame which makes heavy use of the [[bit reservoir]]. The decoder must be the DirectShow filter &amp;lt;code&amp;gt;l3codecx.ax&amp;lt;/code&amp;gt; version 1.5.0 or lower, as used by Windows Media Player on versions of Windows prior to Windows Vista. An [http://support.microsoft.com/kb/2115168/en-us August 2010 security update] for Windows XP and Server 2003 upgraded this filter to version 1.6.0, which can play the problematic MP3s. Windows Vista shipped with the older version but Windows Media Player uses a different filter, and later versions of Windows don&#039;t have the old filter at all.&lt;br /&gt;
&lt;br /&gt;
A workaround was implemented in LAME 3.98.0 beta 1 through LAME 3.98.2, and in LAME 3.99 alpha 1, whereby 320-kbps frames were limited in how much of the bit reservoir they could use. This resulted in wasted space when the bit reservoir would grow beyond the limit. In LAME 3.98.3 and beyond, and in LAME 3.99 alpha 2 and beyond, the method was changed such that the bit reservoir can&#039;t grow beyond the limit.&lt;br /&gt;
&lt;br /&gt;
Related discussion threads:&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=40308 LAME high bitrate files in l3codeca.ax]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=78114 Lame 3.98 wastes bits]&lt;br /&gt;
&lt;br /&gt;
===VBR header and LAME tag===&lt;br /&gt;
&lt;br /&gt;
LAME supports the &#039;&#039;de facto&#039;&#039; standard of adding an extra frame of silence to the beginning of MP3 files. This &amp;quot;VBR header&amp;quot; or &amp;quot;Info tag&amp;quot; provides a home for precise info about the audio duration and a table of seek points. It is mainly for the benefit of players working with VBR files. Decoders usually treat the frame as informational, rather than playing the audio.&lt;br /&gt;
&lt;br /&gt;
LAME uses the Xing format for this header, and extends it by embedding a 20-byte &amp;quot;LAME tag&amp;quot; with additional info:&lt;br /&gt;
* a short version string (9 ASCII bytes; see [[LAME version string]])&lt;br /&gt;
* audio and info tag CRCs (since LAME 3.90)&lt;br /&gt;
* separate delay &amp;amp; padding values for gapless playback (since LAME 3.90)&lt;br /&gt;
* various encoder settings (since LAME 3.90, expanded in 3.94 to include presets)&lt;br /&gt;
&lt;br /&gt;
Prior to LAME 3.94, the VBR header was only written in VBR files. Since 3.94, it is written to CBR files, too, with &amp;quot;Info&amp;quot; instead of &amp;quot;XING&amp;quot; at the beginning.&lt;br /&gt;
&lt;br /&gt;
Details are in this wiki&#039;s [[MP3#VBRI, XING, and LAME headers|MP3 article]] and [[LAME version string]] article, and in LAME developer Gabriel Bouvigne&#039;s [http://gabriel.mp3-tech.org/mp3infotag.html MP3 Info Tag] documentation.&lt;br /&gt;
&lt;br /&gt;
===Hey! What happened to &amp;quot;--alt-preset&amp;quot;?===&lt;br /&gt;
&lt;br /&gt;
The revolutionary &amp;lt;code&amp;gt;--alt-preset&amp;lt;/code&amp;gt; system was introduced in LAME 3.90. It was replaced by the &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; flags in later versions.&lt;br /&gt;
&lt;br /&gt;
Starting with version 3.94, the &amp;lt;code&amp;gt;-Vx&amp;lt;/code&amp;gt; quality system was introduced, allowing finer control over the desired quality level and bitrate. The &amp;lt;code&amp;gt;--preset&amp;lt;/code&amp;gt; switches were made into aliases to the corresponding &amp;lt;code&amp;gt;-V&amp;lt;/code&amp;gt; flags for the sake of backward compatibility. &#039;&#039;&#039;There is no difference between the output you get if you use &amp;lt;code&amp;gt;-V2&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--alt-preset standard&amp;lt;/code&amp;gt;.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Recent LAME versions feature more streamlined command-line options, and it&#039;s recommended to stick to one of the values described in the text or shown in the table above.&lt;br /&gt;
&lt;br /&gt;
For example, the following command-line options will all produce the same output:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;--alt-preset insane&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset insane&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;-b 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset 320&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;--preset cbr 320&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[LAME Y switch|The -Y switch]]&lt;br /&gt;
* [[MP3]]&lt;br /&gt;
* [[CBR]]&lt;br /&gt;
* [[VBR]]&lt;br /&gt;
* [[ABR]]&lt;br /&gt;
* [[Exact Audio Copy]]&lt;br /&gt;
* [[EAC and Lame | Configuring EAC and LAME]]&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://lame.sourceforge.net LAME official homepage]&lt;br /&gt;
&amp;lt;!--ReallyRarewares and the rest of rjamorim.com is gone. If the content is back online, please restore &amp;amp; update these links.&lt;br /&gt;
*[http://www.rjamorim.com/rrw/lame.html Historical versions of LAME] at ReallyRareWares&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;br /&gt;
[[Category:MP3]]&lt;/div&gt;</summary>
		<author><name>KaiKemmann</name></author>
	</entry>
</feed>