FFmpeg 0.9.4
Since* 0.9
#

Convert the input audio to one of the specified formats. The framework will negotiate the most appropriate format to minimize conversions.

The filter accepts three lists of formats, separated by ":", in the form: "sample_formats:channel_layouts:packing_formats".

Elements in each list are separated by "," which has to be escaped in the filtergraph specification.

The special parameter "all", in place of a list of elements, signifies all supported formats.

Some examples follow:

aformat=u8\\,s16:mono:packed

aformat=s16:mono\\,stereo:all