[FFmpeg-devel] [PATCH] avfilter: add adelay filter
lou at lrcd.com
Fri Sep 13 20:40:59 CEST 2013
On Fri, 13 Sep 2013 17:42:08 +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> doc/filters.texi | 15 +++
> libavfilter/Makefile | 1 +
> libavfilter/af_adelay.c | 296 +++++++++++++++++++++++++++++++++++++++++++++++
> libavfilter/allfilters.c | 1 +
> 4 files changed, 313 insertions(+)
> create mode 100644 libavfilter/af_adelay.c
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 7f8d1b2..d4cec8a 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -347,6 +347,21 @@ aconvert=u8:auto
> @end example
> @end itemize
> + at section adelay
> +Delay one or more audio channels.
> +The filter accepts the following option:
> + at table @option
> + at item delays
> +Set list of delays in milliseconds for each channel.
> +At least one delay greater than 0 should be provided.
> +Unused delays will be silently ignored. If number
> +of given delays is smaller than numer of channels all
> +remaining channels will be un-delayed.
The last sentence is confusing to me: "un-delayed" implies that the
remaining channels are already delayed and the delaying will be undone.
An example would be nice.
More information about the ffmpeg-devel