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
20f47eb5
Commit
20f47eb5
authored
12 years ago
by
Stefano Sabatini
Browse files
Options
Downloads
Patches
Plain Diff
doc/filters: consistently use '"' for quoting the drawtext arguments in examples
parent
126ba162
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/filters.texi
+4
-4
4 additions, 4 deletions
doc/filters.texi
with
4 additions
and
4 deletions
doc/filters.texi
+
4
−
4
View file @
20f47eb5
...
@@ -1476,7 +1476,7 @@ within the parameter list.
...
@@ -1476,7 +1476,7 @@ within the parameter list.
@item
@item
Show the text at the center of the video frame:
Show the text at the center of the video frame:
@example
@example
drawtext=fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"
drawtext=
"
fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"
@end example
@end example
@item
@item
...
@@ -1484,20 +1484,20 @@ Show a text line sliding from right to left in the last row of the video
...
@@ -1484,20 +1484,20 @@ Show a text line sliding from right to left in the last row of the video
frame. The file @file{LONG_LINE} is assumed to contain a single line
frame. The file @file{LONG_LINE} is assumed to contain a single line
with no newlines.
with no newlines.
@example
@example
drawtext=fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t
drawtext=
"
fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t
"
@end example
@end example
@item
@item
Show the content of file @file{CREDITS} off the bottom of the frame and scroll up.
Show the content of file @file{CREDITS} off the bottom of the frame and scroll up.
@example
@example
drawtext=fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"
drawtext=
"
fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"
@end example
@end example
@item
@item
Draw a single green letter "g", at the center of the input video.
Draw a single green letter "g", at the center of the input video.
The glyph baseline is placed at half screen height.
The glyph baseline is placed at half screen height.
@example
@example
drawtext=fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent
drawtext=
"
fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent
"
@end example
@end example
@item
@item
...
...
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