From 07fd0a22192805d56c635eb294dc26b0a54ae325 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 2 Nov 2013 22:06:36 +0100 Subject: avconv: add infrastructure for using hwaccels --- doc/avconv.texi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3