Overlay Video on Wayland

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

Overlay Video on Wayland

Scott Talbert
Hi again,

Is it possible to use video overlays (either with GstPlayer or playbin) on
Wayland surfaces?  And if so, what is the recommended approach?  I saw
there was 'waylandsink' but it doesn't seem to be public.

Thanks,
Scott
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Overlay Video on Wayland

Nicolas Dufresne-5
Le lundi 16 avril 2018 à 16:00 -0400, Scott Talbert a écrit :
> Hi again,
>
> Is it possible to use video overlays (either with GstPlayer or playbin) on
> Wayland surfaces?  And if so, what is the recommended approach?  I saw
> there was 'waylandsink' but it doesn't seem to be public.

waylansink is part of gst-plugins-bad (unstable), and can be used with
GstVideoOverlay interface on wayland. Run "gst-inspect-1.0 waylandsink"
for details. An example application can be found here:

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/waylandsink

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

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Overlay Video on Wayland

Scott Talbert
On Mon, 16 Apr 2018, Nicolas Dufresne wrote:

>> Is it possible to use video overlays (either with GstPlayer or playbin) on
>> Wayland surfaces?  And if so, what is the recommended approach?  I saw
>> there was 'waylandsink' but it doesn't seem to be public.
>
> waylansink is part of gst-plugins-bad (unstable), and can be used with
> GstVideoOverlay interface on wayland. Run "gst-inspect-1.0 waylandsink"
> for details. An example application can be found here:
>
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/waylandsink

The problem, though, is that gst/wayland/wayland.h header is not public.

See
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/wayland/Makefile.am#n26

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

Re: Overlay Video on Wayland

Nicolas Dufresne-5
Le lundi 16 avril 2018 à 23:13 -0400, Scott Talbert a écrit :

> On Mon, 16 Apr 2018, Nicolas Dufresne wrote:
>
> > > Is it possible to use video overlays (either with GstPlayer or playbin) on
> > > Wayland surfaces?  And if so, what is the recommended approach?  I saw
> > > there was 'waylandsink' but it doesn't seem to be public.
> >
> > waylansink is part of gst-plugins-bad (unstable), and can be used with
> > GstVideoOverlay interface on wayland. Run "gst-inspect-1.0 waylandsink"
> > for details. An example application can be found here:
> >
> > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/waylandsink
>
> The problem, though, is that gst/wayland/wayland.h header is not public.
>
> See
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/wayland/Makefile.am#n26
You don't really need that library. The geometry stuff can be ignored,
and then the rest is just helpers around string comparison:

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/wayland/wayland.c

If you really want these helpers, you can copy them in your app.

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

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Overlay Video on Wayland

Scott Talbert
On Tue, 17 Apr 2018, Nicolas Dufresne wrote:

>>>> Is it possible to use video overlays (either with GstPlayer or playbin) on
>>>> Wayland surfaces?  And if so, what is the recommended approach?  I saw
>>>> there was 'waylandsink' but it doesn't seem to be public.
>>>
>>> waylansink is part of gst-plugins-bad (unstable), and can be used with
>>> GstVideoOverlay interface on wayland. Run "gst-inspect-1.0 waylandsink"
>>> for details. An example application can be found here:
>>>
>>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/waylandsink
>>
>> The problem, though, is that gst/wayland/wayland.h header is not public.
>>
>> See
>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/wayland/Makefile.am#n26
>
> You don't really need that library. The geometry stuff can be ignored,
> and then the rest is just helpers around string comparison:
>
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/wayland/wayland.c
>
> If you really want these helpers, you can copy them in your app.

OK.  I'm seeing a few issues with the sample application.

First, these warnings are issued during startup (on Fedora 27):

** (gst-wayland-gtk-demo:11908): WARNING **: Wayland compositor is missing
the ability to scale, video display may not work properly.

** (gst-wayland-gtk-demo:11908): WARNING **: Could not bind to
zwp_linux_dmabuf_v1

On Debian Unstable, I see the first warning only.

Second, the window seems to be drawn in the wrong location.  The window
with the blue background and bouncing ball is shifted down and to the
right about 100 pixels of where it should be.  This doesn't seem to be a
problem with the coordinates passed to
gst_video_overlay_set_render_rectangle().  If I mess with those
coordinates, I can see that the black window changes position, but the
blue window does not.

Thirdly, if I use the GTK+ close button to close the window, gnome-shell
crashes.  While this is probably a gnome-shell bug, it is very annoying.
:)

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

Re: Overlay Video on Wayland

Nicolas Dufresne-5
Le mercredi 18 avril 2018 à 23:13 -0400, Scott Talbert a écrit :

> On Tue, 17 Apr 2018, Nicolas Dufresne wrote:
>
> > > > > Is it possible to use video overlays (either with GstPlayer
> > > > > or playbin) on
> > > > > Wayland surfaces?  And if so, what is the recommended
> > > > > approach?  I saw
> > > > > there was 'waylandsink' but it doesn't seem to be public.
> > > >
> > > > waylansink is part of gst-plugins-bad (unstable), and can be
> > > > used with
> > > > GstVideoOverlay interface on wayland. Run "gst-inspect-1.0
> > > > waylandsink"
> > > > for details. An example application can be found here:
> > > >
> > > > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tes
> > > > ts/examples/waylandsink
> > >
> > > The problem, though, is that gst/wayland/wayland.h header is not
> > > public.
> > >
> > > See
> > > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-l
> > > ibs/gst/wayland/Makefile.am#n26
> >
> > You don't really need that library. The geometry stuff can be
> > ignored,
> > and then the rest is just helpers around string comparison:
> >
> > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-lib
> > s/gst/wayland/wayland.c
> >
> > If you really want these helpers, you can copy them in your app.
>
> OK.  I'm seeing a few issues with the sample application.
>
> First, these warnings are issued during startup (on Fedora 27):
>
> ** (gst-wayland-gtk-demo:11908): WARNING **: Wayland compositor is
> missing
> the ability to scale, video display may not work properly.
Yes, I've added that warning to try and convince people that a GL
compositer should support scaling. waylandsink without that in the
compositor is pretty useless, and that's why waylandsink is pretty
useless on Gnome Shell.

>
> ** (gst-wayland-gtk-demo:11908): WARNING **: Could not bind to
> zwp_linux_dmabuf_v1
>
> On Debian Unstable, I see the first warning only.

I have go the example builds, do you also get that warning in:

  gst-launch-1.0 videotestsrc ! waylandsink

I have Fedora 27, and on Gnome Shell I don't get this warning (maybe
I'll get this problem tomorrow when I update ...).

>
> Second, the window seems to be drawn in the wrong location.  The
> window
> with the blue background and bouncing ball is shifted down and to
> the
> right about 100 pixels of where it should be.  This doesn't seem to
> be a
> problem with the coordinates passed to
> gst_video_overlay_set_render_rectangle().  If I mess with those
> coordinates, I can see that the black window changes position, but
> the
> blue window does not.
>
> Thirdly, if I use the GTK+ close button to close the window, gnome-
> shell
> crashes.  While this is probably a gnome-shell bug, it is very
> annoying.
> :)
>
> Scott
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Overlay Video on Wayland

Scott Talbert
On Thu, 19 Apr 2018, Nicolas Dufresne wrote:

>>>>>> Is it possible to use video overlays (either with GstPlayer
>>>>>> or playbin) on
>>>>>> Wayland surfaces?  And if so, what is the recommended
>>>>>> approach?  I saw
>>>>>> there was 'waylandsink' but it doesn't seem to be public.
>>>>>
>>>>> waylansink is part of gst-plugins-bad (unstable), and can be
>>>>> used with
>>>>> GstVideoOverlay interface on wayland. Run "gst-inspect-1.0
>>>>> waylandsink"
>>>>> for details. An example application can be found here:
>>>>>
>>>>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tes
>>>>> ts/examples/waylandsink
>>>>
>>>> The problem, though, is that gst/wayland/wayland.h header is not
>>>> public.
>>>>
>>>> See
>>>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-l
>>>> ibs/gst/wayland/Makefile.am#n26
>>>
>>> You don't really need that library. The geometry stuff can be
>>> ignored,
>>> and then the rest is just helpers around string comparison:
>>>
>>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-lib
>>> s/gst/wayland/wayland.c
>>>
>>> If you really want these helpers, you can copy them in your app.
>>
>> OK.  I'm seeing a few issues with the sample application.
>>
>> First, these warnings are issued during startup (on Fedora 27):
>>
>> ** (gst-wayland-gtk-demo:11908): WARNING **: Wayland compositor is
>> missing
>> the ability to scale, video display may not work properly.
>
> Yes, I've added that warning to try and convince people that a GL
> compositer should support scaling. waylandsink without that in the
> compositor is pretty useless, and that's why waylandsink is pretty
> useless on Gnome Shell.

So does the fact that I'm on Gnome Shell explain the offset by 100 pixels
problem too?  If waylandsink won't work on Gnome Shell, are there any
other alternatives?

>> ** (gst-wayland-gtk-demo:11908): WARNING **: Could not bind to
>> zwp_linux_dmabuf_v1
>>
>> On Debian Unstable, I see the first warning only.
>
> I have go the example builds, do you also get that warning in:
>
>  gst-launch-1.0 videotestsrc ! waylandsink
>
> I have Fedora 27, and on Gnome Shell I don't get this warning (maybe
> I'll get this problem tomorrow when I update ...).

Yes, I get both warnings when I run that command.

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

Re: Overlay Video on Wayland

Scott Talbert
In reply to this post by Nicolas Dufresne-5
On Thu, 19 Apr 2018, Nicolas Dufresne wrote:

>> Second, the window seems to be drawn in the wrong location.  The
>> window
>> with the blue background and bouncing ball is shifted down and to
>> the
>> right about 100 pixels of where it should be.  This doesn't seem to
>> be a
>> problem with the coordinates passed to
>> gst_video_overlay_set_render_rectangle().  If I mess with those
>> coordinates, I can see that the black window changes position, but
>> the
>> blue window does not.

Do you have any further thoughts on this?  Do you see the same issue with
the blue window being shifted?

Thanks,
Scott
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Overlay Video on Wayland

Nicolas Dufresne-5


Le mar. 8 mai 2018 18:27, Scott Talbert <[hidden email]> a écrit :
On Thu, 19 Apr 2018, Nicolas Dufresne wrote:

>> Second, the window seems to be drawn in the wrong location.  The
>> window
>> with the blue background and bouncing ball is shifted down and to
>> the
>> right about 100 pixels of where it should be.  This doesn't seem to
>> be a
>> problem with the coordinates passed to
>> gst_video_overlay_set_render_rectangle().  If I mess with those
>> coordinates, I can see that the black window changes position, but
>> the
>> blue window does not.

Do you have any further thoughts on this?  Do you see the same issue with
the blue window being shifted?

Sorry I never found the time. Though, a quick test would be to test on Weston and compare.


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

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

Re: Overlay Video on Wayland

Scott Talbert
On Tue, 8 May 2018, Nicolas Dufresne wrote:

>       >> Second, the window seems to be drawn in the wrong location. 
>       The
>       >> window
>       >> with the blue background and bouncing ball is shifted down
>       and to
>       >> the
>       >> right about 100 pixels of where it should be.  This doesn't
>       seem to
>       >> be a
>       >> problem with the coordinates passed to
>       >> gst_video_overlay_set_render_rectangle().  If I mess with
>       those
>       >> coordinates, I can see that the black window changes
>       position, but
>       >> the
>       >> blue window does not.
>
>       Do you have any further thoughts on this?  Do you see the same
>       issue with
>       the blue window being shifted?
>
>
> Sorry I never found the time. Though, a quick test would be to test on
> Weston and compare.
Interesting results.

On Fedora, when I run the demo under Weston, Weston crashes.

On Debian Unstable (in a VM), when I run the demo under Weston, it runs
and the bouncing ball window is NOT offset.  So it seems that offset issue
may be specific to gnome-shell.

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

Re: Overlay Video on Wayland

Scott Talbert
In reply to this post by Nicolas Dufresne-5
On Thu, 19 Apr 2018, Nicolas Dufresne wrote:

>>>>>> Is it possible to use video overlays (either with GstPlayer
>>>>>> or playbin) on
>>>>>> Wayland surfaces?  And if so, what is the recommended
>>>>>> approach?  I saw
>>>>>> there was 'waylandsink' but it doesn't seem to be public.
>>>>>
>>>>> waylansink is part of gst-plugins-bad (unstable), and can be
>>>>> used with
>>>>> GstVideoOverlay interface on wayland. Run "gst-inspect-1.0
>>>>> waylandsink"
>>>>> for details. An example application can be found here:
>>>>>
>>>>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tes
>>>>> ts/examples/waylandsink
>>>>
>>>> The problem, though, is that gst/wayland/wayland.h header is not
>>>> public.
>>>>
>>>> See
>>>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-l
>>>> ibs/gst/wayland/Makefile.am#n26
>>>
>>> You don't really need that library. The geometry stuff can be
>>> ignored,
>>> and then the rest is just helpers around string comparison:
>>>
>>> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-lib
>>> s/gst/wayland/wayland.c
>>>
>>> If you really want these helpers, you can copy them in your app.
>>
>> OK.  I'm seeing a few issues with the sample application.
>>
>> First, these warnings are issued during startup (on Fedora 27):
>>
>> ** (gst-wayland-gtk-demo:11908): WARNING **: Wayland compositor is
>> missing
>> the ability to scale, video display may not work properly.
>
> Yes, I've added that warning to try and convince people that a GL
> compositer should support scaling. waylandsink without that in the
> compositor is pretty useless, and that's why waylandsink is pretty
> useless on Gnome Shell.

Well, the good news is that someone is working on adding wp_viewport
support into mutter.  When testing those patches, waylandsink support
seems to mostly work.

https://gitlab.gnome.org/GNOME/mutter/issues/132


>> ** (gst-wayland-gtk-demo:11908): WARNING **: Could not bind to
>> zwp_linux_dmabuf_v1
>>
>> On Debian Unstable, I see the first warning only.
>
> I have go the example builds, do you also get that warning in:
>
>  gst-launch-1.0 videotestsrc ! waylandsink
>
> I have Fedora 27, and on Gnome Shell I don't get this warning (maybe
> I'll get this problem tomorrow when I update ...).

Still getting this warning, even with Weston, so not sure what to do about
it?

>> Second, the window seems to be drawn in the wrong location.  The
>> window
>> with the blue background and bouncing ball is shifted down and to
>> the
>> right about 100 pixels of where it should be.  This doesn't seem to
>> be a
>> problem with the coordinates passed to
>> gst_video_overlay_set_render_rectangle().  If I mess with those
>> coordinates, I can see that the black window changes position, but
>> the
>> blue window does not.

The offset problem goes away when using the wp_viewport patch, so that is
related to the lack of wp_viewport support.

>> Thirdly, if I use the GTK+ close button to close the window, gnome-
>> shell
>> crashes.  While this is probably a gnome-shell bug, it is very
>> annoying.
>> :)

This has been fixed in mutter 3.28.2.  :)

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

Re: Overlay Video on Wayland

Nicolas Dufresne-5
Le lundi 21 mai 2018 à 21:26 -0400, Scott Talbert a écrit :

> On Thu, 19 Apr 2018, Nicolas Dufresne wrote:
>
> > > > > > > Is it possible to use video overlays (either with GstPlayer
> > > > > > > or playbin) on
> > > > > > > Wayland surfaces?  And if so, what is the recommended
> > > > > > > approach?  I saw
> > > > > > > there was 'waylandsink' but it doesn't seem to be public.
> > > > > >
> > > > > > waylansink is part of gst-plugins-bad (unstable), and can be
> > > > > > used with
> > > > > > GstVideoOverlay interface on wayland. Run "gst-inspect-1.0
> > > > > > waylandsink"
> > > > > > for details. An example application can be found here:
> > > > > >
> > > > > > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tes
> > > > > > ts/examples/waylandsink
> > > > >
> > > > > The problem, though, is that gst/wayland/wayland.h header is not
> > > > > public.
> > > > >
> > > > > See
> > > > > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-l
> > > > > ibs/gst/wayland/Makefile.am#n26
> > > >
> > > > You don't really need that library. The geometry stuff can be
> > > > ignored,
> > > > and then the rest is just helpers around string comparison:
> > > >
> > > > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-lib
> > > > s/gst/wayland/wayland.c
> > > >
> > > > If you really want these helpers, you can copy them in your app.
> > >
> > > OK.  I'm seeing a few issues with the sample application.
> > >
> > > First, these warnings are issued during startup (on Fedora 27):
> > >
> > > ** (gst-wayland-gtk-demo:11908): WARNING **: Wayland compositor is
> > > missing
> > > the ability to scale, video display may not work properly.
> >
> > Yes, I've added that warning to try and convince people that a GL
> > compositer should support scaling. waylandsink without that in the
> > compositor is pretty useless, and that's why waylandsink is pretty
> > useless on Gnome Shell.
>
> Well, the good news is that someone is working on adding wp_viewport
> support into mutter.  When testing those patches, waylandsink support
> seems to mostly work.
>
> https://gitlab.gnome.org/GNOME/mutter/issues/132

Thanks for the heads up, looks promising despite the little issue you
uncovered.

>
>
> > > ** (gst-wayland-gtk-demo:11908): WARNING **: Could not bind to
> > > zwp_linux_dmabuf_v1
> > >
> > > On Debian Unstable, I see the first warning only.
> >
> > I have go the example builds, do you also get that warning in:
> >
> >  gst-launch-1.0 videotestsrc ! waylandsink
> >
> > I have Fedora 27, and on Gnome Shell I don't get this warning (maybe
> > I'll get this problem tomorrow when I update ...).
>
> Still getting this warning, even with Weston, so not sure what to do about
> it?

That is strange, on Fedora 28 here, the shipped GStreamer 1.14, there
is only 1 warning about viewporter, that's it. I know there was some
issue in the wayland protocol files at some point, maybe you have some
miss-match ?

>
> > > Second, the window seems to be drawn in the wrong location.  The
> > > window
> > > with the blue background and bouncing ball is shifted down and to
> > > the
> > > right about 100 pixels of where it should be.  This doesn't seem to
> > > be a
> > > problem with the coordinates passed to
> > > gst_video_overlay_set_render_rectangle().  If I mess with those
> > > coordinates, I can see that the black window changes position, but
> > > the
> > > blue window does not.
>
> The offset problem goes away when using the wp_viewport patch, so that is
> related to the lack of wp_viewport support.
>
> > > Thirdly, if I use the GTK+ close button to close the window, gnome-
> > > shell
> > > crashes.  While this is probably a gnome-shell bug, it is very
> > > annoying.
> > > :)
>
> This has been fixed in mutter 3.28.2.  :)
>
> Scott
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Overlay Video on Wayland

Scott Talbert
On Tue, 22 May 2018, Nicolas Dufresne wrote:

>> > > ** (gst-wayland-gtk-demo:11908): WARNING **: Could not bind to
>> > > zwp_linux_dmabuf_v1
>> > >
>> > > On Debian Unstable, I see the first warning only.
>> >
>> > I have go the example builds, do you also get that warning in:
>> >
>> >  gst-launch-1.0 videotestsrc ! waylandsink
>> >
>> > I have Fedora 27, and on Gnome Shell I don't get this warning (maybe
>> > I'll get this problem tomorrow when I update ...).
>>
>> Still getting this warning, even with Weston, so not sure what to do about
>> it?
>
> That is strange, on Fedora 28 here, the shipped GStreamer 1.14, there
> is only 1 warning about viewporter, that's it. I know there was some
> issue in the wayland protocol files at some point, maybe you have some
> miss-match ?

I'm on F28 also with the shipped GStreamer.  Do you think it could have
something to do with my video hardware or drivers?

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

Re: Overlay Video on Wayland

Nicolas Dufresne-5
Le mardi 22 mai 2018 à 11:35 -0400, Scott Talbert a écrit :

> On Tue, 22 May 2018, Nicolas Dufresne wrote:
>
> > > > > ** (gst-wayland-gtk-demo:11908): WARNING **: Could not bind to
> > > > > zwp_linux_dmabuf_v1
> > > > >
> > > > > On Debian Unstable, I see the first warning only.
> > > >
> > > > I have go the example builds, do you also get that warning in:
> > > >
> > > >  gst-launch-1.0 videotestsrc ! waylandsink
> > > >
> > > > I have Fedora 27, and on Gnome Shell I don't get this warning (maybe
> > > > I'll get this problem tomorrow when I update ...).
> > >
> > > Still getting this warning, even with Weston, so not sure what to do about
> > > it?
> >
> > That is strange, on Fedora 28 here, the shipped GStreamer 1.14, there
> > is only 1 warning about viewporter, that's it. I know there was some
> > issue in the wayland protocol files at some point, maybe you have some
> > miss-match ?
>
> I'm on F28 also with the shipped GStreamer.  Do you think it could have
> something to do with my video hardware or drivers?

Could be, if you mesa driver does not implement that extension at all
(e.g. NVidia proprietary driver, though does that work wayland now ?).

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