<?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=Psyllium</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=Psyllium"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/Psyllium"/>
	<updated>2026-04-29T05:18:50Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=AAC_Guide&amp;diff=17810</id>
		<title>AAC Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=AAC_Guide&amp;diff=17810"/>
		<updated>2007-08-17T10:47:53Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: /* Ripping from CD directly to AAC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this guide is helping you create AAC/MP4 files the most easy and quick way possible.&lt;br /&gt;
&lt;br /&gt;
==Ripping from CD directly to AAC==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac itunes ripping|Apple iTunes]]&lt;br /&gt;
# Using [[Guide aac cdex|CDex]] + Psytel AACenc or NAACenc&lt;br /&gt;
# Using [[Guide aac eac|EAC]] + Psytel AACenc or NAACenc&lt;br /&gt;
# Using [[Guide aac kaudiocreator|KAudioCreator]] + FAAC&lt;br /&gt;
# Using [[K3b and Nero AAC|K3b]] + Nero AAC (via Wine)&lt;br /&gt;
&lt;br /&gt;
==Encoding to AAC==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac itunes|Apple iTunes]]&lt;br /&gt;
# Using [[Nero_AAC]] (or NAACenc)&lt;br /&gt;
# Using [[FAAC]]&lt;br /&gt;
# Using [[Guide aac psytel|Psytel AACenc and Fastenc]]&lt;br /&gt;
# Using [[Guide aac squeeze|Sorenson Squeeze]]&lt;br /&gt;
&lt;br /&gt;
==Transcoding from other formats to AAC==&lt;br /&gt;
&#039;&#039;(of course, conversion from lossy formats is never recommended. The idea of this guide is to help people convert from lossless formats. i.e [[ALAC]])&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac foobar|Foobar2000]] + foo_neroaac&lt;br /&gt;
# Using [[Guide aac nero plugins|Ahead Nero]] + Mausau&#039;s plugins&lt;br /&gt;
# Using [[K3b_and_Nero_AAC|K3b]] + Nero AAC (via Wine)&lt;br /&gt;
&lt;br /&gt;
==Wrapping AAC streams in MP4==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac mp4ui|MP4ui]]&lt;br /&gt;
# Using [[Guide aac mp4creator|MPEG4ip MP4creator]]&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
&lt;br /&gt;
# [[Playback aac|Playing back AAC files]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=AAC_Guide&amp;diff=17809</id>
		<title>AAC Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=AAC_Guide&amp;diff=17809"/>
		<updated>2007-08-17T10:47:37Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: /* Transcoding from other formats to AAC */ Added K3b + Nero AAC option&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this guide is helping you create AAC/MP4 files the most easy and quick way possible.&lt;br /&gt;
&lt;br /&gt;
==Ripping from CD directly to AAC==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac itunes ripping|Apple iTunes]]&lt;br /&gt;
# Using [[Guide aac cdex|CDex]] + Psytel AACenc or NAACenc&lt;br /&gt;
# Using [[Guide aac eac|EAC]] + Psytel AACenc or NAACenc&lt;br /&gt;
# Using [[Guide aac kaudiocreator|KAudioCreator]] + FAAC&lt;br /&gt;
# Using [[K3b and Nero AAC|K3b]] + Nero AAC&lt;br /&gt;
&lt;br /&gt;
==Encoding to AAC==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac itunes|Apple iTunes]]&lt;br /&gt;
# Using [[Nero_AAC]] (or NAACenc)&lt;br /&gt;
# Using [[FAAC]]&lt;br /&gt;
# Using [[Guide aac psytel|Psytel AACenc and Fastenc]]&lt;br /&gt;
# Using [[Guide aac squeeze|Sorenson Squeeze]]&lt;br /&gt;
&lt;br /&gt;
==Transcoding from other formats to AAC==&lt;br /&gt;
&#039;&#039;(of course, conversion from lossy formats is never recommended. The idea of this guide is to help people convert from lossless formats. i.e [[ALAC]])&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac foobar|Foobar2000]] + foo_neroaac&lt;br /&gt;
# Using [[Guide aac nero plugins|Ahead Nero]] + Mausau&#039;s plugins&lt;br /&gt;
# Using [[K3b_and_Nero_AAC|K3b]] + Nero AAC (via Wine)&lt;br /&gt;
&lt;br /&gt;
==Wrapping AAC streams in MP4==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac mp4ui|MP4ui]]&lt;br /&gt;
# Using [[Guide aac mp4creator|MPEG4ip MP4creator]]&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
&lt;br /&gt;
# [[Playback aac|Playing back AAC files]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=AAC_Guide&amp;diff=17808</id>
		<title>AAC Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=AAC_Guide&amp;diff=17808"/>
		<updated>2007-08-17T10:46:29Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: /* Ripping from CD directly to AAC */  Added link to k3b/nero aac guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this guide is helping you create AAC/MP4 files the most easy and quick way possible.&lt;br /&gt;
&lt;br /&gt;
==Ripping from CD directly to AAC==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac itunes ripping|Apple iTunes]]&lt;br /&gt;
# Using [[Guide aac cdex|CDex]] + Psytel AACenc or NAACenc&lt;br /&gt;
# Using [[Guide aac eac|EAC]] + Psytel AACenc or NAACenc&lt;br /&gt;
# Using [[Guide aac kaudiocreator|KAudioCreator]] + FAAC&lt;br /&gt;
# Using [[K3b and Nero AAC|K3b]] + Nero AAC&lt;br /&gt;
&lt;br /&gt;
==Encoding to AAC==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac itunes|Apple iTunes]]&lt;br /&gt;
# Using [[Nero_AAC]] (or NAACenc)&lt;br /&gt;
# Using [[FAAC]]&lt;br /&gt;
# Using [[Guide aac psytel|Psytel AACenc and Fastenc]]&lt;br /&gt;
# Using [[Guide aac squeeze|Sorenson Squeeze]]&lt;br /&gt;
&lt;br /&gt;
==Transcoding from other formats to AAC==&lt;br /&gt;
&#039;&#039;(of course, conversion from lossy formats is never recommended. The idea of this guide is to help people convert from lossless formats. i.e [[ALAC]])&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac foobar|Foobar2000]] + foo_neroaac&lt;br /&gt;
# Using [[Guide aac nero plugins|Ahead Nero]] + Mausau&#039;s plugins&lt;br /&gt;
&lt;br /&gt;
==Wrapping AAC streams in MP4==&lt;br /&gt;
&lt;br /&gt;
# Using [[Guide aac mp4ui|MP4ui]]&lt;br /&gt;
# Using [[Guide aac mp4creator|MPEG4ip MP4creator]]&lt;br /&gt;
&lt;br /&gt;
==Appendix==&lt;br /&gt;
&lt;br /&gt;
# [[Playback aac|Playing back AAC files]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=17774</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=17774"/>
		<updated>2007-08-01T04:35:47Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: /* Configure K3b to use &amp;#039;neroaac&amp;#039; as an External Plugin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;K3b&#039;&#039;&#039; is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
This guide was originally posted on the Hydrogen Audio forum [http://www.hydrogenaudio.org/forums/index.php?showtopic=48228 here]. &lt;br /&gt;
&lt;br /&gt;
Note that this only allows you to &#039;&#039;&#039;create&#039;&#039;&#039; .MP4 files - it does not allow you to decode them so that they can be burnt to a CD.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
(In parentheses the versions used by the author)&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get).&amp;lt;br /&amp;gt;Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (1.0 or higher. Previous versions do not support the correct byte order or write wave headers.)&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
===Configure Wine===&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of &amp;lt;code&amp;gt;Z:\&amp;lt;/code&amp;gt; to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;&#039;&#039;winecfg&#039;&#039;&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
===Install Nero Digital Audio executables===&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere. You might want to test out that the executables can run by doing something like:&lt;br /&gt;
&lt;br /&gt;
 $ wine neroAacEnc.exe&lt;br /&gt;
&lt;br /&gt;
in the &#039;&#039;&#039;win32&#039;&#039;&#039; directory of the extracted files. You should see some output like this:&lt;br /&gt;
&lt;br /&gt;
 err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
 *************************************************************&lt;br /&gt;
 *&lt;br /&gt;
 *  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&lt;br /&gt;
 *  Copyright (C) 2006 Nero AG&lt;br /&gt;
 *  All Rights Reserved Worldwide&lt;br /&gt;
 *&lt;br /&gt;
 *  Package build date: May 26 2006&lt;br /&gt;
 *&lt;br /&gt;
 *  See -help for a complete list of available parameters.&lt;br /&gt;
 *&lt;br /&gt;
 *************************************************************&lt;br /&gt;
 ERROR: no input file specified&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
===Create &#039;neroaac&#039; wrapper script===&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;&#039;&#039;/usr/local/bin/neroaac&#039;&#039;&#039;. Make sure you &#039;&#039;chmod&#039;&#039; it to something like &#039;&#039;755&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 cd /home/chris/nero/win32&lt;br /&gt;
 wine neroAacEnc.exe -if &amp;quot;$1&amp;quot; -of &amp;quot;$2&amp;quot;&lt;br /&gt;
 wine neroAacTag.exe &amp;quot;$2&amp;quot; -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;lt;code&amp;gt;cd /home/chris/winec/nero/win32&amp;lt;/code&amp;gt; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin).&amp;lt;br /&amp;gt;The data this script takes in will be RAW 16 bit, 44.1kHz, little endian, stereo and with a WAVE header. We will make sure k3b outputs the correct format later.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
===Configure K3b to use &#039;neroaac&#039; as an External Plugin===&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and go to the &#039;Settings&#039; menu and select &#039;Configure K3b&#039;. Select &#039;Plugins&#039; and then &#039;K3b External Audio Encoder&#039;. Hit the &#039;Configure&#039; button: &amp;lt;br/&amp;gt;[[Image:Settings-configure-k3b.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:[[Image:k3b-add-external-plugin.png]]&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;code&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/code&amp;gt;&lt;br /&gt;
# Ensure you select &#039;Swap Byte Order&#039; and &#039;Write Wave Header&#039; so that the neroaac script gets the right format. (Note: I think  k3b has this setting around the wrong way. If k3b was actually outputting little endian, neroaac-enc would work OK. Swapping the byte order seems to fix it.)&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; and &#039;Options&#039; boxes.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. This is the &#039;arrow&#039; button in the screenshot below:&lt;br /&gt;
&lt;br /&gt;
[[Image:K3b-audiocd-project.png]]&lt;br /&gt;
&lt;br /&gt;
Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the following button:&lt;br /&gt;
&lt;br /&gt;
[[Image:K3b-ripping.png]]&lt;br /&gt;
&lt;br /&gt;
==Known flaws/limitations==&lt;br /&gt;
&lt;br /&gt;
* The progress bar goes to 100% before tagging (so it takes a little bit more to really complete the work). This is because K3b judges the completeness of the operation by how much of the file it has fed to the program.&lt;br /&gt;
* Does not support decoding of MP4 files. This would require the development of a proper Audio Decoding plugin for K3b.&lt;br /&gt;
* Note the remark above to get complete meta tags.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[AAC]]&lt;br /&gt;
* [[Ubuntu]]&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[KDE]]&lt;br /&gt;
* [[Gnome]]&lt;br /&gt;
* [[Wine]]&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=48228 HA topic]&lt;br /&gt;
* [http://www.k3b.org/ K3b]&lt;br /&gt;
* [http://www.ubuntu.com/ Ubuntu]&lt;br /&gt;
* [http://www.kde.org/ KDE]&lt;br /&gt;
* [http://www.gnome.org/ Gnome]&lt;br /&gt;
* [http://www.winehq.com/ Wine]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=17773</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=17773"/>
		<updated>2007-08-01T04:28:26Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: Changed so that Sox is no longer required. K3b 1.0 allows for writing wave headers and swapping of the byte order.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;K3b&#039;&#039;&#039; is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
This guide was originally posted on the Hydrogen Audio forum [http://www.hydrogenaudio.org/forums/index.php?showtopic=48228 here]. &lt;br /&gt;
&lt;br /&gt;
Note that this only allows you to &#039;&#039;&#039;create&#039;&#039;&#039; .MP4 files - it does not allow you to decode them so that they can be burnt to a CD.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
(In parentheses the versions used by the author)&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get).&amp;lt;br /&amp;gt;Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (1.0 or higher. Previous versions do not support the correct byte order or write wave headers.)&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
===Configure Wine===&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of &amp;lt;code&amp;gt;Z:\&amp;lt;/code&amp;gt; to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;&#039;&#039;winecfg&#039;&#039;&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
===Install Nero Digital Audio executables===&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere. You might want to test out that the executables can run by doing something like:&lt;br /&gt;
&lt;br /&gt;
 $ wine neroAacEnc.exe&lt;br /&gt;
&lt;br /&gt;
in the &#039;&#039;&#039;win32&#039;&#039;&#039; directory of the extracted files. You should see some output like this:&lt;br /&gt;
&lt;br /&gt;
 err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
 *************************************************************&lt;br /&gt;
 *&lt;br /&gt;
 *  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&lt;br /&gt;
 *  Copyright (C) 2006 Nero AG&lt;br /&gt;
 *  All Rights Reserved Worldwide&lt;br /&gt;
 *&lt;br /&gt;
 *  Package build date: May 26 2006&lt;br /&gt;
 *&lt;br /&gt;
 *  See -help for a complete list of available parameters.&lt;br /&gt;
 *&lt;br /&gt;
 *************************************************************&lt;br /&gt;
 ERROR: no input file specified&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
===Create &#039;neroaac&#039; wrapper script===&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;&#039;&#039;/usr/local/bin/neroaac&#039;&#039;&#039;. Make sure you &#039;&#039;chmod&#039;&#039; it to something like &#039;&#039;755&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 cd /home/chris/nero/win32&lt;br /&gt;
 wine neroAacEnc.exe -if &amp;quot;$1&amp;quot; -of &amp;quot;$2&amp;quot;&lt;br /&gt;
 wine neroAacTag.exe &amp;quot;$2&amp;quot; -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;lt;code&amp;gt;cd /home/chris/winec/nero/win32&amp;lt;/code&amp;gt; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin).&amp;lt;br /&amp;gt;The data this script takes in will be RAW 16 bit, 44.1kHz, little endian, stereo and with a WAVE header. We will make sure k3b outputs the correct format later.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
===Configure K3b to use &#039;neroaac&#039; as an External Plugin===&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and go to the &#039;Settings&#039; menu and select &#039;Configure K3b&#039;. Select &#039;Plugins&#039; and then &#039;K3b External Audio Encoder&#039;. Hit the &#039;Configure&#039; button: &amp;lt;br/&amp;gt;[[Image:Settings-configure-k3b.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:[[Image:k3b-add-external-plugin.png]]&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;code&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/code&amp;gt;&lt;br /&gt;
# Ensure you select &#039;Swap Byte Order&#039; and &#039;Write Wave Header&#039; so that the neroaac script gets the right format.&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; and &#039;Options&#039; boxes.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. This is the &#039;arrow&#039; button in the screenshot below:&lt;br /&gt;
&lt;br /&gt;
[[Image:K3b-audiocd-project.png]]&lt;br /&gt;
&lt;br /&gt;
Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the following button:&lt;br /&gt;
&lt;br /&gt;
[[Image:K3b-ripping.png]]&lt;br /&gt;
&lt;br /&gt;
==Known flaws/limitations==&lt;br /&gt;
&lt;br /&gt;
* The progress bar goes to 100% before tagging (so it takes a little bit more to really complete the work). This is because K3b judges the completeness of the operation by how much of the file it has fed to the program.&lt;br /&gt;
* Does not support decoding of MP4 files. This would require the development of a proper Audio Decoding plugin for K3b.&lt;br /&gt;
* Note the remark above to get complete meta tags.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[AAC]]&lt;br /&gt;
* [[Ubuntu]]&lt;br /&gt;
* [[Linux]]&lt;br /&gt;
* [[KDE]]&lt;br /&gt;
* [[Gnome]]&lt;br /&gt;
* [[Wine]]&lt;br /&gt;
&lt;br /&gt;
==Notes and references==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=48228 HA topic]&lt;br /&gt;
* [http://www.k3b.org/ K3b]&lt;br /&gt;
* [http://www.ubuntu.com/ Ubuntu]&lt;br /&gt;
* [http://www.kde.org/ KDE]&lt;br /&gt;
* [http://www.gnome.org/ Gnome]&lt;br /&gt;
* [http://www.winehq.com/ Wine]&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13538</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13538"/>
		<updated>2006-09-14T11:06:29Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: /* Known flaws/limitations: */  Added reference to not being able to decode&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;K3b is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
This guide was originally posted on the Hydrogen Audio forum here: http://www.hydrogenaudio.org/forums/index.php?showtopic=48228&lt;br /&gt;
&lt;br /&gt;
Note that this only allows you to &#039;&#039;&#039;create&#039;&#039;&#039; .MP4 files - it does not allow you to decode them so that they can be burnt to a CD.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get). Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;Sox&#039;&#039;&#039; (12.17.9-1 .deb package from Synaptic/apt-get)&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (0.12.17 compiled from source at http://k3b.plainblack.com/download )&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
* &#039;&#039;&#039;/dev/shm&#039;&#039;&#039; filesystem (this is often installed by default - you can get by without it, but your hard disk will end up doing more work)&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
==Configure Wine==&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of Z:\ to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;winecfg&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
==Install Nero Digital Audio executables==&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere.&amp;lt;br/&amp;gt;&lt;br /&gt;
You might want to test out that the executables can run by doing something like:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ wine neroAacEnc.exe&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
in the &#039;win32&#039; directory of the extracted files.&amp;lt;br/&amp;gt;&lt;br /&gt;
You should see some output like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Copyright (C) 2006 Nero AG&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  All Rights Reserved Worldwide&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Package build date: May 26 2006&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  See -help for a complete list of available parameters.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;ERROR: no input file specified&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
==Create &#039;neroaac&#039; wrapper script==&lt;br /&gt;
&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;/usr/local/bin/neroaac&#039;. Make sure you chmod it to something like 755.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;#!/bin/bash&amp;lt;br/&amp;gt;&lt;br /&gt;
TEMPFILE=/dev/shm/neroaac-$RANDOM&amp;lt;br/&amp;gt;&lt;br /&gt;
cd /home/chris/winec/nero/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
sox -x -s -w -t raw -r 44100 -c 2 &amp;quot;$1&amp;quot; -w $TEMPFILE.wav&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacEnc.exe -if $TEMPFILE.wav -of $TEMPFILE.mp4&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacTag.exe $TEMPFILE.mp4 -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
mv $TEMPFILE.mp4 &amp;quot;$2&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
rm $TEMPFILE.wav&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;quot;cd /home/chris/winec/nero/win32&amp;quot; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin). The data this script takes in will be RAW 16 bit, 44.1kHz, big endian, stereo to match the format that k3b outputs.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
It&#039;s a bit hard to test this script on its own because of the format of the input file. K3b itself doesn&#039;t even export RAW audio in this format when you have RAW selected as a format!&lt;br /&gt;
&lt;br /&gt;
==Configure K3b to use &#039;neroaac&#039; as an External Plugin==&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and go to the &#039;Settings&#039; menu and select &#039;Configure K3b&#039;. Select &#039;Plugins&#039; and then &#039;K3b External Audio Encoder&#039;. Hit the &#039;Configure&#039; button: &amp;lt;br/&amp;gt;[[Image:Settings-configure-k3b.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:[[Image:k3b-add-external-plugin.png]]&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;tt&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; and &#039;Options&#039; boxes.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. This is the &#039;arrow&#039; button in the screenshot below:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Image:K3b-audiocd-project.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the following button:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Image:K3b-ripping.png]]&lt;br /&gt;
&lt;br /&gt;
=Known flaws/limitations:=&lt;br /&gt;
* The progress bar goes to 100% quickly when converting a file and then sits there for a while. This is because K3b judges the completeness of the operation by how much of the file it has fed to the program. The program needs to take the *whole* file straight up because it needs to make a .WAV file out of it before sending it to neroAacEnc.exe. SOX will not support outputting a WAV file to a data stream.&lt;br /&gt;
* Does not support decoding of MP4 files. This would require the development of a proper Audio Decoding plugin for K3b.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13537</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13537"/>
		<updated>2006-09-14T11:04:21Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: Updated the &amp;quot;Configure K3b to use &amp;#039;neroaac&amp;#039; as an External Plugin&amp;quot; section to use attachment images, simplified procedure&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;K3b is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
This guide was originally posted on the Hydrogen Audio forum here: http://www.hydrogenaudio.org/forums/index.php?showtopic=48228&lt;br /&gt;
&lt;br /&gt;
Note that this only allows you to &#039;&#039;&#039;create&#039;&#039;&#039; .MP4 files - it does not allow you to decode them so that they can be burnt to a CD.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get). Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;Sox&#039;&#039;&#039; (12.17.9-1 .deb package from Synaptic/apt-get)&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (0.12.17 compiled from source at http://k3b.plainblack.com/download )&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
* &#039;&#039;&#039;/dev/shm&#039;&#039;&#039; filesystem (this is often installed by default - you can get by without it, but your hard disk will end up doing more work)&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
==Configure Wine==&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of Z:\ to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;winecfg&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
==Install Nero Digital Audio executables==&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere.&amp;lt;br/&amp;gt;&lt;br /&gt;
You might want to test out that the executables can run by doing something like:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ wine neroAacEnc.exe&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
in the &#039;win32&#039; directory of the extracted files.&amp;lt;br/&amp;gt;&lt;br /&gt;
You should see some output like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Copyright (C) 2006 Nero AG&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  All Rights Reserved Worldwide&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Package build date: May 26 2006&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  See -help for a complete list of available parameters.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;ERROR: no input file specified&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
==Create &#039;neroaac&#039; wrapper script==&lt;br /&gt;
&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;/usr/local/bin/neroaac&#039;. Make sure you chmod it to something like 755.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;#!/bin/bash&amp;lt;br/&amp;gt;&lt;br /&gt;
TEMPFILE=/dev/shm/neroaac-$RANDOM&amp;lt;br/&amp;gt;&lt;br /&gt;
cd /home/chris/winec/nero/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
sox -x -s -w -t raw -r 44100 -c 2 &amp;quot;$1&amp;quot; -w $TEMPFILE.wav&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacEnc.exe -if $TEMPFILE.wav -of $TEMPFILE.mp4&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacTag.exe $TEMPFILE.mp4 -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
mv $TEMPFILE.mp4 &amp;quot;$2&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
rm $TEMPFILE.wav&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;quot;cd /home/chris/winec/nero/win32&amp;quot; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin). The data this script takes in will be RAW 16 bit, 44.1kHz, big endian, stereo to match the format that k3b outputs.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
It&#039;s a bit hard to test this script on its own because of the format of the input file. K3b itself doesn&#039;t even export RAW audio in this format when you have RAW selected as a format!&lt;br /&gt;
&lt;br /&gt;
==Configure K3b to use &#039;neroaac&#039; as an External Plugin==&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and go to the &#039;Settings&#039; menu and select &#039;Configure K3b&#039;. Select &#039;Plugins&#039; and then &#039;K3b External Audio Encoder&#039;. Hit the &#039;Configure&#039; button: &amp;lt;br/&amp;gt;[[Image:Settings-configure-k3b.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:[[Image:k3b-add-external-plugin.png]]&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;tt&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; and &#039;Options&#039; boxes.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. This is the &#039;arrow&#039; button in the screenshot below:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Image:K3b-audiocd-project.png]]&amp;lt;br/&amp;gt;&lt;br /&gt;
Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the following button:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Image:K3b-ripping.png]]&lt;br /&gt;
&lt;br /&gt;
=Known flaws/limitations:=&lt;br /&gt;
* The progress bar goes to 100% quickly when converting a file and then sits there for a while. This is because K3b judges the completeness of the operation by how much of the file it has fed to the program. The program needs to take the *whole* file straight up because it needs to make a .WAV file out of it before sending it to neroAacEnc.exe. SOX will not support outputting a WAV file to a data stream.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:K3b-ripping.png&amp;diff=13536</id>
		<title>File:K3b-ripping.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:K3b-ripping.png&amp;diff=13536"/>
		<updated>2006-09-14T10:57:24Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:K3b-audiocd-project.png&amp;diff=13535</id>
		<title>File:K3b-audiocd-project.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:K3b-audiocd-project.png&amp;diff=13535"/>
		<updated>2006-09-14T10:56:17Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:K3b-add-external-plugin.png&amp;diff=13534</id>
		<title>File:K3b-add-external-plugin.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:K3b-add-external-plugin.png&amp;diff=13534"/>
		<updated>2006-09-14T10:52:25Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Settings-configure-k3b.png&amp;diff=13533</id>
		<title>File:Settings-configure-k3b.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Settings-configure-k3b.png&amp;diff=13533"/>
		<updated>2006-09-14T10:48:30Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Talk:K3b_and_Nero_AAC&amp;diff=13532</id>
		<title>Talk:K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Talk:K3b_and_Nero_AAC&amp;diff=13532"/>
		<updated>2006-09-14T08:01:16Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* The method for adding the &#039;Nero AAC&#039; external plugin can probably be simplified by using &#039;Settings&#039; -&amp;gt; &#039;Configure K3b&#039; -&amp;gt; &#039;Plugins&#039; -&amp;gt; &#039;External Audio Encoder&#039; -&amp;gt; &#039;Configure&#039;. CC 14-Sep-2006&lt;br /&gt;
* This process would be a good candidate for a proper &#039;Audio Encoder&#039; &#039;&#039;&#039;and&#039;&#039;&#039; &#039;Audio Decoder&#039; plugin for K3b if anyone would be interested in spending some time on it. I haven&#039;t looked into decoding audio yet, but it looks like it would have to be done in a proper plugin.&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Talk:K3b_and_Nero_AAC&amp;diff=13531</id>
		<title>Talk:K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Talk:K3b_and_Nero_AAC&amp;diff=13531"/>
		<updated>2006-09-14T07:58:10Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* The method for adding the &#039;Nero AAC&#039; external plugin can probably be simplified.&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13530</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13530"/>
		<updated>2006-09-14T07:51:42Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: Added link back to forum&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;K3b is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
This guide was originally posted on the Hydrogen Audio forum here: http://www.hydrogenaudio.org/forums/index.php?showtopic=48228&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get). Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;Sox&#039;&#039;&#039; (12.17.9-1 .deb package from Synaptic/apt-get)&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (0.12.17 compiled from source at http://k3b.plainblack.com/download )&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
* &#039;&#039;&#039;/dev/shm&#039;&#039;&#039; filesystem (this is often installed by default - you can get by without it, but your hard disk will end up doing more work)&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
==Configure Wine==&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of Z:\ to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;winecfg&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
==Install Nero Digital Audio executables==&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere.&amp;lt;br/&amp;gt;&lt;br /&gt;
You might want to test out that the executables can run by doing something like:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ wine neroAacEnc.exe&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
in the &#039;win32&#039; directory of the extracted files.&amp;lt;br/&amp;gt;&lt;br /&gt;
You should see some output like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Copyright (C) 2006 Nero AG&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  All Rights Reserved Worldwide&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Package build date: May 26 2006&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  See -help for a complete list of available parameters.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;ERROR: no input file specified&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
==Create &#039;neroaac&#039; wrapper script==&lt;br /&gt;
&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;/usr/local/bin/neroaac&#039;. Make sure you chmod it to something like 755.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;#!/bin/bash&amp;lt;br/&amp;gt;&lt;br /&gt;
TEMPFILE=/dev/shm/neroaac-$RANDOM&amp;lt;br/&amp;gt;&lt;br /&gt;
cd /home/chris/winec/nero/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
sox -x -s -w -t raw -r 44100 -c 2 &amp;quot;$1&amp;quot; -w $TEMPFILE.wav&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacEnc.exe -if $TEMPFILE.wav -of $TEMPFILE.mp4&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacTag.exe $TEMPFILE.mp4 -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
mv $TEMPFILE.mp4 &amp;quot;$2&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
rm $TEMPFILE.wav&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;quot;cd /home/chris/winec/nero/win32&amp;quot; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin). The data this script takes in will be RAW 16 bit, 44.1kHz, big endian, stereo to match the format that k3b outputs.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
It&#039;s a bit hard to test this script on its own because of the format of the input file. K3b itself doesn&#039;t even export RAW audio in this format when you have RAW selected as a format!&lt;br /&gt;
&lt;br /&gt;
==Configure K3b to use &#039;neroaac&#039; as an External Plugin==&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and start a new Audio CD project:&amp;lt;br/&amp;gt;http://img223.imageshack.us/img223/6554/k3b2bs0.png&lt;br /&gt;
# Drag an audio file into the project and hit the arrow button in the project with the tooltip &#039;Convert audio tracks to other audio formats&#039;:&amp;lt;br/&amp;gt;http://img80.imageshack.us/img80/6590/k3b3ox5.png&lt;br /&gt;
# In the Audio Project Conversion box that appears hit the icon that looks like a mechanical gear. You might have to change the Filetype to something like &#039;Flac&#039; in order to do this:&amp;lt;br/&amp;gt;http://img90.imageshack.us/img90/9279/k3b4hh0.png&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:&amp;lt;br/&amp;gt;http://img243.imageshack.us/img243/6195/k3b6dm1.png&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;tt&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; box. Also close the &#039;Audio Project Conversion&#039; box.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the left-most button:&amp;lt;br/&amp;gt;&lt;br /&gt;
http://img213.imageshack.us/img213/5307/rippingxj3.png&lt;br /&gt;
&lt;br /&gt;
=Known flaws/limitations:=&lt;br /&gt;
* The progress bar goes to 100% quickly when converting a file and then sits there for a while. This is because K3b judges the completeness of the operation by how much of the file it has fed to the program. The program needs to take the *whole* file straight up because it needs to make a .WAV file out of it before sending it to neroAacEnc.exe. SOX will not support outputting a WAV file to a data stream.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13529</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13529"/>
		<updated>2006-09-14T07:50:00Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: /* Install Nero Digital Audio executables */ Fixed asterisks&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;K3b is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get). Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;Sox&#039;&#039;&#039; (12.17.9-1 .deb package from Synaptic/apt-get)&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (0.12.17 compiled from source at http://k3b.plainblack.com/download )&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
* &#039;&#039;&#039;/dev/shm&#039;&#039;&#039; filesystem (this is often installed by default - you can get by without it, but your hard disk will end up doing more work)&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
==Configure Wine==&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of Z:\ to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;winecfg&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
==Install Nero Digital Audio executables==&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere.&amp;lt;br/&amp;gt;&lt;br /&gt;
You might want to test out that the executables can run by doing something like:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ wine neroAacEnc.exe&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
in the &#039;win32&#039; directory of the extracted files.&amp;lt;br/&amp;gt;&lt;br /&gt;
You should see some output like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Copyright (C) 2006 Nero AG&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  All Rights Reserved Worldwide&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  Package build date: May 26 2006&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*  See -help for a complete list of available parameters.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*************************************************************&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;ERROR: no input file specified&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
==Create &#039;neroaac&#039; wrapper script==&lt;br /&gt;
&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;/usr/local/bin/neroaac&#039;. Make sure you chmod it to something like 755.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;#!/bin/bash&amp;lt;br/&amp;gt;&lt;br /&gt;
TEMPFILE=/dev/shm/neroaac-$RANDOM&amp;lt;br/&amp;gt;&lt;br /&gt;
cd /home/chris/winec/nero/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
sox -x -s -w -t raw -r 44100 -c 2 &amp;quot;$1&amp;quot; -w $TEMPFILE.wav&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacEnc.exe -if $TEMPFILE.wav -of $TEMPFILE.mp4&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacTag.exe $TEMPFILE.mp4 -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
mv $TEMPFILE.mp4 &amp;quot;$2&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
rm $TEMPFILE.wav&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;quot;cd /home/chris/winec/nero/win32&amp;quot; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin). The data this script takes in will be RAW 16 bit, 44.1kHz, big endian, stereo to match the format that k3b outputs.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
It&#039;s a bit hard to test this script on its own because of the format of the input file. K3b itself doesn&#039;t even export RAW audio in this format when you have RAW selected as a format!&lt;br /&gt;
&lt;br /&gt;
==Configure K3b to use &#039;neroaac&#039; as an External Plugin==&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and start a new Audio CD project:&amp;lt;br/&amp;gt;http://img223.imageshack.us/img223/6554/k3b2bs0.png&lt;br /&gt;
# Drag an audio file into the project and hit the arrow button in the project with the tooltip &#039;Convert audio tracks to other audio formats&#039;:&amp;lt;br/&amp;gt;http://img80.imageshack.us/img80/6590/k3b3ox5.png&lt;br /&gt;
# In the Audio Project Conversion box that appears hit the icon that looks like a mechanical gear. You might have to change the Filetype to something like &#039;Flac&#039; in order to do this:&amp;lt;br/&amp;gt;http://img90.imageshack.us/img90/9279/k3b4hh0.png&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:&amp;lt;br/&amp;gt;http://img243.imageshack.us/img243/6195/k3b6dm1.png&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;tt&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; box. Also close the &#039;Audio Project Conversion&#039; box.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the left-most button:&amp;lt;br/&amp;gt;&lt;br /&gt;
http://img213.imageshack.us/img213/5307/rippingxj3.png&lt;br /&gt;
&lt;br /&gt;
=Known flaws/limitations:=&lt;br /&gt;
* The progress bar goes to 100% quickly when converting a file and then sits there for a while. This is because K3b judges the completeness of the operation by how much of the file it has fed to the program. The program needs to take the *whole* file straight up because it needs to make a .WAV file out of it before sending it to neroAacEnc.exe. SOX will not support outputting a WAV file to a data stream.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13528</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13528"/>
		<updated>2006-09-14T07:47:21Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: Added category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;K3b is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get). Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;Sox&#039;&#039;&#039; (12.17.9-1 .deb package from Synaptic/apt-get)&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (0.12.17 compiled from source at http://k3b.plainblack.com/download )&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
* &#039;&#039;&#039;/dev/shm&#039;&#039;&#039; filesystem (this is often installed by default - you can get by without it, but your hard disk will end up doing more work)&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
==Configure Wine==&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of Z:\ to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;winecfg&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
==Install Nero Digital Audio executables==&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere.&amp;lt;br/&amp;gt;&lt;br /&gt;
You might want to test out that the executables can run by doing something like:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ wine neroAacEnc.exe&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
in the &#039;win32&#039; directory of the extracted files.&amp;lt;br/&amp;gt;&lt;br /&gt;
You should see some output like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder *&lt;br /&gt;
&lt;br /&gt;
*  Copyright (C) 2006 Nero AG							   *&lt;br /&gt;
&lt;br /&gt;
*  All Rights Reserved Worldwide							*&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*  Package build date: May 26 2006						  *&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*  See -help for a complete list of available parameters.   *&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
ERROR: no input file specified&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
==Create &#039;neroaac&#039; wrapper script==&lt;br /&gt;
&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;/usr/local/bin/neroaac&#039;. Make sure you chmod it to something like 755.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;#!/bin/bash&amp;lt;br/&amp;gt;&lt;br /&gt;
TEMPFILE=/dev/shm/neroaac-$RANDOM&amp;lt;br/&amp;gt;&lt;br /&gt;
cd /home/chris/winec/nero/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
sox -x -s -w -t raw -r 44100 -c 2 &amp;quot;$1&amp;quot; -w $TEMPFILE.wav&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacEnc.exe -if $TEMPFILE.wav -of $TEMPFILE.mp4&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacTag.exe $TEMPFILE.mp4 -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
mv $TEMPFILE.mp4 &amp;quot;$2&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
rm $TEMPFILE.wav&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;quot;cd /home/chris/winec/nero/win32&amp;quot; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin). The data this script takes in will be RAW 16 bit, 44.1kHz, big endian, stereo to match the format that k3b outputs.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
It&#039;s a bit hard to test this script on its own because of the format of the input file. K3b itself doesn&#039;t even export RAW audio in this format when you have RAW selected as a format!&lt;br /&gt;
&lt;br /&gt;
==Configure K3b to use &#039;neroaac&#039; as an External Plugin==&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and start a new Audio CD project:&amp;lt;br/&amp;gt;http://img223.imageshack.us/img223/6554/k3b2bs0.png&lt;br /&gt;
# Drag an audio file into the project and hit the arrow button in the project with the tooltip &#039;Convert audio tracks to other audio formats&#039;:&amp;lt;br/&amp;gt;http://img80.imageshack.us/img80/6590/k3b3ox5.png&lt;br /&gt;
# In the Audio Project Conversion box that appears hit the icon that looks like a mechanical gear. You might have to change the Filetype to something like &#039;Flac&#039; in order to do this:&amp;lt;br/&amp;gt;http://img90.imageshack.us/img90/9279/k3b4hh0.png&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:&amp;lt;br/&amp;gt;http://img243.imageshack.us/img243/6195/k3b6dm1.png&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;tt&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; box. Also close the &#039;Audio Project Conversion&#039; box.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the left-most button:&amp;lt;br/&amp;gt;&lt;br /&gt;
http://img213.imageshack.us/img213/5307/rippingxj3.png&lt;br /&gt;
&lt;br /&gt;
=Known flaws/limitations:=&lt;br /&gt;
* The progress bar goes to 100% quickly when converting a file and then sits there for a while. This is because K3b judges the completeness of the operation by how much of the file it has fed to the program. The program needs to take the *whole* file straight up because it needs to make a .WAV file out of it before sending it to neroAacEnc.exe. SOX will not support outputting a WAV file to a data stream.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Advanced_Audio_Coding&amp;diff=13527</id>
		<title>Advanced Audio Coding</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Advanced_Audio_Coding&amp;diff=13527"/>
		<updated>2006-09-14T07:43:22Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: /* Encoders / Decoders (Supported Platforms) */ Added link to Linux_and_Nero_AAC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&#039;&#039;&#039;AAC&#039;&#039;&#039; or &#039;Advanced Audio Coding&#039; forms part of the latest specifications from the MPEG committee, and is their official successor to the popular [[MP3]] format.  As with MP3, the AAC format is an international standard, and is backed by several big-name companies, including Dolby, Sony and Nokia.&lt;br /&gt;
&lt;br /&gt;
With the 13 years that had passed since the creation of the MP3 format, many improvements had been realised leading to a seemingly complex specification with several flavours of AAC available.  To potentially add to the confusion, AAC is usually wrapped inside an [[MP4]] container to provide tagging, seeking and possibly other benefits??  For this reason, AAC can also be referred to as MP4 audio.. &lt;br /&gt;
&lt;br /&gt;
There are several AAC encoders to choose from, coming from large names such as Apple ([[iTunes]]) , Real Networks and Nero AG (Creators of Nero Burning Rom), or the open source [http://www.audiocoding.com FAAC] which is analogous to the [[LAME]] encoder.  AAC is supported on some hardware players, most notably the [[Apple iPod]] and some cell phones, and is available in Apple&#039;s online store.  &lt;br /&gt;
&lt;br /&gt;
In terms of quality, the AAC format is on par with [[Ogg Vorbis]], [[LAME]] MP3, [[WMA]] Pro and other modern codecs, and with added SBR coding (HE AAC) it can provide quite high quality at low bitrates.&lt;br /&gt;
&lt;br /&gt;
Recent developments have led to [[AACplus]] which is able to give subjectively good results at low bitrates. The website [[tuner2 | http://www.tuner2.com]] has several Internet radio stations which are sending out streams at low rates - such as 40 kbps - and some of these are surprisingly good considering the bit rates used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Pros===&lt;br /&gt;
&lt;br /&gt;
* An international standard approved by the [http://www.iso.ch ISO]&lt;br /&gt;
* Flexible: supports several [[sampling rate]]s (8000-96000 Hz), bit depths, and [[multichannel]] (up to 48 channels)&lt;br /&gt;
* Several implementations, including free and high quality ones ([http://www.itunes.com iTunes] or [http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html Nero Digital])&lt;br /&gt;
* Reaches transparency in most samples and for most users at around 150kbps&lt;br /&gt;
* Part of [[MPEG-4]] specs&lt;br /&gt;
* Anyone can create its own implementation (specifications and demo sources available)&lt;br /&gt;
* Some portable players support it (Philips Expanium, [[Apple iPod]], cell phones from Nokia, Sony Jukebox)&lt;br /&gt;
&lt;br /&gt;
===Cons===&lt;br /&gt;
&lt;br /&gt;
* Problem cases that trip out all transform codecs&lt;br /&gt;
* Heavily patented&lt;br /&gt;
* Increased complexity&lt;br /&gt;
* &#039;&#039;&#039;AAC&#039;&#039;&#039; comes in different &amp;quot;flavors&amp;quot; (object types: &#039;&#039;&#039;AAC LC&#039;&#039;&#039;, &#039;&#039;&#039;AAC HE&#039;&#039;&#039;, &#039;&#039;&#039;AAC PS&#039;&#039;&#039; etc.). Many (especially portable) players only support LC (at the moment) so you can have files that are valid but your player won&#039;t play them.&lt;br /&gt;
&lt;br /&gt;
==Technical Information==&lt;br /&gt;
&#039;&#039;&#039;AAC&#039;&#039;&#039; stands for &#039;Advanced Audio Coding&#039; and is part of the [[MPEG-4]] Systems Standard. Originally known as MPEG-2 Non-Backwards Compatible (As apposed to MPEG-2 Backwards Compatible) it is the succesor to MPEG-1/2 Layer III ([[MP3]]). It uses the [[MP4]] [[container]] (which is based on Apple&#039;s [[MOV]] container) to store metadata (i.e. tag information).&lt;br /&gt;
&lt;br /&gt;
As part of the MPEG-4 Systems Standard, an &#039;&#039;&#039;AAC&#039;&#039;&#039; encoded file can include up to 48 full-bandwith audio channels (up to 96 kHz) and 15 Low Frequency Enhancement channels (limited to 120 Hz) plus 15 data streams.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;AAC&#039;&#039;&#039; encoding methods are organised into Profiles (MPEG-2) or Object Types (MPEG-4). These different Object Types are not necessarily compatible with each other and may not be playable with various decoders. Some of the various Object Types are:&lt;br /&gt;
&lt;br /&gt;
* MPEG-2 AAC LC / Low Complexity&lt;br /&gt;
* MPEG-2 AAC Main&lt;br /&gt;
* MPEG-2 AAC SSR / Scalable Sampling Rate&lt;br /&gt;
* MPEG-4 AAC LC / Low Complexity&lt;br /&gt;
* MPEG-4 AAC Main&lt;br /&gt;
* MPEG-4 AAC SSR / Scalable Sampling Rate&lt;br /&gt;
* MPEG-4 AAC LTP / Long Term Prediction&lt;br /&gt;
* MPEG-4 AAC HE / High Efficiency&lt;br /&gt;
* MPEG-4 AAC LD / Low Delay&lt;br /&gt;
&lt;br /&gt;
Different Object Types vary in complexity. Some take longer to encode/decode as a result of the different complexities. Furthermore, the benefits of the more complex profiles are often not worth the CPU power required to encode/decode them. As a result the Low Complexity/LC Object Type has become the profile used by most encoders and supported by most decoders. However, the High Efficiency (HE) Object Type has become more popular recently with its addition to the Nero &#039;&#039;&#039;AAC&#039;&#039;&#039; encoder.&lt;br /&gt;
&lt;br /&gt;
Currently all players support the LC Object Type, although some will work on only MPEG2 or MPEG4 streams. Players based on the FAAD2 decoder (eg. [[foobar2000]], [[Winamp]] plugins) support almost all Object Types including HE &#039;&#039;&#039;AAC&#039;&#039;&#039;. 3ivX also supports all Object Types except SSR.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Technologies used for compression==&lt;br /&gt;
&lt;br /&gt;
* [[Huffman coding]]&lt;br /&gt;
* [[Quantization]] and scaling&lt;br /&gt;
* [[Joint stereo|M/S matrixing]]&lt;br /&gt;
* [[Intensity stereo]]&lt;br /&gt;
* Channel coupling&lt;br /&gt;
* Backward adaptive prediction&lt;br /&gt;
* Temporal Noise Shaping (TNS)&lt;br /&gt;
* Modified Discrete Cosine Transform (I[[MDCT]])&lt;br /&gt;
* Gain control and hybrid filter bank (polyphase quadrature filter (IPQF)+IMDCT)&lt;br /&gt;
* Long Term Predictor (LTP) - MPEG4 &#039;&#039;&#039;AAC&#039;&#039;&#039; only&lt;br /&gt;
* Perceptual Noise Substitution (PNS) - MPEG4 &#039;&#039;&#039;AAC&#039;&#039;&#039; only&lt;br /&gt;
* Spectral Band Replication ([[SBR]]) - HE &#039;&#039;&#039;AAC&#039;&#039;&#039;&lt;br /&gt;
* Parametric Stereo (PS) - HE &#039;&#039;&#039;AAC&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Encoders / Decoders (Supported Platforms)==&lt;br /&gt;
&lt;br /&gt;
* [[Nero AAC]] (Win32 and [[Linux_and_Nero_AAC|Linux under Wine]])&lt;br /&gt;
* [[QuickTime AAC]] (Win32/MacOS X)&lt;br /&gt;
* [[FAAC]] [[FAAD]] (Multiplatform)&lt;br /&gt;
* HHI/zPlane [[Compaact!]] (Win32)&lt;br /&gt;
* [[PsyTEL]] (Win32)&lt;br /&gt;
&lt;br /&gt;
==External References==&lt;br /&gt;
&lt;br /&gt;
* [[AAC FAQ]]&lt;br /&gt;
* Known [[AAC implementations]].&lt;br /&gt;
* Read the [[AAC guide]] to learn how to obtain &#039;&#039;&#039;AAC&#039;&#039;&#039;/[[MP4]] files out of WAV files and CDs.&lt;br /&gt;
* Detailed &#039;&#039;&#039;AAC&#039;&#039;&#039; comparisons can be found at [http://www.rjamorim.com/test/ Roberto&#039;s listening tests page].&lt;br /&gt;
&lt;br /&gt;
[[Category:Codecs]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13526</id>
		<title>K3b and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=13526"/>
		<updated>2006-09-14T07:41:33Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;K3b is a multi-purpose burning/ripping/transcoding tool for Linux under the KDE graphical environment (it can be run under GNOME as well so long as the correct libraries are installed). It is generally pretty stable and does a good job of keeping the meta-data (e.g. title, album, etc) for tracks. The MP4 file format is therefore well matched to be outputted from K3b.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* &#039;&#039;&#039;Linux&#039;&#039;&#039; (I&#039;m using Ubuntu Dapper Drake 6.06)&lt;br /&gt;
* &#039;&#039;&#039;Wine&#039;&#039;&#039; (0.9.9-0ubuntu2 .deb package from Synaptic/apt-get). Wine must be set up and installed - you at least need a &#039;Windows&#039; and a &#039;Windows\System32&#039; directory. The encoder itself doesn&#039;t require any extra DLLs.&lt;br /&gt;
* &#039;&#039;&#039;Sox&#039;&#039;&#039; (12.17.9-1 .deb package from Synaptic/apt-get)&lt;br /&gt;
* &#039;&#039;&#039;K3b&#039;&#039;&#039; (0.12.17 compiled from source at http://k3b.plainblack.com/download )&lt;br /&gt;
* &#039;&#039;&#039;Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder&#039;&#039;&#039; (1.0.0.2 downloaded from http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html )&lt;br /&gt;
* &#039;&#039;&#039;/dev/shm&#039;&#039;&#039; filesystem (this is often installed by default - you can get by without it, but your hard disk will end up doing more work)&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
These instructions assume you have installed all the required items above.&lt;br /&gt;
&lt;br /&gt;
==Configure Wine==&lt;br /&gt;
I won&#039;t go into too much detail about this here, but it&#039;s important that Wine can access all the files on your drive. I usually do this by keeping the default of Z:\ to be the &#039;root&#039; (i.e. &#039;/&#039;) filesystem. The program &#039;winecfg&#039; is very useful in setting up this.&lt;br /&gt;
&lt;br /&gt;
==Install Nero Digital Audio executables==&lt;br /&gt;
This bit is pretty easy. You just unzip the files to a directory somewhere.&amp;lt;br/&amp;gt;&lt;br /&gt;
You might want to test out that the executables can run by doing something like:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;$ wine neroAacEnc.exe&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
in the &#039;win32&#039; directory of the extracted files.&amp;lt;br/&amp;gt;&lt;br /&gt;
You should see some output like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;err:font:ReadFontDir Can&#039;t open directory &amp;quot;/home/chris/.wine/dosdevices/c:/windows/Fonts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*  Nero Digital Audio Reference MPEG-4 &amp;amp; 3GPP Audio Encoder *&lt;br /&gt;
&lt;br /&gt;
*  Copyright (C) 2006 Nero AG							   *&lt;br /&gt;
&lt;br /&gt;
*  All Rights Reserved Worldwide							*&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*  Package build date: May 26 2006						  *&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*  See -help for a complete list of available parameters.   *&lt;br /&gt;
&lt;br /&gt;
*														   *&lt;br /&gt;
&lt;br /&gt;
*************************************************************&lt;br /&gt;
&lt;br /&gt;
ERROR: no input file specified&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My Wine isn&#039;t set up for GUI stuff for Wine too well yet, hence the error message at the top. We don&#039;t have to worry about that though, because this is just a command line application.&lt;br /&gt;
&lt;br /&gt;
==Create &#039;neroaac&#039; wrapper script==&lt;br /&gt;
&lt;br /&gt;
So I made a wrapper script around neroAacEnc.exe and neroAacTag.exe. The code for it is below. Copy the code into a file &#039;/usr/local/bin/neroaac&#039;. Make sure you chmod it to something like 755.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;#!/bin/bash&amp;lt;br/&amp;gt;&lt;br /&gt;
TEMPFILE=/dev/shm/neroaac-$RANDOM&amp;lt;br/&amp;gt;&lt;br /&gt;
cd /home/chris/winec/nero/win32&amp;lt;br/&amp;gt;&lt;br /&gt;
sox -x -s -w -t raw -r 44100 -c 2 &amp;quot;$1&amp;quot; -w $TEMPFILE.wav&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacEnc.exe -if $TEMPFILE.wav -of $TEMPFILE.mp4&amp;lt;br/&amp;gt;&lt;br /&gt;
wine neroAacTag.exe $TEMPFILE.mp4 -meta:title=&amp;quot;$3&amp;quot; -meta:artist=&amp;quot;$4&amp;quot; -meta:comment=&amp;quot;$5&amp;quot; -meta:track=&amp;quot;$6&amp;quot; -meta:album=&amp;quot;$7&amp;quot; -meta:year=&amp;quot;$8&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
mv $TEMPFILE.mp4 &amp;quot;$2&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
rm $TEMPFILE.wav&lt;br /&gt;
&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039; Change the line that reads &amp;quot;cd /home/chris/winec/nero/win32&amp;quot; to be the directory where you have neroAacEnc.exe and neroAacTag.exe located.&lt;br /&gt;
&lt;br /&gt;
Just in case you are interested, this program will take in the following parameters:&lt;br /&gt;
&lt;br /&gt;
# Source filename (or &#039;-&#039; for stdin). The data this script takes in will be RAW 16 bit, 44.1kHz, big endian, stereo to match the format that k3b outputs.&lt;br /&gt;
# Output filename. e.g. &amp;quot;myfile.mp4&amp;quot;&lt;br /&gt;
# Track Title&lt;br /&gt;
# Track Artist&lt;br /&gt;
# Track Comment&lt;br /&gt;
# Track Number&lt;br /&gt;
# Album&lt;br /&gt;
# Year&lt;br /&gt;
&lt;br /&gt;
It&#039;s a bit hard to test this script on its own because of the format of the input file. K3b itself doesn&#039;t even export RAW audio in this format when you have RAW selected as a format!&lt;br /&gt;
&lt;br /&gt;
==Configure K3b to use &#039;neroaac&#039; as an External Plugin==&lt;br /&gt;
&lt;br /&gt;
I&#039;ll do this with the aid of some screenshots.&lt;br /&gt;
&lt;br /&gt;
# Load up K3b and start a new Audio CD project:&amp;lt;br/&amp;gt;http://img223.imageshack.us/img223/6554/k3b2bs0.png&lt;br /&gt;
# Drag an audio file into the project and hit the arrow button in the project with the tooltip &#039;Convert audio tracks to other audio formats&#039;:&amp;lt;br/&amp;gt;http://img80.imageshack.us/img80/6590/k3b3ox5.png&lt;br /&gt;
# In the Audio Project Conversion box that appears hit the icon that looks like a mechanical gear. You might have to change the Filetype to something like &#039;Flac&#039; in order to do this:&amp;lt;br/&amp;gt;http://img90.imageshack.us/img90/9279/k3b4hh0.png&lt;br /&gt;
# In the next dialog box add a new program to the list and enter the following values in the &#039;Configure Plugin&#039; box:&amp;lt;br/&amp;gt;http://img243.imageshack.us/img243/6195/k3b6dm1.png&amp;lt;br/&amp;gt;The command line here is:&amp;lt;br/&amp;gt;&amp;lt;tt&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Close the &#039;Configure Plugin&#039; box. Also close the &#039;Audio Project Conversion&#039; box.&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
You can now use the &#039;Convert Audio Project&#039; to convert any files that K3b can read into .MP4 files. Note that if you want all the meta tags (e.g. &amp;quot;Album&amp;quot;) set, you will have to open the &#039;Burn&#039; dialog for the Audio project and enter the CD Text information and then hit the &amp;quot;Save&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You will also be able to rip to .MP4 by selecting your CD reader/recorder in the tree and using the left-most button:&amp;lt;br/&amp;gt;&lt;br /&gt;
http://img213.imageshack.us/img213/5307/rippingxj3.png&lt;br /&gt;
&lt;br /&gt;
=Known flaws/limitations:=&lt;br /&gt;
* The progress bar goes to 100% quickly when converting a file and then sits there for a while. This is because K3b judges the completeness of the operation by how much of the file it has fed to the program. The program needs to take the *whole* file straight up because it needs to make a .WAV file out of it before sending it to neroAacEnc.exe. SOX will not support outputting a WAV file to a data stream.&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Linux_and_Nero_AAC&amp;diff=13525</id>
		<title>Linux and Nero AAC</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Linux_and_Nero_AAC&amp;diff=13525"/>
		<updated>2006-09-14T07:17:54Z</updated>

		<summary type="html">&lt;p&gt;Psyllium: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Command Line Interface=&lt;br /&gt;
While Nero have released a free command-line AAC encoder for Windows, one is not available for Linux.&lt;br /&gt;
&lt;br /&gt;
The Windows executables (neroAacEnc.exe, neroAacTag.exe, etc) can be used in Linux via the use of Wine, a Windows emulator. Users familiar with a command-line interface can use these programs directly by doing something like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;wine neroAacEnc.exe -if infile.wav -of.wav&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Graphical User Interfaces=&lt;br /&gt;
An easier long-term solution would be to link in the command-line encoder into a graphical user interface.&lt;br /&gt;
* [[K3b_and_Nero_AAC_Guide|K3b and Nero AAC Guide]]&lt;/div&gt;</summary>
		<author><name>Psyllium</name></author>
	</entry>
</feed>