So you have a wav file that you want to convert on Linux to MP4 format (aka AAC) and want to know how to get the encoder installed so you can use your conversion program to complete the conversion.
Well, thanks to Nero this is a possible task due to their generosity of the NeroAAC Encoder. the process we are going to use is the same for Ubuntu and Fedora. Also, we will need to install gpac: MPEG-4 multimedia framework
$ mkdir AAC $ cd AAC/ $ wget http://ftp6.nero.com/tools/NeroAACCodec-1.5.1.zip $ unzip -j NeroAACCodec-1.5.1.zip $ sudo install -m 0755 neroAacEnc /usr/bin/ $ sudo apt-get install gpac
$ mkdir AAC $ cd AAC/ $ wget http://ftp6.nero.com/tools/NeroAACCodec-1.5.1.zip $ unzip -j NeroAACCodec-1.5.1.zip $ sudo install -m 0755 neroAacEnc /usr/bin/ $ sudo yum -y install gpac
Now that we have the encoder installed we can convert from the command line.
neroAacEnc [options] -if <input-file> -of <output-file>
<input-file> : Path to source file to encode.
The file must be in Microsoft WAV format and contain PCM data.
Specify – to encode from stdin.
<output-file> : Path to output file to encode to, in MP4 format.
There is also two other applications included in the zip file, neroAacTag and neroAacDec for tagging and decoding AAC/MP4 files. You can install them as follows.
$ sudo install -m 0755 neroAacDec /usr/bin/ $ sudo install -m 0755 neroAacTag /usr/bin/
Now you have all you need to convert, decode and tag a Microsoft WAV file to AAC/MP4 on Linux!