gst-gl-window-set-resize-callback on glimagesink on raspberry pi + python ?

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

gst-gl-window-set-resize-callback on glimagesink on raspberry pi + python ?

Stuart Axon
 

Hi all,
   Is gst-gl-window-set-resize-callback available in python, particularly on raspberry pi ?
I couldn't work out how to get it working.

If not, is there another way to get a videos dimensions ?

filesrc
decodebin
glimagesink

S++

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

Re: gst-gl-window-set-resize-callback on glimagesink on raspberry pi + python ?

Matthew Waters
On 02/11/16 00:40, Stuart Axon wrote:
 

Hi all,
   Is gst-gl-window-set-resize-callback available in python, particularly on raspberry pi ?
I couldn't work out how to get it working.

If not, is there another way to get a videos dimensions ?

While it is possible to use this (involving a *lot* of steps), the application is not really meant to know about GstGLWindow and that's not how to get the dimensions of the video, only of the backing window (which may be a different size).

You want to get the caps on glimagesink's sink pad and retrieve the width/height parameters from that.

Cheers
-Matt

filesrc
decodebin
glimagesink

S++


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

signature.asc (495 bytes) Download Attachment