History

doc/filters: consistently use '"' for quoting the drawtext arguments in examples

Stefano Sabatini committed 14 years ago

Commit 20f47eb1 parent 126ba161 file · +4 −4Browse files

Unified · Split

doc/filters.texi+4−4
@@ -1476,7 +1476,7 @@ within the parameter list. · 1475 unmodified lines
1476@item1476@item
1477Show the text at the center of the video frame:1477Show the text at the center of the video frame:
1478@example1478@example
1479drawtext=fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"1479drawtext="fontsize=30:fontfile=FreeSerif.ttf:text='hello world':x=(w-text_w)/2:y=(h-text_h-line_h)/2"
1480@end example1480@end example
1481 1481
1482@item1482@item
@@ -1484,20 +1484,20 @@ Show a text line sliding from right to left in the last row of the video · 1 unmodified line
1484frame. The file @file{LONG_LINE} is assumed to contain a single line1484frame. The file @file{LONG_LINE} is assumed to contain a single line
1485with no newlines.1485with no newlines.
1486@example1486@example
1487drawtext=fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t1487drawtext="fontsize=15:fontfile=FreeSerif.ttf:text=LONG_LINE:y=h-line_h:x=-50*t"
1488@end example1488@end example
1489 1489
1490@item1490@item
1491Show the content of file @file{CREDITS} off the bottom of the frame and scroll up.1491Show the content of file @file{CREDITS} off the bottom of the frame and scroll up.
1492@example1492@example
1493drawtext=fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"1493drawtext="fontsize=20:fontfile=FreeSerif.ttf:textfile=CREDITS:y=h-20*t"
1494@end example1494@end example
1495 1495
1496@item1496@item
1497Draw a single green letter "g", at the center of the input video.1497Draw a single green letter "g", at the center of the input video.
1498The glyph baseline is placed at half screen height.1498The glyph baseline is placed at half screen height.
1499@example1499@example
1500drawtext=fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent1500drawtext="fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyph_w)/2:y=h/2-ascent"
1501@end example1501@end example
1502 1502
1503@item1503@item

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t