1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

doc/filters: itemize examples for drawbox, add an example, fix grammar

This commit is contained in:
Stefano Sabatini
2012-10-30 19:45:46 +01:00
parent 2ed7e6cce5
commit b6248299f6

View File

@@ -1750,15 +1750,26 @@ interpreted accorinding to the following syntax:
drawbox=@var{x}:@var{y}:@var{width}:@var{height}:@var{color} drawbox=@var{x}:@var{y}:@var{width}:@var{height}:@var{color}
@end example @end example
Follow some examples: Some examples follow:
@itemize
@item
Draw a black box around the edge of the input image:
@example @example
# draw a black box around the edge of the input image
drawbox drawbox
# draw a box with color red and an opacity of 50%
drawbox=10:20:200:60:red@@0.5"
@end example @end example
@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 @section drawtext
Draw text string or text from specified file on top of video using the Draw text string or text from specified file on top of video using the