The actual duration syntax with optional hours can be found in the ffmpeg-utils doc, but mention only seconds for filter options because ":" is an option separator (at least on the command line). --- doc/filters.texi | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi index 4ae5b4f..afac010 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -517,27 +517,17 @@ volume as the input audio, at the end of the fade-out transition the output audio will be silence. Default is 44100. @item start_time, st -Specify time for starting to apply the fade effect. Default is 0. -The accepted syntax is: -@example -[-]HH[:MM[:SS[.m...]]] -[-]S+[.m...] -@end example -See also the function @code{av_parse_time()}. -If set this option is used instead of @var{start_sample} one. +Specify the start time of the fade effect, in seconds. +By default the start is determined by @var{start_sample}. +If set this option is used instead of @var{start_sample}. @item duration, d -Specify the duration for which the fade effect has to last. Default is 0. -The accepted syntax is: -@example -[-]HH[:MM[:SS[.m...]]] -[-]S+[.m...] -@end example -See also the function @code{av_parse_time()}. +Specify the duration of the fade effect, in seconds. At the end of the fade-in effect the output audio will have the same volume as the input audio, at the end of the fade-out transition the output audio will be silence. -If set this option is used instead of @var{nb_samples} one. +By default the duration is determined by @var{nb_samples}. +If set this option is used instead of @var{nb_samples}. @item curve Set curve for fade transition. @@ -9459,12 +9449,7 @@ number or a valid video frame rate abbreviation. The default value is "25". @item duration, d -Set the video duration of the sourced video. The accepted syntax is: -@example -[-]HH:MM:SS[.m...] -[-]S+[.m...] -@end example -See also the function @code{av_parse_time()}. +Set the duration of the sourced video, in seconds. If not specified, or the expressed duration is negative, the video is supposed to be generated forever. @@ -9726,12 +9711,7 @@ number or a valid video frame rate abbreviation. The default value is Set the sample aspect ratio of the sourced video. @item duration, d -Set the video duration of the sourced video. The accepted syntax is: -@example -[-]HH[:MM[:SS[.m...]]] -[-]S+[.m...] -@end example -Also see the the @code{av_parse_time()} function. +Set the duration of the sourced video, in seconds. If not specified, or the expressed duration is negative, the video is supposed to be generated forever. -- 2.1.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel