[FFmpeg-cvslog] doc/ffmpeg: note that -t is also an input option

Lou Logan git at videolan.org
Mon May 26 22:12:47 CEST 2014


ffmpeg | branch: master | Lou Logan <lou at lrcd.com> | Mon Apr  7 11:59:51 2014 -0800| [5b1a56b34b3f0fa542a25f0e04879fba260a9372] | committer: Lou Logan

doc/ffmpeg: note that -t is also an input option

Signed-off-by: Lou Logan <lou at lrcd.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b1a56b34b3f0fa542a25f0e04879fba260a9372
---

 doc/ffmpeg.texi |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 765b2a7..0f6c093 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -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
 libx264, and the 138th audio, which will be encoded with libvorbis.
 
- at item -t @var{duration} (@emph{output})
-Stop writing the output after its duration reaches @var{duration}.
+ at item -t @var{duration} (@emph{input/output})
+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.
 
 -to and -t are mutually exclusive and -t has priority.



More information about the ffmpeg-cvslog mailing list