Preferences->Performance. The old enable hardware decode is disabled.
Now the graphics card can be chosen (0 is the first one) that should
be used for encode and/or decode. They needn't be the same!
nVidia decode still not working
nVidia encode is working with driver 396
Vaapi should be working. mesa-va-drivers must be installed for AMD
i965-va-driver must be installed for intel GPUs.
Using one card to decode and one to encode an option with laptops
with an iGPU and a dedicated GPU (dGPU), as an example.
other than vaapi. Encode is already working for nvenc; nvidia driver
396 has to be installed for nvenc to work. On nVidia card turn
accelerated decode off in Preferences->Performance for now
acceleration has to have the card number set or the opening of the
device will fail.
TODO check multiple formats. Right now only the first is checked
which is vaapi.
environment variable HW_EN_DEVICE_SET for enncoding and
HW_DE_DEVICE_SET for decoding. The first card is 0, the second 1
and so on. For now only running on Linux.
the constraints of the GPU is now inside a #if . One can enable it
by setting the constant in line 33 of FFmpegReader.cpp to 1.
Do not enable that part unless you want to fid a way that works as
it also needs the package libva-dev (Ubuntu) to be installed.