diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-01-18 19:00:35 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-01-18 23:18:01 +0100 |
commit | 24bbc416a4d8e2ed015b0d56aabbf4c49360fb8e (patch) | |
tree | 6388e451ca6de17ab2f78b97bc8a7764721f0c04 /doc | |
parent | 2852bd704a349b1dbea4a2546b11adddf4dfb0be (diff) | |
download | ffmpeg-24bbc416a4d8e2ed015b0d56aabbf4c49360fb8e.tar.gz |
doc/filters: create a dedicated "Examples" subsection for fade, and use @itemize
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 9def1dc071..42c78b8786 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2303,23 +2303,43 @@ If set to 1, fade only alpha channel, if one exists on the input. Default value is 0. @end table -A few usage examples follow, usable too as test scenarios. +@subsection Examples +@itemize +@item +Fade in first 30 frames of video: @example -# fade in first 30 frames of video fade=in:0:30 +@end example + +The command above is equivalent to: +@example +fade=t=in:s=0:n=30 +@end example -# fade out last 45 frames of a 200-frame video +@item +Fade out last 45 frames of a 200-frame video: +@example fade=out:155:45 +@end example -# fade in first 25 frames and fade out last 25 frames of a 1000-frame video +@item +Fade in first 25 frames and fade out last 25 frames of a 1000-frame video: +@example fade=in:0:25, fade=out:975:25 +@end example -# make first 5 frames black, then fade in from frame 5-24 +@item +Make first 5 frames black, then fade in from frame 5-24: +@example fade=in:5:20 +@end example -# fade in alpha over first 25 frames of video +@item +Fade in alpha over first 25 frames of video: +@example fade=in:0:25:alpha=1 @end example +@end itemize @section field |