summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-03-04 23:57:38 +0000
committerMark Thompson <sw@jkqxz.net>2017-04-30 16:13:50 +0100
commite669db76108de8d7a36c2274c99da82cc94d1dd1 (patch)
tree319e97635b7f98bd061332867110950d0a83b683 /doc
parent9203aac22874c7259e155b7d00f1f33bb1355129 (diff)
downloadffmpeg-streaming-e669db76108de8d7a36c2274c99da82cc94d1dd1.zip
ffmpeg-streaming-e669db76108de8d7a36c2274c99da82cc94d1dd1.tar.gz
avconv: Support setting the hardware device to use when filtering
This only supports one device globally, but more can be used by passing them with input streams in hw_frames_ctx or by deriving new devices inside a filter graph with hwmap.
Diffstat (limited to 'doc')
-rw-r--r--doc/avconv.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/avconv.texi b/doc/avconv.texi
index 7bcb787..d8eb448 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -644,6 +644,20 @@ deriving it from the existing device with the name @var{source}.
@item -init_hw_device list
List all hardware device types supported in this build of avconv.
+@item -filter_hw_device @var{name}
+Pass the hardware device called @var{name} to all filters in any filter graph.
+This can be used to set the device to upload to with the @code{hwupload} filter,
+or the device to map to with the @code{hwmap} filter. Other filters may also
+make use of this parameter when they require a hardware device. Note that this
+is typically only required when the input is not already in hardware frames -
+when it is, filters will derive the device they require from the context of the
+frames they receive as input.
+
+This is a global setting, so all filters will receive the same device.
+
+Do not use this option in scripts that should remain functional in future
+avconv versions.
+
@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:
OpenPOWER on IntegriCloud