]> git.sesse.net Git - ffmpeg/blobdiff - doc/utils.texi
avcodec/zmbvenc: Simplify setting keyframe flag
[ffmpeg] / doc / utils.texi
index 05a2f81626e479b8c0110fea007c4a71a19e45b9..44ce285d26ff7fa906f6e87389d6996f220d1c0c 100644 (file)
@@ -110,11 +110,13 @@ maximum of 2 digits. The @var{m} at the end expresses decimal value for
 @emph{or}
 
 @example
-[-]@var{S}+[.@var{m}...]
+[-]@var{S}+[.@var{m}...][s|ms|us]
 @end example
 
 @var{S} expresses the number of seconds, with the optional decimal part
-@var{m}.
+@var{m}.  The optional literal suffixes @samp{s}, @samp{ms} or @samp{us}
+indicate to interpret the value as seconds, milliseconds or microseconds,
+respectively.
 
 In both expressions, the optional @samp{-} indicates negative duration.
 
@@ -126,6 +128,15 @@ The following examples are all valid time duration:
 @item 55
 55 seconds
 
+@item 0.2
+0.2 seconds
+
+@item 200ms
+200 milliseconds, that's 0.2s
+
+@item 200000us
+200000 microseconds, that's 0.2s
+
 @item 12:03:45
 12 hours, 03 minutes and 45 seconds