On Fri, Dec 26, 2014 at 12:14:52AM +0100, Stefano Sabatini wrote: > On date Wednesday 2014-12-24 15:03:26 +0100, Clément Bœsch encoded: > > TODO: bump minor > > --- > > doc/filters.texi | 12 +++ > > libavfilter/avf_showwaves.c | 175 > > +++++++++++++++++++++++++++++++++++++++----- > > 2 files changed, 169 insertions(+), 18 deletions(-) > > > > diff --git a/doc/filters.texi b/doc/filters.texi > > index 7fac8fb..7953e62 100644 > > --- a/doc/filters.texi > > +++ b/doc/filters.texi > > @@ -11334,6 +11334,11 @@ option @var{n}. Default value is "25". > > @item split_channels > > Set if channels should be drawn separately or overlap. Default value is 0. > > > > +@item single_pic > > +Output only one frame at the end if set. This option can only work with > > +@option{mode}=@var{cline}. Note that this option will store the whole > > decoded > > +audio track in memory. Default value is 0. > > I wonder if we should rather have a different filter, computing the > average value over N samples and printing it. This should not require > the buffering logic. Note that we may also adapt the filter and use a > high value of n. That together with tile would do the trick.
How do you define N without decoding everything? -- Clément B.
pgpQxMVrnqy0r.pgp
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel