aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2019-10-08 23:04:51 +0800
committerGyan Doshi <ffmpeg@gyani.pro>2019-10-21 10:22:38 +0530
commit0afc1fe1470094e84dfa4e25a7f1bb2d52fbb92c (patch)
treee6e5e7484dbe34471292ca67e92febed87aaf116 /doc/filters.texi
parent09581f7923ed9af7719762868e8f1ff626ea8374 (diff)
downloadffmpeg-0afc1fe1470094e84dfa4e25a7f1bb2d52fbb92c.tar.gz
avfilter/af_silencedetect: document metadata
Reviewed-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index db4313da37..234d851e8c 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4683,7 +4683,16 @@ This filter logs a message when it detects that the input audio volume is less
or equal to a noise tolerance value for a duration greater or equal to the
minimum detected noise duration.
-The printed times and duration are expressed in seconds.
+The printed times and duration are expressed in seconds. The
+@code{lavfi.silence_start} or @code{lavfi.silence_start.X} metadata key
+is set on the first frame whose timestamp equals or exceeds the detection
+duration and it contains the timestamp of the first frame of the silence.
+
+The @code{lavfi.silence_duration} or @code{lavfi.silence_duration.X}
+and @code{lavfi.silence_end} or @code{lavfi.silence_end.X} metadata
+keys are set on the first frame after the silence. If @option{mono} is
+enabled, and each channel is evaluated separately, the @code{.X}
+suffixed keys are used, and @code{X} corresponds to the channel number.
The filter accepts the following options: