[FFmpeg-devel] [PATCH] avfilter/af_astats: export metadata

Dave Rice dave at dericed.com
Tue Jun 30 22:01:32 CEST 2015


Hi Paul,

> On Jun 29, 2015, at 7:40 PM, Paul B Mahol <onemda at gmail.com> wrote:
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> doc/filters.texi        | 35 ++++++++++++++++++++++
> libavfilter/af_astats.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++--
> 2 files changed, 113 insertions(+), 2 deletions(-)

I tested the metadata astats filters with the latest drawgraph patch. I find this adds a lot of ability to visualize audio information. Here's a few comments from testing.

I suggest adding a reset_count/reset option similar to what is in cropdetect, so that audio information could either be graphed frame-by-frame or summarized as it accumulates.

With my samples the filter defaulted to an audio frame size of 1024. I realize that I could set asetnsamples before astats to change that, but could the audio frame size be set within the astats filter.

Thanks so much,
Dave Rice


More information about the ffmpeg-devel mailing list