aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-04-23 14:56:01 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-04-27 11:04:51 +0200
commite5474f5c48dc4a051bf9d31966a86908cb04fa63 (patch)
tree1a1f0a2af81fec3e69993e974a0f648513f5821c /doc
parentbbd3dc49ffc0ae2eb3ed665652093619e360312a (diff)
downloadffmpeg-e5474f5c48dc4a051bf9d31966a86908cb04fa63.tar.gz
doc: fix syntax for durations and timestamps.
Omitting the seconds has not worked for a long time, if ever. Omitting the minutes too is just nonsensical for a duration (it is indistinguishable from just seconds).
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg.texi2
-rw-r--r--doc/filters.texi2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index e14885c5b5..75d5c1965d 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -164,7 +164,7 @@ streams are delayed by @var{offset} seconds.
Set the recording timestamp in the container.
The syntax for @var{time} is:
@example
-now|([(YYYY-MM-DD|YYYYMMDD)[T|t| ]]((HH[:MM[:SS[.m...]]])|(HH[MM[SS[.m...]]]))[Z|z])
+now|([(YYYY-MM-DD|YYYYMMDD)[T|t| ]]((HH:MM:SS[.m...])|(HHMMSS[.m...]))[Z|z])
@end example
If the value is "now" it takes the current time.
Time is local time unless 'Z' or 'z' is appended, in which case it is
diff --git a/doc/filters.texi b/doc/filters.texi
index 56299771a5..f5740394e6 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3254,7 +3254,7 @@ number or a valid video frame rate abbreviation. The default value is
@item duration, d
Set the video duration of the sourced video. The accepted syntax is:
@example
-[-]HH[:MM[:SS[.m...]]]
+[-]HH:MM:SS[.m...]
[-]S+[.m...]
@end example
See also the function @code{av_parse_time()}.