summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-11-22 11:44:24 +0100
committerPaul B Mahol <onemda@gmail.com>2021-12-02 09:35:36 +0100
commit11b11577fe801b6afb7b4f46a5e5df853f7c1557 (patch)
tree562e5e1aa8efda0d95a3f2d19a6321c5c63253dd /doc
parentacdfc4bdfb1d800e9459ce700538f09174502d7e (diff)
avfilter: add audio spectral stats filter
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi63
1 files changed, 63 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a1b212d38a..9ddff533de 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2695,6 +2695,69 @@ Set oversampling factor.
This filter supports the all above options as @ref{commands}.
+@section aspectralstats
+
+Display frequency domain statistical information about the audio channels.
+Statistics are calculated and stored as metadata for each audio channel and for each audio frame.
+
+It accepts the following option:
+@table @option
+@item win_size
+Set the window length in samples. Default value is 2048.
+Allowed range is from 32 to 65536.
+
+@item win_func
+Set window function.
+
+It accepts the following values:
+@table @samp
+@item rect
+@item bartlett
+@item hann, hanning
+@item hamming
+@item blackman
+@item welch
+@item flattop
+@item bharris
+@item bnuttall
+@item bhann
+@item sine
+@item nuttall
+@item lanczos
+@item gauss
+@item tukey
+@item dolph
+@item cauchy
+@item parzen
+@item poisson
+@item bohman
+@end table
+Default is @code{hann}.
+
+@item overlap
+Set window overlap. Allowed range is from @code{0}
+to @code{1}. Default value is @code{0.5}.
+
+@end table
+
+A list of each metadata key follows:
+
+@table @option
+@item mean
+@item variance
+@item centroid
+@item spread
+@item skewness
+@item kurtosis
+@item entropy
+@item flatness
+@item crest
+@item flux
+@item slope
+@item decrease
+@item rolloff
+@end table
+
@section asr
Automatic Speech Recognition