diff --git a/doc/filters.texi b/doc/filters.texi index fb8757ff8f..5dc85ae09f 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -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