aboutsummaryrefslogtreecommitdiffstats
path: root/doc/avconv.texi
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-02 22:06:36 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-23 11:55:43 +0100
commit07fd0a22192805d56c635eb294dc26b0a54ae325 (patch)
tree1ee9675c6b69f5cde5e44bbb31a9d5856894cbe0 /doc/avconv.texi
parentd4df02131b5522a99a4e6035368484e809706ed5 (diff)
downloadffmpeg-07fd0a22192805d56c635eb294dc26b0a54ae325.tar.gz
avconv: add infrastructure for using hwaccels
Diffstat (limited to 'doc/avconv.texi')
-rw-r--r--doc/avconv.texi27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/avconv.texi b/doc/avconv.texi
index 714b0e7ab3..40c105cc15 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -552,6 +552,33 @@ The timestamps must be specified in ascending order.
@item -copyinkf[:@var{stream_specifier}] (@emph{output,per-stream})
When doing stream copy, copy also non-key frames found at the
beginning.
+
+@item -hwaccel[:@var{stream_specifier}] @var{hwaccel} (@emph{input,per-stream})
+Use hardware acceleration to decode the matching stream(s). The allowed values
+of @var{hwaccel} are:
+@table @option
+@item none
+Do not use any hardware acceleration (the default).
+
+@item auto
+Automatically select the hardware acceleration method.
+@end table
+
+This option has no effect if the selected hwaccel is not available or not
+supported by the chosen decoder.
+
+Note that most acceleration methods are intended for playback and will not be
+faster than software decoding on modern CPUs. Additionally, @command{avconv}
+will usually need to copy the decoded frames from the GPU memory into the system
+memory, resulting in further performance loss. This option is thus mainly
+useful for testing.
+
+@item -hwaccel_device[:@var{stream_specifier}] @var{hwaccel_device} (@emph{input,per-stream})
+Select a device to use for hardware acceleration.
+
+This option only makes sense when the @option{-hwaccel} option is also
+specified. Its exact meaning depends on the specific hardware acceleration
+method chosen.
@end table
@section Audio Options