Image Interference Problem with qmlglsink on Windows

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


Hello,

I want to use qmlglsink in my app, so I downloaded the latest
gst-plugins-good 1.15.0.1 from git. I created the .vcxproj with "qmake -tp
vc" according to this bugzilla entry: 
https://bugzilla.gnome.org/show_bug.cgi?id=761260
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
gst-inspect:

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 centricular.com>

Plugin Details:
  Name                    qmlgl
  Description             Qt gl plugin
  Filename               
c:\gstreamer\1.0\x86\lib\gstreamer-1.0\gstqmlgl.dll
  Version                  1.13.0.1
  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 (1.15.0.1)
* 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,
Klaus





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list