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