FFmpeg 2.4.14
Since* 0.9
#

Convert the input audio format to the specified formats.

This filter is deprecated. Use aformat instead.

The filter accepts a string of the form: "sample_format:channel_layout".

sample_format specifies the sample format, and can be a string or the corresponding numeric value defined in libavutil/samplefmt.h. Use ’p’ suffix for a planar sample format.

channel_layout specifies the channel layout, and can be a string or the corresponding number value defined in libavutil/channel_layout.h.

The special parameter "auto", signifies that the filter will automatically select the output format depending on the output filter.

#

Examples

  • Convert input to float, planar, stereo:

    aconvert=fltp:stereo
  • Convert input to unsigned 8-bit, automatically select out channel layout:

    aconvert=u8:auto