Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
08c4dec5
Commit
08c4dec5
authored
12 years ago
by
Stefano Sabatini
Browse files
Options
Downloads
Patches
Plain Diff
doc/filters: alphabetically sort drawtext option listing
parent
bb39c74b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/filters.texi
+51
-51
51 additions, 51 deletions
doc/filters.texi
with
51 additions
and
51 deletions
doc/filters.texi
+
51
−
51
View file @
08c4dec5
...
@@ -1262,37 +1262,19 @@ The description of the accepted parameters follows.
...
@@ -1262,37 +1262,19 @@ The description of the accepted parameters follows.
@table @option
@table @option
@item fontfile
@item box
The font file to be used for drawing text. Path must be included.
Used to draw a box around text using background color.
This parameter is mandatory.
Value should be either 1 (enable) or 0 (disable).
The default value of @var{box} is 0.
@item text
The text string to be drawn. The text must be a sequence of UTF-8
encoded characters.
This parameter is mandatory if no file is specified with the parameter
@var{textfile}.
@item textfile
A text file containing text to be drawn. The text must be a sequence
of UTF-8 encoded characters.
This parameter is mandatory if no text string is specified with the
parameter @var{text}.
If both text and textfile are specified, an error is thrown.
@item x, y
The expressions which specify the offsets where text will be drawn
within the video frame. They are relative to the top/left border of the
output image.
The default value of @var{x} and @var{y} is "0".
See below for the list of accepted constants.
@item boxcolor
The color to be used for drawing box around text.
Either a string (e.g. "yellow") or in 0xRRGGBB[AA] format
(e.g. "0xff00ff"), possibly followed by an alpha specifier.
The default value of @var{boxcolor} is "white".
@item fontsize
@item fix_bounds
The font size to be used for drawing text.
If true, check and fix text coords to avoid clipping.
The default value of @var{fontsize} is 16.
@item fontcolor
@item fontcolor
The color to be used for drawing fonts.
The color to be used for drawing fonts.
...
@@ -1300,27 +1282,13 @@ Either a string (e.g. "red") or in 0xRRGGBB[AA] format
...
@@ -1300,27 +1282,13 @@ Either a string (e.g. "red") or in 0xRRGGBB[AA] format
(e.g. "0xff000033"), possibly followed by an alpha specifier.
(e.g. "0xff000033"), possibly followed by an alpha specifier.
The default value of @var{fontcolor} is "black".
The default value of @var{fontcolor} is "black".
@item boxcolor
@item fontfile
The color to be used for drawing box around text.
The font file to be used for drawing text. Path must be included.
Either a string (e.g. "yellow") or in 0xRRGGBB[AA] format
This parameter is mandatory.
(e.g. "0xff00ff"), possibly followed by an alpha specifier.
The default value of @var{boxcolor} is "white".
@item box
Used to draw a box around text using background color.
Value should be either 1 (enable) or 0 (disable).
The default value of @var{box} is 0.
@item shadowx, shadowy
The x and y offsets for the text shadow position with respect to the
position of the text. They can be either positive or negative
values. Default value for both is "0".
@item shadowcolor
@item fontsize
The color to be used for drawing a shadow behind the drawn text. It
The font size to be used for drawing text.
can be a color name (e.g. "yellow") or a string in the 0xRRGGBB[AA]
The default value of @var{fontsize} is 16.
form (e.g. "0xff00ff"), possibly followed by an alpha specifier.
The default value of @var{shadowcolor} is "black".
@item ft_load_flags
@item ft_load_flags
Flags to be used for loading the fonts.
Flags to be used for loading the fonts.
...
@@ -1351,12 +1319,44 @@ Default value is "render".
...
@@ -1351,12 +1319,44 @@ Default value is "render".
For more information consult the documentation for the FT_LOAD_*
For more information consult the documentation for the FT_LOAD_*
libfreetype flags.
libfreetype flags.
@item shadowcolor
The color to be used for drawing a shadow behind the drawn text. It
can be a color name (e.g. "yellow") or a string in the 0xRRGGBB[AA]
form (e.g. "0xff00ff"), possibly followed by an alpha specifier.
The default value of @var{shadowcolor} is "black".
@item shadowx, shadowy
The x and y offsets for the text shadow position with respect to the
position of the text. They can be either positive or negative
values. Default value for both is "0".
@item tabsize
@item tabsize
The size in number of spaces to use for rendering the tab.
The size in number of spaces to use for rendering the tab.
Default value is 4.
Default value is 4.
@item fix_bounds
@item text
If true, check and fix text coords to avoid clipping.
The text string to be drawn. The text must be a sequence of UTF-8
encoded characters.
This parameter is mandatory if no file is specified with the parameter
@var{textfile}.
@item textfile
A text file containing text to be drawn. The text must be a sequence
of UTF-8 encoded characters.
This parameter is mandatory if no text string is specified with the
parameter @var{text}.
If both text and textfile are specified, an error is thrown.
@item x, y
The expressions which specify the offsets where text will be drawn
within the video frame. They are relative to the top/left border of the
output image.
The default value of @var{x} and @var{y} is "0".
See below for the list of accepted constants.
@end table
@end table
The parameters for @var{x} and @var{y} are expressions containing the
The parameters for @var{x} and @var{y} are expressions containing the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment