aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-11 18:23:18 +0200
committerClément Bœsch <ubitux@gmail.com>2013-04-11 22:13:45 +0200
commit9ab221f8d82da9e2cf1503cc5db115838d766d97 (patch)
treeb89af13934dd99ea11076d5dffc6b717c5599263 /doc
parent71ef1ec7b482d7222717faae0a51f2fd4ef3bdf2 (diff)
downloadffmpeg-9ab221f8d82da9e2cf1503cc5db115838d766d97.tar.gz
lavfi: deprecate aconvert.
This filter is not required anymore with aformat. Drop it at next bump.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/filtering_audio.c2
-rw-r--r--doc/faq.texi6
-rw-r--r--doc/filters.texi2
3 files changed, 6 insertions, 4 deletions
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 456a1c9862..67588aa301 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -37,7 +37,7 @@
#include <libavfilter/buffersink.h>
#include <libavfilter/buffersrc.h>
-const char *filter_descr = "aresample=8000,aconvert=s16:mono";
+const char *filter_descr = "aresample=8000,aformat=sample_fmts=s16:channel_layouts=mono";
const char *player = "ffplay -f s16le -ar 8000 -ac 1 -";
static AVFormatContext *fmt_ctx;
diff --git a/doc/faq.texi b/doc/faq.texi
index a95476d7c4..4b0b09ccf2 100644
--- a/doc/faq.texi
+++ b/doc/faq.texi
@@ -393,17 +393,17 @@ Appending @code{:v} to it will do exactly that.
Use @option{-dumpgraph -} to find out exactly where the channel layout is
lost.
-Most likely, it is through @code{auto-inserted aconvert}. Try to understand
+Most likely, it is through @code{auto-inserted aresample}. Try to understand
why the converting filter was needed at that place.
Just before the output is a likely place, as @option{-f lavfi} currently
only support packed S16.
-Then insert the correct @code{aconvert} explicitly in the filtergraph,
+Then insert the correct @code{aformat} explicitly in the filtergraph,
specifying the exact format.
@example
-aconvert=s16:stereo:packed
+aformat=sample_fmts=s16:channel_layouts=stereo
@end example
@section Why does FFmpeg not see the subtitles in my VOB file?
diff --git a/doc/filters.texi b/doc/filters.texi
index f812d8329d..83a19bdbd3 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -283,6 +283,8 @@ Below is a description of the currently available audio filters.
Convert the input audio format to the specified formats.
+@emph{This filter is deprecated. Use @ref{aformat} instead.}
+
The filter accepts a string of the form:
"@var{sample_format}:@var{channel_layout}".