<?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=Outlyer</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=Outlyer"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/Outlyer"/>
	<updated>2026-04-28T19:20:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=User:Outlyer&amp;diff=16846</id>
		<title>User:Outlyer</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=User:Outlyer&amp;diff=16846"/>
		<updated>2007-04-06T17:27:20Z</updated>

		<summary type="html">&lt;p&gt;Outlyer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Currently the only stuff here is an alternate script for [[K3b_and_Nero_AAC]] located at [[User:Outlyer/neroaacenc_k3b_plugin]]&lt;/div&gt;</summary>
		<author><name>Outlyer</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Talk:K3b_and_Nero_AAC&amp;diff=16845</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=16845"/>
		<updated>2007-04-06T17:26:11Z</updated>

		<summary type="html">&lt;p&gt;Outlyer: Notes about my edits, and alternative script&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;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I&#039;ve modified slightly the script so that it doesn&#039;t set the progress bar to 100% too quickly by using pipes. It works for me with K3B 0.12.17 and NeroAAC 1.0.7.0, not sure if that worked in previous versions.&lt;br /&gt;
I&#039;m using a slightly more complex script, though, which can be found in [[User:Outlyer/neroaacenc_k3b_plugin]]&lt;br /&gt;
--[[User:Outlyer|Outlyer]] 12:26, 6 April 2007 (CDT)&lt;/div&gt;</summary>
		<author><name>Outlyer</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC&amp;diff=16844</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=16844"/>
		<updated>2007-04-06T17:21:04Z</updated>

		<summary type="html">&lt;p&gt;Outlyer: Modified script to use a pipe: the percentage bar now is pretty accurate. Added note about versions used. Added note in limitations about complete tags.&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;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 &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;
 TEMPFILE=/dev/shm/neroaac-$RANDOM&lt;br /&gt;
 cd /home/chris/winec/nero/win32&lt;br /&gt;
 sox -V -x -s -w -t raw -r 44100 -c 2 &amp;quot;$1&amp;quot; -t wav - | wine neroAacEnc.exe -ignorelength -if - -of $TEMPFILE.mp4&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;&lt;br /&gt;
 mv $TEMPFILE.mp4 &amp;quot;$2&amp;quot;&lt;br /&gt;
 rm $TEMPFILE.wav&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, 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;code&amp;gt;neroaac - %f %t %a %c %n %m %y&amp;lt;/code&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:&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>Outlyer</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=User:Outlyer/neroaacenc_k3b_plugin&amp;diff=16843</id>
		<title>User:Outlyer/neroaacenc k3b plugin</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=User:Outlyer/neroaacenc_k3b_plugin&amp;diff=16843"/>
		<updated>2007-04-06T17:16:01Z</updated>

		<summary type="html">&lt;p&gt;Outlyer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a slightly more complete version of the &amp;quot;neroaacenc&amp;quot; script for use with K3B as found in [[K3b and Nero AAC]].&lt;br /&gt;
&lt;br /&gt;
Important: The code here doesn&#039;t take the input parameter, so when configuring k3b you must set the command to &lt;br /&gt;
neroaac %f %t %a %c %n %m %y instead of neroaac - %f %t %a %c %n %m %y (note the dash is missing).&lt;br /&gt;
&lt;br /&gt;
Differences:&lt;br /&gt;
* &amp;lt;code&amp;gt;set -e&amp;lt;/code&amp;gt;: Fail quickly (abort on fail)&lt;br /&gt;
* Logfiles, for debugging purposes all output can be easily redirected&lt;br /&gt;
* Doesn&#039;t set empty tags&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 #&lt;br /&gt;
 # Based on &amp;lt;[[K3b and Nero AAC|http://wiki.hydrogenaudio.org/index.php?title=K3b_and_Nero_AAC_Guide]]&amp;gt;&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 set -e&lt;br /&gt;
 &lt;br /&gt;
 TEMPFILE=/dev/shm/neroaac-$RANDOM&lt;br /&gt;
 &lt;br /&gt;
 nerodir=/usr/share/neroaacenc&lt;br /&gt;
 &lt;br /&gt;
 LOGFILE_OUT=/dev/null # redirect std output to... for debugging e.g. $TEMPFILE.out&lt;br /&gt;
 LOGFILE_ERR=/dev/null # redirect std error to... for debugging e.g. $TEMPFILE.err&lt;br /&gt;
 &lt;br /&gt;
 ( # used to redirect output easily&lt;br /&gt;
 &lt;br /&gt;
 # output a WAV to stdin and encode it to $TEMPFILE.mp4&lt;br /&gt;
 sox -V -x -s -w -t raw -r 44100 -c 2 - -t wav - | wine $nerodir/neroAacEnc.exe -ignorelength -if - -of $TEMPFILE.mp4&lt;br /&gt;
 &lt;br /&gt;
 # tag it&lt;br /&gt;
 # avoid setting empty tags:&lt;br /&gt;
 # &lt;br /&gt;
 tags=&lt;br /&gt;
 if [ &amp;quot;$2&amp;quot; ]; then tags+=&amp;quot; -meta:title=\&amp;quot;$2\&amp;quot;&amp;quot;; fi&lt;br /&gt;
 if [ &amp;quot;$3&amp;quot; ]; then tags+=&amp;quot; -meta:artist=\&amp;quot;$3\&amp;quot;&amp;quot;; fi&lt;br /&gt;
 if [ &amp;quot;$4&amp;quot; ]; then tags+=&amp;quot; -meta:comment=\&amp;quot;$4\&amp;quot;&amp;quot;; fi&lt;br /&gt;
 if [ &amp;quot;$5&amp;quot; ]; then tags+=&amp;quot; -meta:track=\&amp;quot;$5\&amp;quot;&amp;quot;; fi&lt;br /&gt;
 if [ &amp;quot;$6&amp;quot; ]; then tags+=&amp;quot; -meta:album=\&amp;quot;$6\&amp;quot;&amp;quot;; fi&lt;br /&gt;
 if [ &amp;quot;$7&amp;quot; ]; then tags+=&amp;quot; -meta:year=\&amp;quot;$7\&amp;quot;&amp;quot;; fi&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$tags&amp;quot; ]; then&lt;br /&gt;
     eval wine $nerodir/neroAacTag.exe $TEMPFILE.mp4 $tags&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 # rename to its final name&lt;br /&gt;
 mv $TEMPFILE.mp4 &amp;quot;$1&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 ) &amp;gt;&amp;gt;$LOGFILE_OUT 2&amp;gt;&amp;gt;$LOGFILE_ERR&lt;/div&gt;</summary>
		<author><name>Outlyer</name></author>
	</entry>
</feed>