aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMina Nagy Zaki <mnzaki@gmail.com>2011-07-14 14:18:13 +0300
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-14 10:31:23 +0200
commit0a2295815dac9a924513555ce1f7491c1f5f1765 (patch)
tree24c0d702ddf2ea9caa4f8c8d9526c61cdb1becf3 /doc
parent3f07d40ea2861e0c2a1ce6cb56907e9e888a3491 (diff)
downloadffmpeg-0a2295815dac9a924513555ce1f7491c1f5f1765.tar.gz
lavfi: add aformat filter
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi21
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.