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

Paul B Mahol onemda at gmail.com
Wed Jul 1 10:10:18 CEST 2015


On 6/30/15, Dave Rice <dave at dericed.com> wrote:
> 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.

Like in attached patch?

>
> 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.

>
> Thanks so much,
> Dave Rice
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avfilter-af_astats-implement-recalculation-of-stats-.patch
Type: application/octet-stream
Size: 2706 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150701/1cd556e2/attachment.obj>


More information about the ffmpeg-devel mailing list