Quoting Mark Thompson (2017-03-19 17:27:27)
> ---
> To follow 1-7 of the hardware device stuff series.
>
>
> doc/avconv.texi | 85
> +++++++++++++++++++++++++++++++++++++++------------------
> 1 file changed, 58 insertions(+), 27 deletions(-)
>
> diff --git a/doc/avconv.texi b/doc/avconv.texi
> index 6f1fbc79b..0f6a011a5 100644
> --- a/doc/avconv.texi
> +++ b/doc/avconv.texi
> @@ -594,6 +594,56 @@ The timestamps must be specified in ascending order.
> When doing stream copy, copy also non-key frames found at the
> beginning.
>
> +@item -init_hw_device
> @var{type}[=@var{name}][:@var{device}[,@var{key=value}...]]
> +Initialise a new hardware device of type @var{type} called @var{name}, using
> the
> +given device parameters.
> +If no name is specified it will receive a default name of the form
> "@var{type}%d".
> +
> +The meaning of @var{device} and the following arguments depends on the
> +device type:
> +@table @option
> +
> +@item cuda
> +@var{device} is the number of the CUDA device.
> +
> +@item dxva2
> +@var{device} is the number of the Direct3D 9 display adapter.
> +
> +@item vaapi
> +@var{device} is either an X11 display name or a DRM render node.
> +If not specified, it will attempt to open the default X11 display
> (@emph{$DISPLAY})
> +and then the first DRM render node (@emph{/dev/dri/renderD128}).
> +
> +@item vdpau
> +@var{device} is an X11 display name.
> +If not specified, it will attempt to open the default X11 display
> (@emph{$DISPLAY}).
> +
> +@item qsv
> +@var{device} selects a value in @samp{MFX_IMPL_*}. Allowed values are:
> +@table @option
> +@item auto
> +@item sw
> +@item hw
> +@item auto_any
> +@item hw_any
> +@item hw2
> +@item hw3
> +@item hw4
> +@end table
> +If not specified, @samp{auto_any} is used.
> +(Note that it may be easier to achieve the desired result for QSV by
> creating the
> +platform-appropriate subdevice (@samp{dxva2} or @samp{vaapi}) and then
> deriving a
> +QSV device from that.)
> +
> +@end table
> +
> +@item -init_hw_device @var{type}[=@var{name}]@@@var{source}
> +Initialise a new hardware device of type @var{type} called @var{name},
> +deriving it from the existing device @var{source}.
Maybe "from the existing device with the name @var{source}" will make it
more clear that you refer to other devices by their names (and not
indices or whatever else).
Otherwise LGTM
--
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel