[FFmpeg-cvslog] doc/filters: itemize examples for drawbox, add an example, fix grammar
Stefano Sabatini
git at videolan.org
Tue Oct 30 23:42:12 CET 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Oct 30 19:45:46 2012 +0100| [b6248299f628d7e93e664beb72c3496edf28803b] | committer: Stefano Sabatini
doc/filters: itemize examples for drawbox, add an example, fix grammar
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6248299f628d7e93e664beb72c3496edf28803b
---
doc/filters.texi | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 07ae1c9..d7e31bd 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1750,15 +1750,26 @@ interpreted accorinding to the following syntax:
drawbox=@var{x}:@var{y}:@var{width}:@var{height}:@var{color}
@end example
-Follow some examples:
+Some examples follow:
+ at itemize
+ at item
+Draw a black box around the edge of the input image:
@example
-# draw a black box around the edge of the input image
drawbox
+ at end example
-# draw a box with color red and an opacity of 50%
-drawbox=10:20:200:60:red@@0.5"
+ at item
+Draw a box with color red and an opacity of 50%:
+ at example
+drawbox=10:20:200:60:red@@0.5
@end example
+The previous example can be specified as:
+ at example
+drawbox=x=10:y=20:w=200:h=60:color=red@@0.5
+ at end example
+ at end itemize
+
@section drawtext
Draw text string or text from specified file on top of video using the
More information about the ffmpeg-cvslog
mailing list