[vlc-devel] [PATCH 01/11] decoder: use an object to create the decoder device
robux4 at ycbcr.xyz
Tue Nov 12 07:50:21 CET 2019
On 2019-11-09 2:17, Rémi Denis-Courmont wrote:
> Le vendredi 8 novembre 2019, 16:12:42 EET Steve Lhomme a écrit :
>> On 2019-11-08 14:54, Rémi Denis-Courmont wrote:
>>> This works to create a device out of nothing, but presumably the goal is
>>> to create a device out of an encoder, not nothing. So this does in fact
>>> not work.
>> No, the goal is to create an encoder out of a hardware device when
>> possible (unfortunately named "decoder device") and fall back to
>> software if it doesn't work.
> From an architectural point of view, both options are possible, and I don't
> personally mind either way. But people use the (sout-transcode-)venc option,
> and it will get nasty if we need two agreeing options to select the encoder.
This doesn't change anything for the encoder. What it will change is
that the user can use --dec-dev and the encoder might use it if it can
(for example the QSV with D3D11 I did). The encoder and decoder will use
the same device for better performance (the same way we match the
display device with the decoder one).
Maybe at some point we might want to have one GPU do the encoding and
another GPU do the decoding. But that's probably for 5.0 and it will
likely be an option for the encoder to tell it to use another decoder
More information about the vlc-devel