[FFmpeg-devel] [PATCH] doc: fix syntax for durations and timestamps.

Michael Niedermayer michaelni at gmx.at
Mon Apr 23 22:54:01 CEST 2012


On Mon, Apr 23, 2012 at 02:58:49PM +0200, Nicolas George wrote:
> 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).
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  doc/ffmpeg.texi  |    2 +-
>  doc/filters.texi |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
> index e14885c..75d5c19 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 5629977..f574039 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...]

shouldnt this be something like
[-][[HH:]MM:]SS[.m...]

?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120423/06ff7f62/attachment.asc>


More information about the ffmpeg-devel mailing list