mirror of https://git.ffmpeg.org/ffmpeg.git
doc/ffmpeg: note that -t is also an input option
Signed-off-by: Lou Logan <lou@lrcd.com>
This commit is contained in:
parent
2dbf5e7038
commit
5b1a56b34b
|
@ -272,8 +272,13 @@ ffmpeg -i INPUT -map 0 -c copy -c:v:1 libx264 -c:a:137 libvorbis OUTPUT
|
||||||
will copy all the streams except the second video, which will be encoded with
|
will copy all the streams except the second video, which will be encoded with
|
||||||
libx264, and the 138th audio, which will be encoded with libvorbis.
|
libx264, and the 138th audio, which will be encoded with libvorbis.
|
||||||
|
|
||||||
@item -t @var{duration} (@emph{output})
|
@item -t @var{duration} (@emph{input/output})
|
||||||
Stop writing the output after its duration reaches @var{duration}.
|
When used as an input option (before @code{-i}), limit the @var{duration} of
|
||||||
|
data read from the input file.
|
||||||
|
|
||||||
|
When used as an output option (before an output filename), stop writing the
|
||||||
|
output after its duration reaches @var{duration}.
|
||||||
|
|
||||||
@var{duration} may be a number in seconds, or in @code{hh:mm:ss[.xxx]} form.
|
@var{duration} may be a number in seconds, or in @code{hh:mm:ss[.xxx]} form.
|
||||||
|
|
||||||
-to and -t are mutually exclusive and -t has priority.
|
-to and -t are mutually exclusive and -t has priority.
|
||||||
|
|
Loading…
Reference in New Issue