waylandsink's video variational coordinate

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

waylandsink's video variational coordinate

kevan.lan
I use waylandsink to show video surface,but the surface coordinate is variational.
How can I set  fixed x and y of video surface coordinate?
Reply | Threaded
Open this post in threaded view
|

Re: waylandsink's video variational coordinate

Nicolas Dufresne-5
Le mardi 11 juillet 2017 à 03:05 -0700, kevan.lan a écrit :
> I use waylandsink to show video surface,but the surface coordinate is
> variational.
> How can I set  fixed x and y of video surface coordinate?
>

If you mean placing the surface on the screen, this is not supported by
Wayland, that compositor decide. If instead, you want to place the
video surface on top of your application surface, then use
GstVideoOverlay interface to pass your own surface handle, and then
it's all up to your application to decide.

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

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

Re: waylandsink's video variational coordinate

karimchtx
Hi Nicolas,

I know this post is a bit old but I've a question about waylandsink.
I'm trying to use it as I experience performance issue with qmlglsink on IMX.

I've been able to play a video in a QWidget using waylandsink and GstVideoOverlay.
But as I try to display subtitles (using subtitle_overlay or even textoverlay)...the playback gets slower..many frames are dropped.

Is it an issue related to gstreamer overlay stuff ?

Thanks.

K.