[FFmpeg-devel] [PATCH] astats filter

Roger Pack rogerdpack2 at gmail.com
Wed Apr 24 16:43:46 CEST 2013


On 4/23/13, Paul B Mahol <onemda at gmail.com> wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  doc/filters.texi         |  44 ++++++++
>  libavfilter/Makefile     |   1 +
>  libavfilter/af_astats.c  | 287
> +++++++++++++++++++++++++++++++++++++++++++++++
>  libavfilter/allfilters.c |   1 +
>  4 files changed, 333 insertions(+)
>  create mode 100644 libavfilter/af_astats.c
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index d5fda03..1e2363d 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -990,6 +990,50 @@ the data is treated as if all the planes were
> concatenated.
>  A list of Adler-32 checksums for each data plane.
>  @end table
>
> + at section astats
> +
> +Display time domain statistical information about the audio channels.
> +Statistics are calculated and displayed for each audio channel and,
> +where applicable, an overall figure is also given.
> +
> +The filter accepts the following option:
> + at table @option
> + at item length
> +Short window length. Default is 50ms.
> + at end table
> +
> +A description of each shown parameter follows:
> +
> + at table @option
> + at item DC offset
> +Mean amplitude displacement from zero.
> +
> + at item Min level
> +Minimal sample level.
> +
> + at item Max level
> +Maximal sample level.


Nice, I sometimes wish I had a filter that output levels like this,
thanks for doing that.


More information about the ffmpeg-devel mailing list