Skip to content

Implemented zero-copy QSV encode

Silas Della Contrada requested to merge feature/gpu-specific-encoders into main

Major updates on AVQt::EncoderQSV:

  • Locks on a source as soon it gets initialized and unlocks after cleanup to prevent issues with multiple frame formats and HW contexts
  • Initializes and cleans up packet sinks on registration/removal if it is running
  • Stores and passes through framerate, because QSV doesn't support VFR, use VAAPI instead for this feature

Minor updates:

  • Added libva to link_libraries in CMake config
  • Player example is using the static library instead of the dynamic one
  • Encoding is now enabled by default in example Player

Merge request reports