[FFmpeg-devel] [PATCH] AMF: Vulkan initialization support for encoder.

Дмитрий Овчинников ovchinnikov.dmitrii at gmail.com
Tue Jul 16 20:11:51 EEST 2019


>Does Vulkan initialisation work on Windows?
Yes, but only if dx initialisation failed.

>Please add a note in the docs to make it clear that on Linux this only
works on the weird proprietary graphics stack that is rarely used and won't
be installed by default anywhere.  The regular Mesa driver supports encode
through OpenMAX and VAAPI.
>AMFContext1 seems to be a superset of AMFContext - do you actually need
both variables, or can you just have an AMFContext1?
DAMFContext1 inherits/extends AMFContext. In C++ terms pointer to
AMFContext1 could be passed as pointer to AMFContext.
in ‘C’ it is enough to query AMFContext1 just for init Vulkan and release.
So we dont need to store pointer to AMFContext1. I updated the code and
notes in general.texi file and sent a new patch (
https://patchwork.ffmpeg.org/patch/13972/)

>Relatedly, is there any version requirement on this being present?
Currently the only check is for AMF version 1.4.4.1 or greater.
AMFContext1 was added at version 1.4.9.


More information about the ffmpeg-devel mailing list