Image Interference Problem with qmlglsink on Windows

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Image Interference Problem with qmlglsink on Windows

Klaus
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 <[hidden email]>

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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Image Interference Problem with qmlglsink on Windows

Ilya Aleshkov
Hello,


Klaus wrote

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

I have exactly the same issue on my desktop with GTX 1050 Ti. Klaus, do you
have any progress resolving it or some workaround?


Klaus wrote
> * the issue appears on three PC's with different hardware, so it's not a
> problem with the graphics card or driver or something.

I should note that I have one PC where qmlsink works without any visual
artifacts - Microsoft Surface 6 with Intel Core i5-8250U (Intel UHD Graphics
620).
It seems it's still a graphics driver issue.

Thanks,
Ilya




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel