[FFmpeg-cvslog] doc/filters: mention drawtext command support
Gyan Doshi
git at videolan.org
Mon May 13 09:53:49 EEST 2019
ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Mon May 13 12:40:05 2019 +0530| [dcc999819dda578a4d8e52c6d17bf55d0073783d] | committer: Gyan Doshi
doc/filters: mention drawtext command support
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dcc999819dda578a4d8e52c6d17bf55d0073783d
---
doc/filters.texi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
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
+ at subsection Commands
+
+This filter supports altering parameters via commands:
+ at table @option
+ at item reinit
+Alter existing filter parameters.
+
+Syntax for the argument is the same as for filter invocation, e.g.
+
+ at example
+fontsize=56:fontcolor=green:text='Hello World'
+ at end example
+
+Full filter invocation with sendcmd would look like this:
+
+ at example
+sendcmd=c='56.0 drawtext reinit fontsize=56\:fontcolor=green\:text=Hello\\ World'
+ at end example
+ at 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
More information about the ffmpeg-cvslog
mailing list