summaryrefslogtreecommitdiff
path: root/doc/avconv.texi
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-06-15 09:59:40 +0200
committerAnton Khirnov <anton@khirnov.net>2013-08-05 10:53:41 +0200
commit811bd0784679dfcb4ed02043a37c92f9df10500e (patch)
tree3d64eb21fc159c1862614819bd16adb1ba6aaf6b /doc/avconv.texi
parent56ee3f9de7b9f6090d599a27d33a392890a2f7b8 (diff)
avconv: make input -ss accurate when transcoding
Insert (a)trim filters on the corresponding inputs, so the extra frames are decoded and discarded.
Diffstat (limited to 'doc/avconv.texi')
-rw-r--r--doc/avconv.texi18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/avconv.texi b/doc/avconv.texi
index 940c18896b..7e9b77e41d 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -265,9 +265,15 @@ Set the file size limit.
@item -ss @var{position} (@emph{input/output})
When used as an input option (before @code{-i}), seeks in this input file to
-@var{position}. When used as an output option (before an output filename),
-decodes but discards input until the timestamps reach @var{position}. This is
-slower, but more accurate.
+@var{position}. Note the in most formats it is not possible to seek exactly, so
+@command{avconv} will seek to the closest seek point before @var{position}.
+When transcoding and @option{-accurate_seek} is enabled (the default), this
+extra segment between the seek point and @var{position} will be decoded and
+discarded. When doing stream copy or when @option{-noaccurate_seek} is used, it
+will be preserved.
+
+When used as an output option (before an output filename), decodes but discards
+input until the timestamps reach @var{position}.
@var{position} may be either in seconds or in @code{hh:mm:ss[.xxx]} form.
@@ -834,6 +840,12 @@ This option is similar to @option{-filter_complex}, the only difference is that
its argument is the name of the file from which a complex filtergraph
description is to be read.
+@item -accurate_seek (@emph{input})
+This option enables or disables accurate seeking in input files with the
+@option{-ss} option. It is enabled by default, so seeking is accurate when
+transcoding. Use @option{-noaccurate_seek} to disable it, which may be useful
+e.g. when copying some streams and transcoding the others.
+
@end table
@c man end OPTIONS