Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-10-30 22:45:46 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-10-31 02:38:50 +0400
commitb6248299f628d7e93e664beb72c3496edf28803b (patch)
tree01abfb4796f7270f2358a0c49dca0506ac831e6e
parent2ed7e6cce56e1c2df2648095879bd7de3cff7dc9 (diff)
doc/filters: itemize examples for drawbox, add an example, fix grammar
-rw-r--r--doc/filters.texi19
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 07ae1c9b1c..d7e31bd12e 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:
+@itemize
+@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
+@end example
-# draw a box with color red and an opacity of 50%
-drawbox=10:20:200:60:red@@0.5"
+@item
+Draw a box with color red and an opacity of 50%:
+@example
+drawbox=10:20:200:60:red@@0.5
@end example
+The previous example can be specified as:
+@example
+drawbox=x=10:y=20:w=200:h=60:color=red@@0.5
+@end example
+@end itemize
+
@section drawtext
Draw text string or text from specified file on top of video using the