Skip to content

vkh264enc: add Vulkan H264 encoder

Stéphane Cerveau requested to merge dabrain34/gstreamer:dab_vkencode_h264 into main

Add an element to encode h264 content using the vulkan API

This merge request follows the initial work to add vulkan elements to encode h26x content.

This MR is now complete and can encode video content in h264 with I, P and B frames.

It has been tested on both Windows and Linux with compatible drivers to the KHR extensions.

Compatible drivers

How to build it

You need latest VulkanSDK from LunarG > 1.3.274:

  1. install it through https://www.lunarg.com/vulkan-sdk/
$ meson setup builddir -Dgst-plugins-bad:vulkan-video=enabled 

$ ninja -C builddir

Test

  • Need Vulkan SDK >= 1.3.274 and suitable IHV drivers.

Active dependencies:

Edited by Stéphane Cerveau

Merge request reports