diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2019-05-13 12:22:05 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2019-05-13 12:22:05 +0530 |
commit | dcc999819dda578a4d8e52c6d17bf55d0073783d (patch) | |
tree | cd89ee6e5b1a4315937fcd3e3a2e115ac66f6325 /doc/filters.texi | |
parent | 87db1ca632bfbb66329c5729301d88ca30bed9b3 (diff) | |
download | ffmpeg-dcc999819dda578a4d8e52c6d17bf55d0073783d.tar.gz |
doc/filters: mention drawtext command support
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 5bd2376e67..cab400121c 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -8970,6 +8970,29 @@ a third argument may be supplied: a strftime() format string. By default, @var{YYYY-MM-DD HH:MM:SS} format will be used. @end table +@subsection Commands + +This filter supports altering parameters via commands: +@table @option +@item reinit +Alter existing filter parameters. + +Syntax for the argument is the same as for filter invocation, e.g. + +@example +fontsize=56:fontcolor=green:text='Hello World' +@end example + +Full filter invocation with sendcmd would look like this: + +@example +sendcmd=c='56.0 drawtext reinit fontsize=56\:fontcolor=green\:text=Hello\\ World' +@end example +@end table + +If the entire argument can't be parsed or applied as valid values then the filter will +continue with its existing parameters. + @subsection Examples @itemize |