Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Agranovsky <alex@sighthound.com>2015-10-10 21:52:34 +0300
committerNicolas George <george@nsup.org>2015-10-12 17:56:58 +0300
commitcf28490e564d91c89b4c56e605c6f391bddb9ba9 (patch)
tree7b93fc02271f7ddc7f00770b3307c8ae63e79131 /doc
parent1f3a29e999b635fee913680402977eb1d51a8461 (diff)
avfilter/drawtext: allow to format pts with strftime
Signed-off-by: Alex Agranovsky <alex@sighthound.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 5300134883..4abc786858 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -5398,14 +5398,20 @@ A 1 character description of the current picture type.
@item pts
The timestamp of the current frame.
-It can take up to two arguments.
+It can take up to three arguments.
The first argument is the format of the timestamp; it defaults to @code{flt}
for seconds as a decimal number with microsecond accuracy; @code{hms} stands
for a formatted @var{[-]HH:MM:SS.mmm} timestamp with millisecond accuracy.
+@code{gmtime} stands for the timestamp of the frame formatted as UTC time;
+@code{localtime} stands for the timestamp of the frame formatted as
+local time zone time.
The second argument is an offset added to the timestamp.
+If the format is set to @code{localtime} or @code{gmtime},
+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 Examples