mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
doc/filters: add example for drawtext fontsize expr
Expressions for option fontsize of video filter drawtext have been
supported since commit 6442e4ab3c
.
Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Revised-by: Gyan Doshi <ffmpeg@gyani.pro>
This commit is contained in:
parent
7b1ed4b53a
commit
5de8e897b1
@ -10233,6 +10233,12 @@ Use fontconfig to set the font. Note that the colons need to be escaped.
|
||||
drawtext='fontfile=Linux Libertine O-40\:style=Semibold:text=FFmpeg'
|
||||
@end example
|
||||
|
||||
@item
|
||||
Draw "Test Text" with font size dependent on height of the video.
|
||||
@example
|
||||
drawtext="text='Test Text': fontsize=h/30: x=(w-text_w)/2: y=(h-text_h*2)"
|
||||
@end example
|
||||
|
||||
@item
|
||||
Print the date of a real-time encoding (see strftime(3)):
|
||||
@example
|
||||
|
Loading…
Reference in New Issue
Block a user