[FFmpeg-devel] [PATCH] avfilter: add ahistogram multimedia filter

Lou Logan lou at lrcd.com
Wed Dec 30 21:21:00 CET 2015


On Wed, 30 Dec 2015 13:49:07 +0100, Paul B Mahol wrote:

> diff --git a/doc/filters.texi b/doc/filters.texi

[...]

> + at item ascale
> +Set amplitude scale.
> +
> +It accepts the following values:
> + at table @samp
> + at item log
> +logarithmic
> + at item lin
> +linear
> + at end table

Default is @code{lin}.

> + at item pheight
> +Set histogram percentage of window height.

Default is 0.25.

> + at item slide
> +Set sonogram sliding.
> +
> +It accepts the following values:
> + at table @samp
> + at item replace
> +logarithmic
> + at item scroll
> +scroll from to bottom.

scroll from top to bottom

> + at end table

Default is @code{replace}.

[...]

> +static const AVOption ahistogram_options[] = {
> +    { "mode", "set how is histogram calculated", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=SINGLE}, 0, NB_MODES-1, FLAGS, "mode" },

"set method to display channels" makes more sense to me.


More information about the ffmpeg-devel mailing list