Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8, 6.9, 6.10
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.