[FFmpeg-devel] [PATCH] doc/filters: fix localtime drawtext example.

Simon Thelen ffmpeg-dev at c-14.de
Wed Sep 10 00:01:19 CEST 2014

The colon after the localtime function call needs an additional layer of
escaping or else everything until the next colon is treated as a

Signed-off-by: Simon Thelen <ffmpeg-dev at c-14.de>
 doc/filters.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index bb486ea..5d49c5b 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4185,7 +4185,7 @@ drawtext='fontfile=Linux Libertine O-40\:style=Semibold:text=FFmpeg'
 Print the date of a real-time encoding (see strftime(3)):
-drawtext='fontfile=FreeSans.ttf:text=%@{localtime:%a %b %d %Y@}'
+drawtext='fontfile=FreeSans.ttf:text=%@{localtime\:%a %b %d %Y@}'
 @end example

More information about the ffmpeg-devel mailing list