Opened 9 years ago

Closed 5 years ago

#4836 closed defect (worksforme)

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 (2)

comment:1 by Nikita, 9 years ago

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}'"

comment:2 by Elon Musk, 5 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.