faac - Man Page

open source MPEG-4 and MPEG-2 AAC encoder


faac [options] [-o outfile] infiles ...

<infiles> and/or <outfile> can be "-", which means stdin/stdout.


FAAC is an open source MPEG-4 and MPEG-2 AAC encoder, it is licensed under the LGPL license. Note that the quality of FAAC is not up to par with the currently best AAC encoders available.


* Portable

* Fast

* LC, Main, LTP support

* DRM support through DreaM (optional)

Help Options


Short help on using FAAC


Description of all options for FAAC


License terms for FAAC.


Quality-related options


Input/output options


MP4 specific options Quality-related options


Advanced options, only for testing purposes

Input/Output Options

-o <filename>

Set output file to X (only for one input file) only for one input file; you can use *.aac, *.mp4, *.m4a or *.m4b as file extension, and the file format will be set automatically to ADTS or MP4).


Use stdin/stdout. If you simply use a hyphen/minus sign instead of a filename, FAAC can encode directly from stdin, thus enabling piping from other applications and utilities. The same works for stdout as well, so FAAC can pipe its output to other apps such as a server.

-v <vebose>

Verbosity level (-v0 is  quiet mode)


Use RAW AAC output file. Generate raw AAC bitstream (i.e. without any headers). Not advised!!!, RAW AAC files are practically useless!!!


Raw PCM input mode (default 44100Hz 16bit stereo). Raw PCM input mode (default: off, i.e. expecting a WAV header; necessary for input files or bitstreams without a header; using only -P assumes the default values for -R, -B and -C in the input file).

-R <samplerate>

Raw PCM input rate. Raw PCM input sample rate in Hz (default: 44100 Hz, max. 96 kHz)

-B <samplebits>

Raw PCM input sample size (8, 16 (default), 24 or 32bits). Raw PCM input sample size (default: 16, also possible 8, 24, 32 bit fixed or float input).

-C <channels>

Raw PCM input channels. Raw PCM input channels (default: 2, max. 33 + 1 LFE).


Raw PCM swap input bytes Raw PCM swap input bytes (default: bigendian).

-I <C[,LFE]>

Input channel config, default is 3,4 (Center third, LF fourth) Input multichannel configuration (default: 3,4 which means Center is third and LFE is fourth like in 5.1 WAV, so you only have to specify a different position of these two mono channels in your multichannel input files if they haven't been reordered already).


Ignore wav length from header (useful with files over 4 GB)


Overwrite existing output file

MP4 Specific Options


Wrap AAC data in MP4 container. (default for *.mp4, *.m4a and *.m4b)

--tag <tagname,tagvalue>

Add named tag (iTunes '----')

--artist <name>

Set artist name

--composer <name>

Set composer name

--title <name>

Set title/track name

--genre <number>

Set genre number

--album <name>

Set album/performer


Mark as compilation

--track <number/total>

Set track number

--disc <number/total>

Set disc number

--year <number>

Set year

--cover-art <filename>

Read cover art from file X Supported image formats are GIF, JPEG, and PNG.

--comment <string>

Set comment

Advanced Options, Only for Testing Purposes


Enable coding of TNS, temporal noise shaping.


Disable coding of TNS, temporal noise shaping.


Don't use mid/side coding.

--mpeg-vers X

Force AAC MPEG version, X can be 2 or 4

--shortctl X

Enforce block type (0 = both (default); 1 = no short; 2 = no long).


FAAC was written by M. Bakker <menno@audiocoding.com>.

Developed and maintained by Krzysztof Nikiel <knik@users.sourceforge.net>.

This manpage was written by Fabian Greffrath <fabian@debian-unofficial.org> for the Debian Unofficial project (but may be used by others, of course).

Referenced By

abcde(1), faad(1).

2017-08-16 1.29.5 Free Advanced Audio Coder