diff options
author | Mina Nagy Zaki <mnzaki@gmail.com> | 2011-07-14 15:18:13 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-14 12:31:23 +0400 |
commit | 0a2295815dac9a924513555ce1f7491c1f5f1765 (patch) | |
tree | 24c0d702ddf2ea9caa4f8c8d9526c61cdb1becf3 /doc/filters.texi | |
parent | 3f07d40ea2861e0c2a1ce6cb56907e9e888a3491 (diff) |
lavfi: add aformat filter
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 24250ef4c5..8e10bc66a8 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -99,6 +99,27 @@ build. Below is a description of the currently available audio filters. +@section aformat + +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: +"@var{sample_formats}:@var{channel_layouts}:@var{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: +@example +aformat=u8\\,s16:mono:packed + +aformat=s16:mono\\,stereo:all +@end example + @section anull Pass the audio source unchanged to the output. |