glimagesink showing desktop

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

glimagesink showing desktop

Samuel Hurst
Hi All,


I've recently had to rebuild my machine from scratch, and that includes
building a new version of GStreamer 1.14.0. However, I'm having some
issues with glimagesink on the new install, where instead of showing
decoded video as I'd expect it's showing the top left corner of my desktop.

I'm still using Ubuntu 16.04, and I have VA-API doing hardware
accelerated decoding through the Skylake integrated graphics on my
machine, and if I use vaapisink it displays correctly.

However, I have an app which does graphics overlays using OpenGL, so I
need glimagesink to work. Does anyone have any ideas of what I'm missing
to make glimagesink show the decoded video and not a static image of one
region of my desktop?

I can reproduce this with something as simple as:

gst-launch-1.0 videotestsrc ! glimagesink

I've attached a logfile produced with GST_DEBUG="gl*:5", in case it helps.


Thanks in advance,
-Sam

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

gstreamer-gl.txt.xz (20K) Download Attachment
signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: glimagesink showing desktop

Matthew Waters
I see vaapi mentioned.  Have you tried without using vaapi?

What distro is this? Are you using DRI3?

Cheers
-Matt

On 18/04/18 02:12, Samuel Hurst wrote:

> Hi All,
>
>
> I've recently had to rebuild my machine from scratch, and that includes
> building a new version of GStreamer 1.14.0. However, I'm having some
> issues with glimagesink on the new install, where instead of showing
> decoded video as I'd expect it's showing the top left corner of my desktop.
>
> I'm still using Ubuntu 16.04, and I have VA-API doing hardware
> accelerated decoding through the Skylake integrated graphics on my
> machine, and if I use vaapisink it displays correctly.
>
> However, I have an app which does graphics overlays using OpenGL, so I
> need glimagesink to work. Does anyone have any ideas of what I'm missing
> to make glimagesink show the decoded video and not a static image of one
> region of my desktop?
>
> I can reproduce this with something as simple as:
>
> gst-launch-1.0 videotestsrc ! glimagesink
>
> I've attached a logfile produced with GST_DEBUG="gl*:5", in case it helps.
>
>
> Thanks in advance,
> -Sam

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (499 bytes) Download Attachment