glimagesink position

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

glimagesink position

2,355件の閲覧回数
ch_chang
Contributor I

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>'

 

 

0 件の賞賛
返信
2 返答(返信)

2,317件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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.

https://gstreamer.freedesktop.org/documentation/video/gstvideooverlay.html?gi-language=c#gst_video_o...

 

Regards

Zhiming

0 件の賞賛
返信

2,310件の閲覧回数
ch_chang
Contributor I

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" 

ch_chang_0-1649225358164.png

 

0 件の賞賛
返信