aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorAndy Martin <andyndeanna@gmail.com>2013-04-16 21:35:02 -0400
committerClément Bœsch <ubitux@gmail.com>2013-04-21 20:57:02 +0200
commit4ac2da37938354d305178da91d3e3718334de4a5 (patch)
tree34e2f1142bd69cb125705bc5fb2f5526b6e12e8f /doc/filters.texi
parentebea370dc3909aa182bae4c728b83516a904beca (diff)
downloadffmpeg-4ac2da37938354d305178da91d3e3718334de4a5.tar.gz
lavfi/fade: Added ability to do video fade based on timestamp
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a4a0893186..1a93309871 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3131,6 +3131,17 @@ Default is 25.
@item alpha
If set to 1, fade only alpha channel, if one exists on the input.
Default value is 0.
+
+@item start_time, st
+Specify the timestamp (in seconds) of the frame to start to apply the fade
+effect. If both start_frame and start_time are specified, the fade will start at
+whichever comes last. Default is 0.
+
+@item duration, d
+The number of seconds for which the fade effect has to last. At the end of the
+fade-in effect the output video will have the same intensity as the input video,
+at the end of the fade-out transition the output video will be completely black.
+If both duration and nb_frames are specified, duration is used. Default is 0.
@end table
@subsection Examples
@@ -3171,6 +3182,13 @@ Fade in alpha over first 25 frames of video:
@example
fade=in:0:25:alpha=1
@end example
+
+@item
+Make first 5.5 seconds black, then fade in for 0.5 seconds:
+@example
+fade=t=in:st=5.5:d=0.5
+@end example
+
@end itemize
@section field