
audenc is a small script for encoding audio from one format to another.
Currently, the script supports MP3, AAC (through FAAC, neroAacEnc or aacplusenc),
Vorbis, AC3, DTS, FLAC, AMR and WAV (decoding) output. Automatic tagging (except
for AC3, DTS and WAV output), if present in the original file, and MPlayer audio
filters are also supported.

The script is intended to be used on directories where you want to re-encode
a given directory with audio files to some other format, so the script does
not accept individual files directly and is in fact a batch script. It can
also be ran under cron to watch a given directory every X minutes so if you
copy tracks to that directory, when cron executes the script, it will encode
and move them over to a given output directory. The script uses a config file,
located in $HOME/.audenc, where the user can set things up (encoder options,
paths to the programs, etc).

Since audenc uses MPlayer for decoding to WAV which then gets fed to the chosen
audio encoder, it can also encode audio from video files so you don't have to
first manually dump the audio from a video file and then encode it as audenc will
do it for you.

Usage (no filtering):	audenc aac /path/to/dir/inputdir /path/to/dir/outputdir
Usage (with filtering):	audenc aac -af volnorm,lavcresample=44100 /path/to/dir/inputdir /path/to/dir/outputdir

Current requiremens for the script are listed below:

MPlayer (for decoding/filtering)
MediaInfo (for tagging)
MP4Box
LAME
neroAacEnc
neroAacTag
FAAC
aacplusenc
amrenc
Aften
dcaenc
oggenc
flac
