Opened 3 years ago

Last modified 3 years ago

#4836 new defect

doc/filters: fix localtime drawtext example.

Reported by: Nikita Owned by:
Priority: minor Component: documentation
Version: unspecified Keywords: documentation
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Need to fix drawtext text expansion example in documentation:
http://ffmpeg.org/ffmpeg-filters.html#Examples-37
From:
drawtext='fontfile=FreeSans?.ttf:text=%{localtime\:%a %b %d %Y}'
To:
drawtext='fontfile=FreeSans?.ttf:text=%{localtime\\:%a %b %d %Y}'
Description of why to use the double backslash:
https://trac.ffmpeg.org/ticket/3253
Related old fix:
https://ffmpeg.org/pipermail/ffmpeg-devel/2014-September/162729.html

Change History (1)

comment:1 Changed 3 years ago by Nikita

Or it can be changed from:
drawtext='fontfile=FreeSans??.ttf:text=%{localtime\:%a %b %d %Y}'
To:
drawtext="fontfile=FreeSans??.ttf:text='%{localtime\:%a %b %d %Y}'"

Note: See TracTickets for help on using tickets.