> On Jul 1, 2015, at 4:10 AM, Paul B Mahol <one...@gmail.com> wrote: > > On 6/30/15, Dave Rice <d...@dericed.com> wrote: >> Hi Paul, >> >>> On Jun 29, 2015, at 7:40 PM, Paul B Mahol <one...@gmail.com> wrote: >>> >>> Signed-off-by: Paul B Mahol <one...@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. > > Like in attached patch?
Tested and this works great for me. I find this patch very helpful when using astats with adrawgraph. >> 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. > > It could, but to what value? I do not like duplicating functionality if it > is not strictly necessary. No worries, asetsamples works for this. Dave Rice _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel