[FFmpeg-devel] [PATCH] avfilter/showwaves: add single_pic option
Stefano Sabatini
stefasab at gmail.com
Fri Dec 26 00:14:52 CET 2014
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.
>
> + at item single_pic
> +Output only one frame at the end if set. This option can only work with
> + at 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.
--
FFmpeg = Fundamentalist and Funny Mysterious Political Extroverse Gem
More information about the ffmpeg-devel
mailing list