Hey all, I'm wondering if there is a way to change the video size when using glimagesink. May pipeline is created with "playbin" and internally it uses "qtdemux" and "glimagesink". The video is smaller then my screensize and I wanna make it fullscreen. I found the same question on the mailing list without an answer. Is it even possible ? Thanks, Patrick _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mardi 20 septembre 2016 à 11:23 +0200, Patrick Fü a écrit :
> I'm wondering if there is a way to change the video size when using > glimagesink. > > May pipeline is created with "playbin" and internally it uses > "qtdemux" and "glimagesink". > > The video is smaller then my screensize and I wanna make it > fullscreen. > I found the same question on the mailing list without an answer. > > Is it even possible ? Yes. Through the VideoOverlay interface you pass a "native window", if you resize this window on a supported windowing system, glimagesink will scale the video maintaining aspect ratio. Nicolas _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Patrick Fü
On 20/09/16 19:23, Patrick Fü wrote:
> > > Hey all, > > I'm wondering if there is a way to change the video size when using > glimagesink. > > May pipeline is created with "playbin" and internally it uses > "qtdemux" and "glimagesink". > > The video is smaller then my screensize and I wanna make it fullscreen. > I found the same question on the mailing list without an answer. > > Is it even possible ? using GstVideoOverlay and use your GUI toolkit to fullscreen the window. glimagesink doesn't expose/support fullscreening with the window system. Cheers -Matt > Thanks, > Patrick > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (495 bytes) Download Attachment |
Hi Matthew,
On X11/linux platform, glimagesink will not response to _set_render_rectangle(). It will change the video size following the window system. But on wayland, it does because the _set_render_rectangle() is implemented. Thanks Jared |
Hi Matthew, Hi Jared, thanks for you answers. Gonna see what I can do. cheers, patrick 2016-09-21 3:44 GMT+02:00 jared Hu <[hidden email]>: Hi Matthew, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |