fdkaac is a command-line encoder frontend for libfdk-aac, (also available from gfs) to convert a sound file to AAC.