summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-04-19 00:50:23 +0000
committerPaul B Mahol <onemda@gmail.com>2013-04-19 00:56:55 +0000
commitb63f7b3ac7b95032ae8c3e074f26b6c6158582da (patch)
treefe356deb26eb1d372677315beb10b963b7d7aac8 /doc
parent7e57adb464a9886bdef3012b08e903340465a89b (diff)
lavfi/afade: use AV_OPT_TYPE_DURATION
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi21
1 files changed, 16 insertions, 5 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 43d736836a..4c702a9c26 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -612,15 +612,26 @@ volume as the input audio, at the end of the fade-out transition
the output audio will be silence. Default is 44100.
@item start_time, st
-Specify time in seconds for starting to apply the fade
-effect. Default is 0.
+Specify time for starting to apply the fade effect. Default is 0.
+The accepted syntax is:
+@example
+[-]HH[:MM[:SS[.m...]]]
+[-]S+[.m...]
+@end example
+See also the function @code{av_parse_time()}.
If set this option is used instead of @var{start_sample} one.
@item duration, d
-Specify the number of seconds for which the fade effect has to last. At
-the end of the fade-in effect the output audio will have the same
+Specify the duration for which the fade effect has to last. Default is 0.
+The accepted syntax is:
+@example
+[-]HH[:MM[:SS[.m...]]]
+[-]S+[.m...]
+@end example
+See also the function @code{av_parse_time()}.
+At the end of the fade-in effect the output audio will have the same
volume as the input audio, at the end of the fade-out transition
-the output audio will be silence. Default is 0.
+the output audio will be silence.
If set this option is used instead of @var{nb_samples} one.
@item curve