Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5c5816c4
Commit
5c5816c4
authored
Mar 27, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drawtext: fix minor errors and typos in the filter description
parent
3ea031b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
filters.texi
doc/filters.texi
+8
-6
No files found.
doc/filters.texi
View file @
5c5816c4
...
@@ -411,13 +411,15 @@ This parameter is mandatory.
...
@@ -411,13 +411,15 @@ This parameter is mandatory.
@item text
@item text
The text string to be drawn. The text must be a sequence of UTF-8
The text string to be drawn. The text must be a sequence of UTF-8
encoded characters.
encoded characters.
This parameter is mandatory if no file is specified.
This parameter is mandatory if no file is specified with the parameter
@var{textfile}.
@item textfile
@item textfile
A text file containing text to be drawn. The text must be a sequence
A text file containing text to be drawn. The text must be a sequence
of UTF-8 encoded characters
of UTF-8 encoded characters
.
This parameter is mandatory if no text string is specified.
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.
If both text and textfile are specified, an error is thrown.
...
@@ -429,7 +431,7 @@ The default value of @var{x} and @var{y} is 0.
...
@@ -429,7 +431,7 @@ The default value of @var{x} and @var{y} is 0.
@item fontsize
@item fontsize
The font size to be used for drawing text.
The font size to be used for drawing text.
The default value of @var{size} is 16.
The default value of @var{
font
size} is 16.
@item fontcolor
@item fontcolor
The color to be used for drawing fonts.
The color to be used for drawing fonts.
...
@@ -485,7 +487,7 @@ Default value is 4.
...
@@ -485,7 +487,7 @@ Default value is 4.
For example the command:
For example the command:
@example
@example
drawtext=fontfile=FreeSerif.ttf: text='Test Text': x=100: y=50: fontsize=24: fontcolor=yellow@@0.2: boxcolor=red@@0.2: box=1"
drawtext=
"
fontfile=FreeSerif.ttf: text='Test Text': x=100: y=50: fontsize=24: fontcolor=yellow@@0.2: boxcolor=red@@0.2: box=1"
@end example
@end example
will draw 'Test Text' with font FreeSerif of size 24 at position
will draw 'Test Text' with font FreeSerif of size 24 at position
...
@@ -496,7 +498,7 @@ Note that the double quotes are not necessary if spaces are not used
...
@@ -496,7 +498,7 @@ Note that the double quotes are not necessary if spaces are not used
within the parameter list.
within the parameter list.
For more information about libfreetype, check:
For more information about libfreetype, check:
@url{http://www.freetype.org/}
@url{http://www.freetype.org/}
.
@section fifo
@section fifo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment