From 41334fcab41fee1a5a869c9f87c4a1d59a627b57 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Fri, 25 Apr 2014 14:01:43 +0200 Subject: lavfi/drawtext: allow to format pts as HH:MM:SS.mmm. --- doc/filters.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index e943923..a8b2668 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3850,7 +3850,14 @@ The frame number, starting from 0. A 1 character description of the current picture type. @item pts -The timestamp of the current frame, in seconds, with microsecond accuracy. +The timestamp of the current frame. +It can take up to two 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. + +The second argument is an offset added to the timestamp. @end table -- cgit v1.1