[Abcde-users] Encoding with neroAacEnc

andrew andrew at andrews-corner.org
Tue Dec 4 05:58:25 GMT 2012


Hi,

I have had a look at a patch sitting on the abcde googlecode site
which allows encoding with abcde:

http://code.google.com/p/abcde/issues/detail?id=8

Looks like the patch is waiting for testing against the current svn.

I have tested it on the current svn and made a few minor documentation
additions and all seems to be working well, updated patch attached to
this email. Did not seem worth adding support for the tagger that
comes with neroAacEnc (neroAacTag) as AtomicParsley is already there
and works well enough, perhaps this is a project for another day?

Love to see this in abcde :).

Andrew Strong
-- 
You think that's air you're breathing now?
-------------- next part --------------
Index: abcde
===================================================================
--- abcde	(revision 370)
+++ abcde	(working copy)
@@ -1151,7 +1151,10 @@
 				;;
 			m4a)
 				# Tag the file at encode time, as it can't be done after encoding.
-				if [ "$DOTAG" = "y" ]; then
+				if [ "$AACENC" = "neroAacEnc" ] ; then
+					DOTAG=y
+					$RUN_COMMAND nice $ENCNICE $AACENC $AACENCOPTS -if "$IN" -of "$OUT"
+									elif [ ! "$DOTAG" = "y" ]; then
 					$RUN_COMMAND nice $EFFECTIVE_NICE $AACENCODER $AACENCODEROPTS --artist "$TRACKARTIST" --album "$DALBUM" --title "$TRACKNAME" --track "$1" --genre "$CDGENRE" --year "$CDYEAR" --comment "$COMMENT" -o "$OUT" "$IN"
 					
 				else
Index: abcde.1
===================================================================
--- abcde.1	(revision 370)
+++ abcde.1	(working copy)
@@ -318,8 +318,8 @@
 point we only have \'mpcenc\' available, from musepack.net.
 .TP
 .B AACENCODERSYNTAX
-Specifies the style of encoder to use for M4A (AAC) encoder. At this point we
-only support \'faac\', so \'default\' points to it.
+Specifies the style of encoder to use for M4A (AAC) encoder. We support \'faac\'
+as \'default\' but support is there for NeroAacEnc as well.
 .TP
 .B NORMALIZERSYNTAX
 Specifies the style of normalizer to use.  Valid options are \'default\'
@@ -551,7 +551,7 @@
 \fBabcde\fR requires the following backend tools to work:
 .TP
 .B *
-An Ogg/Vorbis, MP3, FLAC, Ogg/Speex, MPP/MP+(Musepack) or M4A encoder (oggenc, vorbize, lame, gogo, bladeenc, l3enc, mp3enc, flac, speexenc, mpcenc, faac)
+An Ogg/Vorbis, MP3, FLAC, Ogg/Speex, MPP/MP+(Musepack) or M4A encoder (oggenc, vorbize, lame, gogo, bladeenc, l3enc, mp3enc, flac, speexenc, mpcenc, faac, NeroAacEnc)
 .TP
 .B *
 An audio CD reading utility (cdparanoia, icedax, cdda2wav, dagrab)
Index: abcde.conf
===================================================================
--- abcde.conf	(revision 370)
+++ abcde.conf	(working copy)
@@ -60,7 +60,8 @@
 # flac - the only supported for FLACENCODERSYNTAX at the moment
 # speexenc - the only encoder for SPEEXENCODERSYNTAX
 # mpcenc - encoder for MPCENCODERSYNTAX
-# default is a valid option for oggenc, lame, flac, speexenc and mpcenc.
+# faac, neroAacEnc - for AACENCODER
+# default is a valid option for oggenc, lame, flac, speexenc, mpcenc faac.
 # Currently this affects the default location of the binary, the variable
 # to pick encoder command-line options from, and where the options are
 # given.
@@ -185,7 +186,15 @@
 #MPCENCOPTS=
 
 # M4A/AAC
-#AACENCOPTS=
+#For faac encoding try the following options (see also: faac --help):
+#AACENC=faac
+#AACENCOPTS='-q 250 -w -s'
+#OUTPUTTYPE="m4a"
+# For neroAacEnc encoding try the following options (see also neroAacEnc -help):
+#AACENC=faac
+#AACENCOPTS='-q 0.65'
+#OUTPUTTYPE="m4a"
+#ATOMICPARSLEY='AtomicParsley'
 
 #ID3OPTS=
 #EYED3OPTS="--set-encoding=utf16-LE"


More information about the Abcde-users mailing list