[vlc-devel] [PATCH 1/2] decoder device: allow modules to create a decoder device

Steve Lhomme robux4 at ycbcr.xyz
Mon Oct 28 07:28:54 CET 2019


On 2019-10-26 18:03, Rémi Denis-Courmont wrote:
> Le samedi 26 octobre 2019, 16:59:00 EEST Alexandre Janniaux a écrit :
>> Hi,
>>
>> Thank you for the information (and precision as it is also
>> the same with VAAPI).
>>
>> For my part, the «from window» terminology comes from the
>> fact that decoder device adapts hardware hints for a window
>> when only staying in current VLC concepts. However, it is
>> really either explicit device or connection to display
>> server like X11 or Wayland-based compositor.
> 
> I don't think we should expose VDPAU in transcoding pipeline, at least not
> until/unless it gets window-less bindings. There's no need to go all meta
> here. If you want to transcode on NVIDIA hardware, use NVDEC.
> 
> But anyway, we need a different capability to instantiate VLC decoder devices
> out of "thin air" rather than out of a VLC window.

We can already do --dec-dev=nvdec-device without any window involved 
(same for D3D9/D3D11). If others can work without a window_t they could 
also be adapted (and set their internal data accordingly so the user of 
the device knows what to do with this).


More information about the vlc-devel mailing list