Image Interference Problem with qmlglsink on Windows

Klaus tp454 at
Tue Sep 4 15:57:02 UTC 2018


I want to use qmlglsink in my app, so I downloaded the latest
gst-plugins-good from git. I created the .vcxproj with "qmake -tp
vc" according to this bugzilla entry:
Then I opened the gstqmlgl.vcxproj in Visual Studio and successfully
compiled the plugin. I copied the gstqmlgl.dll to my existing GStreamer
installation (c:\gstreamer\1.0\x86\lib\gstreamer-1.0\) and tried

C:\>gst-inspect-1.0 qmlglsink
Factory Details:
  Rank                     none (0)
  Long-name            Qt Video Sink
  Klass                    Sink/Video
  Description            A video sink that renders to a QQuickItem
  Author                  Matthew Waters <matthew at>

Plugin Details:
  Name                    qmlgl
  Description             Qt gl plugin
  License                  LGPL
  Source module        gst-plugins-bad (qmake)
  Binary package       GStreamer Bad Plug-ins (qmake)
  Origin URL              Unknown package origin
so it seems to be ok so far (although version is 1.13 instead of 1.15 and
gst-plugins-bad instead of gst-plugins-good).

I compiled and run the qmlsink example
(\gst-plugins-good\tests\examples\qt\qmlsink\) with QtCreator and it works
as expected showing the "videotestsrc" image. At this point I didn't notice
any issue, because the "videotestsrc" image is nearly static without real
movement. To play a real video from file I changed the pipeline to "playbin
! glupload ! qmlglsink" and set the "uri" property from playbin to an .mp4
file. And suddenly I saw heavy image interference like flickering, tearing
and some artifacts. The same happend when using other sources like IP
camera. When there is real movement in the image one can see the
interference. If it's a still image it seems to be ok. If you use
"videotestsrc" and set "pattern" to 11 and "horizontal-speed" to 4 the issue
is visible as well.

More info about my versions:
* plugin and examples source code is current version from git (
* my installed GStreamer Runtime is 1.14.1
* OS: Windows 10
* Qt 5.10.1 with VS2015 and QtCreator 4.5.1
* the issue appears on three PC's with different hardware, so it's not a
problem with the graphics card or driver or something.

Any help is welcome,

Sent from:

More information about the gstreamer-devel mailing list