Skip to content

ges: Add hardware acceleration support

Thibault Saunier requested to merge thiblahute/gstreamer:ges_hw into main
  • ges-utils: Introduce ges_get_videoconvert_factory()
    This function provides a common way for internal GES components to query access
    to a video converter. Support for autovideoconvert is opt-in through the
    GES_USE_AUTOVIDEOCONVERT environment variable.

  • ges: Use new get_videoconvert_factory function
    Instead of hardcoding videoconvert in internal components, the new util function
    can be used.

    With contributions from Fernando Jimenez Moreno fjimenez@igalia.com

  • ges: Use autodeinterlace when GST_USE_AUTOCONVERT is set

  • ges: Use autovideoflip when GST_USE_AUTOCONVERT is set

  • ges: pipeline: Implement context sharing logic
    That is the logic from playbin2

  • ges: Do not plug videoflip when filters are disabled
    And add them after the videoconvert as it is safer

  • ges: Avoid plugging unnecessary converters
    When using glvideomixer we do not need a converter after it as it
    is a bin that already contains a glconvert ! gldownload after the
    glvideomixerelement.

    When using autovideoflip we do not need a converter after it as the
    autovideoflip element is already able to do
    conversion/upload/download, etc...

  • ges: Enhance nleobject names
    Making it simpler to debug

Merge request reports