Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-137431

Document how to use env QT_GSTREAMER_OVERRIDE_VIDEO_CONVERSION_ELEMENT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8, 6.9, 6.10
    • Multimedia
    • Linux/Yocto

    Description

      The environment variable QT_GSTREAMER_OVERRIDE_VIDEO_CONVERSION_ELEMENT can be used to configure the GStreamer pipeline to use GLMemory for video rendering. On embedded devices that don't support rendering with DMA_BUF memory, this is needed to avoid high CPU load.

      For example on NXP imx8m plus, GLMemory rendering with QMediaPlayer can be obtained by setting

      QT_GSTREAMER_OVERRIDE_VIDEO_CONVERSION_ELEMENT=glupload ! glcolorconvert
      

      , which adds the gstreamer elements glupload and glcolorconvert into the pipeline before Qt'sĀ qgstvideorenderersink.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lars.sutterud Lars Sutterud
            lars.sutterud Lars Sutterud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes