Each time of video playback with glimagesink, the display position on screen changed.
So I add render-rectangle argument, however the x, y variable didn't take effect. the display position still change despite x, y variable.
Environment:
Yocto 5.10.52, xwayland, full-image
i.mx8mm, i.mx8mp <- both has the same problem
Command:
gst-launch-1.0 filesrc location=MY_VIDEO.mp4 ! qtdemux name=d d.video_0 ! queue ! h264parse ! vpudec ! queue ! glimagesink render-rectangle='< x, y, width, height>'
Hi @ch_chang
The “render-rectangle” property realize the interface of gst_video_overlay_set_render_rectangle.You can see it's description,it is used to set video overlay size in display window, the position you want to set is window position of glimagesink.But glimagesink don't have such interface.
Regards
Zhiming
Hi nxf65025
I have a 16:9 display, and I need a video playback at screen right side with 90' degree rotation.
In this case, could you help suggest how to implement this? thank you.
PS: weston shell could be "fullscreen shell" or "desktop shell with 'panel-position=top' property"